describe.factor {prettyR} | R Documentation |
Describes a factor variable.
describe.factor(x,varname="",horizontal=FALSE,decr.order=TRUE)
x |
A factor. |
varname |
A name for the variable. ‘describe’ always passes the name. |
horizontal |
Whether to display the results across the page (TRUE) or down the page (FALSE). |
decr.order |
Whether to order the rows by decreasing frequency. |
‘describe.factor’ displays the name of the factor, a table of its values, the modal value of the factor and the number of valid (not NA) values.
nil
Jim Lemon