Do 'str' on your object and you will see that they are 'factors'. May
have gotten that way when you read them in and there was character
data in the column. To convert it back to numeric, do:
cpx_interp$HR <- as.numeric(as.character(cpx_interp$HR))
On Thu, Mar 20, 2008 at 9:26 AM, Beck, Kenne
Relatively new to R, I'm trying to do a relatively simple task. I have
data set that has several variables arranged by SubjID and visit, with
multiple observations for that combination. I do linear regression on
those multiple observations, then generated a set of interpolated values
from the regre
2 matches
Mail list logo