R programming
Error while running pls do needful
code-
weather.spread <- spread(weather, key = element, value = value)
weather.spread error- object 'element' not found
weather.spread error- object 'element' not found
1 answers ( 0 marked as helpful)
Hi Viraj,
thanks for reaching out!
element is a column in the weather data, so you need to load the weather.csv file first. Then you can go ahead and create the weather.spread
Best,
Eli