Skip to content
Prev 93 / 585 Next

NA:s in stat.table (library Epi)

The key to this buried in the exclude= argument to factor() !
See the help page for factor:

?factor

This will work:

stat.table(factor(Sea,exclude=NULL), list(count(), percent(Sea)),
data=temp)

Best,
Bendix