powered by
verify that a data.frame has the same columns with the same types.
validate_pn_data(x, y, var.pred = "")
a data.frame with criteria to compare.
a data.frame to be comprared.
a vector with the names of variables to be excluded from the comparison.
# NOT RUN { validate_pn_data(iris, cars) validate_pn_data(iris, iris) x <- iris x$Species <- as.numeric(x$Species) validate_pn_data(iris, x) # }
Run the code above in your browser using DataLab