Sample-class.Rd
A predx
class for samples from a distribution.
Sample(x) is.Sample(x) # S4 method for Sample predx_to_json(x) # S4 method for Sample as.data.frame(x, row.names = NULL, optional = FALSE, ...) # S4 method for Sample transform_predx(x, to_class, lwr, ...)
The samples must be for a numeric variable.
In JSON and CSV representations, the samples are named sample
.
predx
A vector of samples.