> The function is lm(), not 1m().
Eric Berger is correct (except for the extra parentheses), but it is worth
pointing out that variable names do not begin with digits. (You can use
backticks, assign, & other features to create such names (e.g. to write the
Orwellian assignment `2 + 2` <- 5L), but they are non-standard and you need
special syntax to use them.) Maybe the font makes some characters hard to
distinguish, but a vertical line at the start of a standard name must be
lower-case 'l' or upper-case 'I', not '1' or a pipe symbol. A circle or oval
must be 'o' or 'O', not the digit '0'. (Digits after the first character are
standard.)
Regards,
Jorgen Harmse.
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
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.