Skip to content
Prev 157276 / 398506 Next

Odp: Regression and data types

Hi

r-help-bounces at r-project.org napsal dne 26.09.2008 14:17:59:
try

str(X2)

it is probably character vector or factor, so you need to transfer it to 
numeric.

see ?as.numeric and beware of factor properties (if X2 is factor)

Regards
Petr
London E1 8HZ
http://www.hermes.co.uk/email_terms.htm
directly
sustained
http://www.R-project.org/posting-guide.html