adaptedData | R Documentation |
Convenience function for returning adapted data
adaptedData(x, train = TRUE)
## S3 method for class 'fairadapt'
adaptedData(x, train = TRUE)
## S3 method for class 'fairadaptBoot'
adaptedData(x, train = TRUE)
x |
Object of class |
train |
A logical indicating whether train data should be returned.
Defaults to |
Either a data.frame
when called on an fairadapt
object, or a list
of data.frame
s with the adapted data of length n.boot
, when called on a
fairadaptBoot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.