Warning!
You are viewing this exercise in a course that you are not a member of. You won't appear on your teacher's scoresheets until you register.
Warning! It seems that you are using Dodona within another webpage, so not everything may work properly. Let your teacher know so that he can solve the problem by adjusting a setting in the learning environment. In the meantime, you can click this link to open Dodona in a new window.
Sign in to test your solution.
The deadline for this exercise is at 10:15, which is less than 5 minutes away.
The deadline for this exercise was at 2023-09-27 10:15. You can still submit, but your submissions may not be accounted for.
# Gegevens ophalen en enkele manipulaties
data <- read.csv("https://raw.githubusercontent.com/sit-2021-int214/002-EVs---One-Electric-Vehicle-Dataset---Smaller/main/ElectricCar_Clean.csv",
header = TRUE,
colClasses = c("NULL", rep("character", 2), rep("numeric", 5), rep("NULL", 5), rep("numeric", 2) ))
names(data) <- tolower(names(data))
data$model <- paste(data$brand, data$model)
data <- subset(data, select = -c(brand))
data <- subset(data, fastcharge != 0)
rownames(data) <- seq_len(nrow(data))
# Schrijf je antwoorden hieronder.
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.