dfSmry | R Documentation |
Brief summary of a data frame, number of unique and missing values.
dfSmry(df)
df |
A data frame to be summarized |
A matrix with a row for each variable (column) in df
and three
columns: no.unique
the number of unique values,
no.entered
the number of rows in df
with non-missing values,
and no.missing
the number of rows in df
with missing values.
mydat <- data.frame(a=c(1, 1, NA, 2, 2), b=as.factor(c("cat", "dog", "frog", "", "dog")), c=c("a", "", "", "a", "b"), stringsAsFactors=FALSE) dfSmry(mydat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.