Skip to content
Back to formatted view

Raw Message

Message-ID: <CALxf2c2nPh8_kqE3GX8VSvOVECbpaaSHB+xBbqPRzMxBWknQYg@mail.gmail.com>
Date: 2012-11-16T22:06:20Z
From: Sonia Amin
Subject: about lm
In-Reply-To: <50A6B5F4.6060605@sapo.pt>

Here the rest of the message:
changing the storage mode of an object 'factor' is not allowed
More: Message opinion:
In model.response (mf, "numeric"):
   using type = "numeric" with a factor response type will be ignored

I have attached the file ven.csv

2012/11/16 Rui Barradas <ruipbarradas at sapo.pt>

> Hello,
>
> The error message is not at all clear. Have you copied and pasted it?
> Can you post a data example? Using ?dput, for instance.
>
> dput(head(mat, 30))  # paste the output of this in a post
>
> Rui Barradas
>
> Em 16-11-2012 21:44, Sonia Amin escreveu:
>
>> 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<https://stat.ethz.ch/mailman/listinfo/r-help>
>> PLEASE do read the posting guide http://www.R-project.org/**
>> posting-guide.html <http://www.R-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>