Displaying 1 result from an estimated 1 matches for "middia".
Did you mean:
midia
2003 Jan 16
1
problem with as.data.frame.table
Dear all,
I think that what I want is an as.data.frame.table-object, but see error
message below.
I have a data frame with one tree per row, diaclass tells if it is a small,
mid or large tree
> cpy.tradart[1:5, ]
ObjektID diaclass
1 AX.Grb.1 bigdia
2 AX.Grb.1 middia
3 AX.Grb.1 middia
4 AX.Grb.1 smalldia
5 AX.Grb.1 middia
>
I want a data frame telling no of trees per diameter class, per ObjektID
There are 107 ObjektID
> nlevels(cpy.tradart$ObjektID)
[1] 107
and 3 diaclass levels
> levels(cpy.tradart$diaclass)
[1] "bigdia" "m...