[R] Lm function: Error in model.frame.default

R. Michael Weylandt michael.weylandt at gmail.com
Tue Oct 25 01:05:55 CEST 2011


Could you dput() the structure of x and y: I'm having trouble
visualizing how your data is set up.

Michael

On Mon, Oct 24, 2011 at 12:07 PM, Julie <julie.novakova at gmail.com> wrote:
> The variable y is made of four columns, each paired to 20, 200, 2000 or 20
> 000.
>> y <- c(rdiktator20, rDiktator200, rDikt2000, rDikt20000)
>
> So I guess the problem is in the fact that I did not specify it correctly,
> is it so? How can I tell R properly that one part of y matches to one part
> of x?
>
> The result I am looking for looks like this in Calc, however, I need to do
> it in R because it can tell me more:
> http://r.789695.n4.nabble.com/file/n3933663/allfour.png
> The y axis shows how big rdiktator20, rDiktator200, rDikt2000 or rDikt20000
> is. The x axis shows the logarithm of 20, 200, 2000 and 20 000.
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Lm-function-Error-in-model-frame-default-tp3933466p3933663.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.
>



More information about the R-help mailing list