Hi, I run the command sapply to calculate the extreme upper probability that is similar to the video, but the console reveals a list dataset with 0 length, not numeric data. As a result, it could not display the map in the end.
How to overcome this matter?
> summary(exc1)
Length Class Mode
0 list list
> exc1.cutoff <- c(0, 0.8, 0.9, 0.95, 1)
> cat.exc1<- cut(unlist(exc1),breaks=exc1.cutoff,include.lowest=TRUE)
Error in cut.default(unlist(exc1), breaks = exc1.cutoff, include.lowest = TRUE) :
‘x’ must be numeric
Author
Posts
Viewing 0 reply threads
You must be logged in to reply to this topic. Login here