Displaying 4 results from an estimated 4 matches for "parasleep".
2005 Mar 21
2
NaN
Dear R
What does NaN mean?
I recently did a correlation on a batch of data for some reason it didn't
like one column
cor(sleep,use="complete.obs")
BodyWt BrainWt SlowSleep ParaSleep TotalSleep
BodyWt 1.00000000 0.95584875 -0.3936373 -0.07488845 -0.3428373
BrainWt 0.95584875 1.00000000 -0.3867947 -0.07427740 -0.3370815
SlowSleep -0.39363729 -0.38679474 1.0000000 0.51824287 0.9676730
ParaSleep -0.07488845 -0.07427740 0.5182429 1.00000000 0.7171864
TotalSle...
2005 Mar 16
2
(no subject)
Dear R
I'm trying to do a correlation matrix for some variables I have.
Unfortunately there are some NA entries for some of the variables
I tried the following
cor(sleep[c("logbw", "logbrw", "SlowSleep", "ParaSleep", "loglife",
"loggest")])
but it told me
Error in cor(sleep[c("logbw", "logbrw", "SlowSleep", "ParaSleep", "loglife",
:
missing observations in cov/cor
How can I get R to conduct a correlation matrix for this data...
2005 Mar 21
2
Highlighting points in a scatter plot matrix
Dear R
I recently did a scatterplot matrix using the following command
pairs(sleep[c("SlowSleep", "ParaSleep", "logbw", "logbrw", "loglife",
"loggest")],col=1+as.integer(ParaSleep > 5.5 | SlowSleep > 15.7))
this highlighted outlying points for some of the x,y plots that I needed to
identify. Unfortunately this highlights all the x,y plots some for which
t...
2005 Mar 17
0
(no subject)
...no subject)
>
>
> Dear R
> I'm trying to do a correlation matrix for some variables I have.
> Unfortunately there are some NA entries for some of the variables
> I tried the following
>
> cor(sleep[c("logbw", "logbrw", "SlowSleep", "ParaSleep", "loglife",
> "loggest")])
>
> but it told me
> Error in cor(sleep[c("logbw", "logbrw", "SlowSleep",
> "ParaSleep", "loglife",
> :
> missing observations in cov/cor
>
> How can I get R...