ezr.replace: Replace Values in a Dataframe

Description Usage Arguments

Description

Replace values in a dataframe. H2odataframes not yet supported. This should be used for general and universal replacements. It should not be used for imputing values. If you wish to use a mean/median/mode replacement function, check out ezr.impute

Usage

1
2
3
ezr.replace(dataset, existing_value, replacement_value,
  comparison_sign = "equal", use_fields = NULL,
  exclude_fields = NULL)

Arguments

dataset

Dataframe

existing_value

The existing value.

replacement_value

The replacement value.

comparison_sign

Equal, greater_than, less_than, are valid values

fields

Default is to check and replace in every column.


jmp1989/easyr documentation built on May 20, 2019, 7:25 a.m.