I know this is several years later but...
I ran into the same issue and was able to solve it by verifying the spacing
between variables within original text file. For example, Item1, Item2, and
Item3 had a single space between them while the numbers in each item had 5
spaces between them, resul
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Rodinsky, Dr Harold R.
> Sent: Thursday, March 21, 2013 11:32 AM
> To: 'r-help@r-project.org'
> Subject: Re: [R] Error Message During ANOVA
>
>
I am teaching myself R for use in Psych research. I don't understand the error
message I am getting or how to fix it. Any suggestions will be greatly
appreciated
df1=read.table("fastfood.txt", header=TRUE); df1
>
> c(t(as.matrix(df1)))
>
> r = c(t(as.matrix(df1))) # response data
>
> r
>
f=c("i
Hello,
The first error message says:
> Error in model.frame.default(formula = r ~ tm, drop.unused.levels =
TRUE) : variable lengths differ (found for 'tm')
Please compare the size of 'r' and 'tm'.
Regards,
Pascal
Le 14/02/2013 07:14, Craig O'Connell a écrit :
Dear R-Help,
I'm using an ANO
4 matches
Mail list logo