[R] Error Message During ANOVA

2019-03-21 Thread Sara Ciancitto via R-help
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

Re: [R] Error Message During ANOVA

2013-03-21 Thread Nordlund, Dan (DSHS/RDA)
> -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 > >

Re: [R] Error Message During ANOVA

2013-03-21 Thread Rodinsky, Dr Harold R.
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

Re: [R] Error Message During ANOVA

2013-02-13 Thread Pascal Oettli
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