Displaying 3 results from an estimated 3 matches for "areaf".
Did you mean:
area
2007 Aug 10
3
having problems with factor()
...30 2
4 360 3
5 126 1
6 280 2
7 260 2
8 280 2
9 280 2
10 260 2
.......
180 450 4
181 90 1
182 120 1
183 440 4
184 210 2
185 330 3
186 210 2
187 100 1
188 0 0
I want to convert the area column values to factors, to do an anova. However, if I use:
df$areaf <- factor(df$area, labels=c("0","I","II","III","IV","V","VI","VII"))
it gives the following message:
Error in factor(df$area, labels = c("0", "I", "II", "III", "IV"...
2007 Aug 10
0
Odp: having problems with factor()
...2
> 10 260 2
> .......
> 180 450 4
> 181 90 1
> 182 120 1
> 183 440 4
> 184 210 2
> 185 330 3
> 186 210 2
> 187 100 1
> 188 0 0
>
> I want to convert the area column values to factors, to do an anova.
However, if I use:
>
> df$areaf <- factor(df$area,
labels=c("0","I","II","III","IV","V","VI","VII"))
>
> it gives the following message:
>
Hm, maybe some of the values are missing
> num<-sample(1:3, 10, replace=T)
> num
[1] 1...
2007 Aug 11
0
DOE and interaction plot general question
...> 10 260 2
> .......
> 180 450 4
> 181 90 1
> 182 120 1
> 183 440 4
> 184 210 2
> 185 330 3
> 186 210 2
> 187 100 1
> 188 0 0
>
> I want to convert the area column values to factors, to do an anova.
> However, if I use:
>
> df$areaf <- factor(df$area,
> labels=c("0","I","II","III","IV","V","VI","VII"))
>
> it gives the following message:
>
> Error in factor(df$area, labels = c("0", "I", "II", "II...