I am exploring this weather data in particular te Precip column from the data. I already removed non numeric values like True from there:
wwWeather <- read.csv('SummaryofWeather.csv', sep=',')$Precip
wwWeather <- unlist(Filter(is.numeric,wwWeather))
But i got errors when I want to count quantile from it.
q=quantile(wwWeather,0.90)
I get error:
Error in quantile.default(wwWeather, 0.9) : factors are not allowed
I tried to use solutions from this thread but non of the solutions work...
The outcomes that can help:
> wwWeather
factor(0)
540 Levels: 0 0.254 0.508 0.762 1.016 1.27 1.524 1.778 10.16 10.414 10.668 10.922 100.33 100.584 100.838 101.092 101.346 101.6 101.854 ... T
> class(wwWeather)
[1] "factor"