regressoR (version 1.1.8)

validate_pn_data: validate_pn_data

Description

verify that a data.frame has the same columns with the same types.

Usage

validate_pn_data(x, y, var.pred = "")

Arguments

x

a data.frame with criteria to compare.

y

a data.frame to be comprared.

var.pred

a vector with the names of variables to be excluded from the comparison.

Examples

Run this code
# 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 DataCamp Workspace