View source: R/DataUnderstanding.R
skewness | R Documentation |
Skewness
skewness(InputVariable, na.rm = FALSE)
InputVariable |
numerical or logical. Inputvariable has to be a numerical or logical vector. Other inputs are not allowed. NA values are allowed and can be removed using argument 'na.rm' |
na.rm |
logical- Logical value if NA values should be removed. default is 'FALSE', NAs will not be removed and result is NA. Set to 'TRUE' to remove NA values. |
numerical. Returns a single value representing the skewness.
skewness(InputVariable = rnorm(1E7)) # result should be approx. 0 skewness(InputVariable = rlnorm(1E7)) # result should be > 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.