describe | R Documentation |
Return data derived from the data. For each type of stype vector, a reasonable set of default summary statistics will be provided based on the data type that is provided as an input. For example, if the data is continuous then statistics like the mean, variance, and various quantiles will be provided, whereas for a nominal variable the counts of the various levels are provided (among other information). Custom summary statistics can be appended to the base statistics by providing a list of additional functions as an input.
describe(x, g = NULL, w = NULL, .descriptors, ...) ## S4 method for signature 'describable,maybeGroup,maybeWeight,maybeDescriptor' describe(x, g = NULL, w = NULL, .descriptors, ...) ## S4 method for signature 'simpleStype,maybeGroup,maybeWeight,maybeDescriptor' describe(x, g = NULL, w = NULL, .descriptors, ...) ## S4 method for signature 'tbl_df,missing,missing,maybeDescriptor' describe(x, g = NULL, w = NULL, .descriptors, ...) ## S4 method for signature 'v_rcensored,maybeGroup,maybeWeight,maybeDescriptor' describe(x, g = NULL, w = NULL, .descriptors, ...)
x |
a vector a values |
g |
a vector a groupings (optional) |
w |
a vector of weights (optional) |
.descriptors |
an optional list of functions. Each function should have
a signature of the form |
... |
additional arguments passed on to the functions in the list
provided by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.