properties | R Documentation |
properties - used to check a data.frame before standardization. The maximum and minimum are constrained to four decimal places. It allows for columns of NAs and for Posix columns. In case one uses tibbles this function now checks and internally changes the indat into a strict data.frame. This will not influence the external use but it does allow the properties to be obtained.
properties(indat, dimout = FALSE)
indat |
the data.frame containing the data fields to be used in the subsequent standardization. It tabulates the number of NAs and the number of unique values for each variable and finds the minimum and maximum of the numeric variables |
dimout |
determines whether or noth the dimensions of the data.frame are printed to the screen or not; defaults to FALSE |
a data.frame with the rows being each variable from the input input data.frame and the columns being the number of NAs, the number of unique values, and minimum and maximum (where possible).
## Not run:
data(abdat)
properties(abdat$fish)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.