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.
Elektrische auto
Sign in to test your solution.
# 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.