From: Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
Date: Mon 17 Jun 2002 - 17:23:32 EST
Message-id: <x2it4il66j.fsf@blueberry.kubism.ku.dk>
Kenneth Cabrera <krcabrer@epm.net.co> writes:
> Frithjof Weinert wrote:
>
> > Hi,
> >
> >to get the residuals and coefficients I did the following:
> >
> >kurse <- read.table("kurse.txt" header=T)
> >
> >the data:
> >
> > index bmw mru rwe vow kar sie bas
> >1 159,70 74,18 338,21 89,03 110,30 141,23 178,53 67,97
> >2 160,76 73,46 343,66 89,38 110,30 142,66 180,45 68,30
> >3 162,45 74,18 349,12 91,54 108,54 146,22 183,12 68,85
> >4 162,18 72,74 349,12 92,20 106,43 144,80 181,75 68,52
> >5 161,64 72,98 340,93 91,43 101,87 144,08 181,41 68,30
> >
> Modify the data base "kurse.txt", change "," for ".", R is taking each
> variable
> as a factor (character variable).
>
> Use" ." (dot) for decimal separation, not "," (comma)
...or set dec="," in read.table.
-- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:29 EST