I apologize for my constant questions but I am new to R and trying to
gain an appreciation for its capabilities. The following task is easy
in Excel and I was hoping somebody could give me a quick explanation
for how it can be acheived in R so I can avoid having to switch
between the two
On 7/8/2006 3:44 PM, justin rapp wrote:
I apologize for my constant questions but I am new to R and trying to
gain an appreciation for its capabilities. The following task is easy
in Excel and I was hoping somebody could give me a quick explanation
for how it can be acheived in R so I can
When I attempt to use the mysummary function, I obtain the following error:
Error in var(x) : missing observations in cov/cor
When I use:
by(data.logistic,data.logistic$Ydrafted,summary)
I receive no errors. I cut and pasted your mysummary function directly
into my r console. Should I have
On 7/8/2006 4:55 PM, justin rapp wrote:
When I attempt to use the mysummary function, I obtain the following error:
Error in var(x) : missing observations in cov/cor
var() gives that error if it sees NA values. You can get it to remove
them by using
var(x, na.rm = TRUE)
instead of var(x).