[R] Error message after following Appendix A R-intro
Pascal Oettli
kridox at ymail.com
Thu Oct 17 03:27:36 CEST 2013
Hello,
The command you have to use is "lm", not "1m".
Regards,
Pascal
On 17 October 2013 08:03, timscharlton <tcharlton at aquafirma.com.au> wrote:
> I am new to R and tried to go through the commands shown at App. A of
> "R-intro" (p.78).
>
> I get the following error message.
>
>> fm<-1m(y~x,data=dummy)
> Error: unexpected symbol in "fm<-1m"
>
> I suspect it might be related to the tilda. All the commands in R-intro for
> the tilda show it in a superscript postion. From my keyboard I only have the
> option as shown above.
>
> Any help would be much appreciated.
>
> Tim
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Error-message-after-following-Appendix-A-R-intro-tp4678394.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Pascal Oettli
Project Scientist
JAMSTEC
Yokohama, Japan
More information about the R-help
mailing list