cast_variables: cast_variables

Description Usage Arguments

Description

Function to cast datasets columns if they have differing types Restricted to specific cases, currently integer and double, and character and factor

Usage

1
2
cast_variables(BASE, COMPARE, ignore_vars = NULL,
  cast_integers = FALSE, cast_factors = FALSE)

Arguments

BASE

base dataset

COMPARE

comparison dataset

ignore_vars

Variables not to be considered for casting

cast_integers

Logical - Whether integers should be cased to double when compared to doubles

cast_factors

Logical - Whether characters should be casted to characters when compared to characters


diffdf documentation built on May 2, 2019, 5:42 a.m.