Description Usage Arguments Author(s) Examples
Accepts a dataframe and optional list of variables within that dataframe for which to screen the data. The function computes mahalanobis distace and associated chi-square on the screening data and then returns a dataframe that is a subset of the original all.data dataframe based on non-significant chi-square values.
1 | f.screen.outliers(all.data, screening.vars = NULL, p.val = 0.05)
|
all.data |
is the database from which to remove outliers |
screening.vars |
is an optional array of variable names on which the screening should be based. |
p.val |
is the cutoff value of the chi-square distribution to use. default is .05. |
Adam Meade awmeade@ncsu.edu
1 2 3 4 5 6 | ## Not run:
nrow(trees)
new.data <- f.screen.outliers(trees)
nrow(new.data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.