Displaying 1 result from an estimated 1 matches for "cbc1".
Did you mean:
cbc
2010 Apr 07
0
Help with manipulation of svytotal output
...is. Is it possible to do this in R. In this example I
would like to insert a row between rows 5 and 6, 10 and 11, 15 and 16,
20 and 21 and put in the sum of the rows 1-5, 6-10, 11-15, 16-20 and to
delete row 21 which has NA in it. I would then like to delete all the
headings.
svyby(~agestrata, ~cbc1+fruitveg4, dudleyls1rake.male,na.rm=TRUE,
svytotal, keep.var=FALSE, keep.names=FALSE)
cbc1
fruitveg4 statistic.agestrata18-24 statistic.agestrata25-34
statistic.agestrata35-44 statistic.agestrata45-54
1 Quintile 1 - Most deprived At least 5...