Displaying 1 result from an estimated 1 matches for "term2tabl".
Did you mean:
term2table
2013 Apr 19
2
tables package - error message of "duplicate values"
...a <-
data.frame(a=rep(10,10),b=round(runif(10,10,20)),c=round(runif(10,40,50)))
> a
a b c
1 10 14 44
2 10 17 40
3 10 13 40
4 10 18 40
5 10 11 49
6 10 16 46
7 10 15 43
8 10 19 49
9 10 19 49
10 10 13 45
> tabular((a+1)~(n=1)+Format(dig=0)*(b + c) * (mean + sd),data=a)
Error in term2table(rows[[i]], cols[[j]], data, n) :
Duplicate values: a and b
Is there a way to let the function accept the "apparently" duplicate
values?
Thanks,
Santosh
[[alternative HTML version deleted]]