Description Usage Arguments Examples
Redefines prop.table to deal with NA values
1 | sprop.table(x, margin = NULL, na.rm = TRUE)
|
x |
an array |
margin |
index number (1 for rows, etc.) |
na.rm |
logical. Should missing values be removed? Passed to sum() |
1 2 3 | ##m <- matrix(1:4,2)
##surveyor:::sprop.table(m,1)
##surveyor:::sprop.table(m,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.