Displaying 1 result from an estimated 1 matches for "ominv".
Did you mean:
minv
2003 Jan 16
1
problem with as.data.frame.table
...split the data frame
> group <- split(cpy.tradart$diaclass, list(cpy.tradart[, c("ObjektID",
"diaclass")])) #
>
and then sapply
> test <- sapply( group, function(x) sum(length(x)))
>
> # This looks good
> test[1:5]
AX.Grb.O.bigdia S.1.bigdia S.1.ominv.bigdia S.10.bigdia
S.11.bigdia
6 3 3 11
5
>
> # But not each diaclass is represented in each ObjektID, because
> length(test)
[1] 313
> # is smaller than 3*107
and I cannot split up the names of each element of t...