Displaying 3 results from an estimated 3 matches for "bodywt".
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.5182...
2009 Feb 03
0
lm function
...een reading some webpages with
information about the notation in the "lm" function, but havent understand
exactly what does the ":" do. Can some one give me an explenation of the
models below so I can replicate the results in other program.
#common intercept
mod2<-lm(TS~log(BodyWt)+log(BodyWt):factor(D),data=sleep2)
#paralell lines
mod3<-lm(TS~factor(D)+log(BodyWt)-1,data=sleep2)
#general
mod4<-lm(TS~factor(D)+log(BodyWt):factor(D)-1,data=sleep2)
TS is the dependent variable, log(bodyWt) is a covariate and D is either 1
or 2, depending in the case.
Thanks
--
View th...
2002 May 21
6
Point labels
Hello,
Is there an option I can easily set to put labels next to the points in a
simple plot?
The closest I got to it was to use the option pch, but this replaces the
point symbol with the character specified, and it is not what I want.
Thanks
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read