dtable_guide | R Documentation |
Determine how to describe a data frame
dtable_guide(
data,
elim.set = NULL,
catg.tol = 20,
real.tol = 5,
as.is = FALSE,
no.bnry = FALSE,
reduce.levels = TRUE,
row.id = NULL,
unit.id = NULL
)
data |
a data frame |
elim.set |
names of variables to exclude from description |
catg.tol |
only describe categorical data with no more than this many unique values |
real.tol |
force numeric data with few ( |
as.is |
if TRUE ignore all tolerance parameters |
no.bnry |
if TRUE, there will be no distinction between 'bnry' and
'catg', they will all be 'catg' (default |
reduce.levels |
if |
row.id |
the row identifier, does not really do much at this point |
unit.id |
the unit identifier, this can later provide information on how many unique units there are in a table or subgroups thereof |
a data frame describing each variable in the data set (excluding
elim.set
, id
, and unit.id
). each variable has
typethis decides how other descripteur functions handles the variables
imposed_classthis is the class we impose
original_classwhat the variable was
has_missingis there missing in the data frame for this variable
The return object will also hold some information on id-variables and factorial levels within its attributes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.