Displaying 3 results from an estimated 3 matches for "tradart".
Did you mean:
radar
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...
2003 Jan 09
0
aggregate() nlevels()
Dear all,
I try to calculate the number of occurring levels, per ObjektID, of
cpy.busk$TradArt,
but this line returns the TOTAL number of levels occurring in
cpy.busk$TradArt for each ObjektID.
This was difficult to say in English! Did you get it?
Is there any function for doing what I want. I have tried searching the
archives without success.
buskartant<- aggregate(list(buskartant =...
2003 Jan 10
0
Thanks: Re: count levels per factor level
...actor level
> >
> > Dear all,
> >
> > I would be really happy for help with the following because I will
> treat
> > many columns the same way.
> >
> > nlevels per ObjektID is what I want, but nlevels returns all levels
> > occurring in cpy.busk$TradArt:
> >
> > buskartant<- aggregate(list(trash = cpy.busk$TradArt), list(ObjektID
> =
> > cpy.busk$ObjektID), nlevels)
> >
> > But as you can see I use it below anyway. I could use any function
> instaed
> > of nlevels beacuse now I just want the ObjektID...