| as.data.frame,confrontation-method {validate} | R Documentation |
Confrontation object to data frame
## S4 method for signature 'confrontation' as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
Object to coerce |
row.names |
ignored |
optional |
ignored |
... |
arguments passed to other methods |
A data.frame with columns
key Where relevant, and only if key was specified in the call to confront
name Name of the rule
value Value after evaluation
expression evaluated expression
cf <- check_that(women, height > 0, sd(weight) > 0) as.data.frame(cf) # add id-column women$id <- letters[1:15] i <- indicator(mw = mean(weight), ratio = weight/height) as.data.frame(confront(women, i, key="id"))