set_dummy: A function for rapid creation of an outlier catch dummy...

View source: R/set_dummy.R

set_dummyR Documentation

A function for rapid creation of an outlier catch dummy variable

Description

This function allows you to quickly create a dummy variable for controlling outliers

Usage

set_dummy(model = model1, sd = 1)

Arguments

model

Input data. It's just name the model that you want the dummy for.

sd

Controls the cut-off value for the dummy variable that is being generated. Can be a non-integer like 1.5. Defaults to 1.

Examples

set_dummy(model1) ## use the object assignment operator ' <- ' to include the dummy into your dataset
set_dummy()

benetheking/maRketingscience documentation built on May 17, 2022, 5:57 a.m.