Skip to content
Back to formatted view

Raw Message

Message-ID: <6E8D8DFDE5FA5D4ABCB8508389D1BF88D7D360@SRVEXCHMBX.precheza.cz>
Date: 2012-11-19T06:54:28Z
From: PIKAL Petr
Subject: about lm
In-Reply-To: <CALxf2c19eadrr7O7Kt+OFdR2_8hhk+3q3=kvMqbPP0NfYK4ctQ@mail.gmail.com>

Hi

Values ve or su came as factors during the input. Probably some mismatch in decimal point, nonumeric value somewhere, thousands separator or something else.

At least str(mat) can help you (and us) what is the problem.

Regards
Petr

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Sonia Amin
> Sent: Friday, November 16, 2012 10:44 PM
> To: r-help at r-project.org
> Subject: [R] about lm
> 
> Rui and Berend thank you for your help
> before posting this mail, I change the name of my data and it becomes
> "mat" and I tried with this line:
>    lm (ve~ su, data = mat)
> I got this message:
> Lm.fit error in (x, y, offset = offset = singular.ok singular.ok ...)
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.