adaptedData {fairadapt} | R Documentation |
Convenience function for returning adapted data
Description
Convenience function for returning adapted data
Usage
adaptedData(x, train = TRUE)
## S3 method for class 'fairadapt'
adaptedData(x, train = TRUE)
## S3 method for class 'fairadaptBoot'
adaptedData(x, train = TRUE)
Arguments
x |
Object of class |
train |
A logical indicating whether train data should be returned.
Defaults to |
Value
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.
[Package fairadapt version 0.2.7 Index]