View source: R/dssRemoveOutliers.R
dssRemoveOutliers | R Documentation |
Remove outliers from all or some of the columns of a data frame and replace them with NAs.
dssRemoveOutliers(
x,
collist = NULL,
sigmas = NULL,
minval = NULL,
maxval = NULL,
async = TRUE,
datasources = NULL
)
x |
a character name of the data frame |
collist |
a vector of columns. They must exist in x and be numeric. If null, all the *numeric* columns from x will be used. |
sigmas |
an integer, how many standard deviations will be kept on either side of the mean? If NULL, minval and maxval will be taken into account. |
minval |
either a number or a vector of numbers of length equal to collist (or to the number of numeric columns in x if the latter is null). It sets the lower cutoff, values smaller than this will be replaced with NAs. Ignored if sigmas is set. |
maxval |
either a number or a vector of numbers of length equal to collist (or to the number of numeric columns in x if the latter is null). It sets the higher cutoff, values larger than this will be replaced with NAs. Ignored if sigmas is set. |
async |
a logical, see datashield.aggregate |
datasources |
a list of opal objects obtained after logging into the opal servers (see datashield.login) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.