Skip to content
Prev 140026 / 398506 Next

Use of Factors

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, Kenneth (STP)
<Kenneth.Beck at bsci.com> wrote: