Displaying 1 result from an estimated 1 matches for "edref".
Did you mean:
deref
2009 Nov 24
1
keep empty subsets using aggregate
Dear all,
I am struggling with a small problem. By using aggregate, the empty subsets
are removed. I need each empty subset to be 0. Any suggestions will be
appreciated.
Code:
edref = aggregate(rep(1,times=dim(eds)[1]),list(eds[,11], eds[,7],
eds[,27]), sum)
Thanks in advance,
Betty
[[alternative HTML version deleted]]