marginal total in tables

后端 未结 2 639
再見小時候
再見小時候 2021-01-31 16:39

I have a data frame with a number of infections identified from clinical isolates at different dates.

So far I have organised the data into a shape that I want to start

2条回答
  •  后悔当初
    2021-01-31 16:48

    It also works with survey package's svytable().

    addmargins(svytable(formula = ~x1+x2, design = df.w))
    

提交回复
热议问题