Skip to content
Prev 301461 / 398503 Next

warning message while plotting taylor diagram

On 07/26/2012 10:27 PM, Henrik Singmann wrote:
Hi Waheed and Henrik,
The problem is that either "obs" or "M3" is a data frame. The first two 
arguments to the function are supposed to be vectors, so perhaps you 
have extracted one element of a data frame using something like this:

M3<-my.data.frame[1]
OR
M3<-my.data.frame["M3"]

which produces a one column data frame. I'll stick a conditional 
"unlist" into the function to prevent this from causing trouble in 
future. Thanks for letting me know.

Jim