cast_variables: cast_variables

Description Usage Arguments

View source: R/cast_variables.R

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
3
4
5
6
7
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 March 26, 2020, 6:30 p.m.