remove_xoutlier: Remove X-outliers from data

Description Usage Arguments Details Value

View source: R/remove_xoutlier.R

Description

remove_xoutlier is a wrapper for [predict.ad()] and indexing the data frame to retain values that are not X-outliers.

Usage

1
remove_xoutlier(df, quiet = T, ...)

Arguments

df

The data frame where X-outliers will be removed. This should be training data only.

quiet

Whether to message how many observations were found to be X-outliers. The default is quiet = T.

Details

Additional arguments that may be useful to pass are ignore_col = to specify columns to ignore in building the applicability domain object using [ad()] inside the function.

remove_xoutlier is similar to [remove_ad()]. The latter function is for removing observations outside the applicability domain of the QSAR for testing data. It requires an additional argument ad that specifies the "ad" class object to define the applicability domain of the training data.

Value

A data frame with X-outliers removed.


awqx/qsarr documentation built on Oct. 2, 2021, 7:05 a.m.