balanced_sample: balanced sample

Description Usage Arguments Value Author(s)

Description

Balanced Sample

Usage

1
balanced_sample(df, target, n = 100)

Arguments

df

dataframe

target

name of outcome variable

n

number of samples

Value

dataframe with balanced sample by outcome

Author(s)

Elpidio Filho, elpidio@ufv.br


elpidiofilho/labgeo documentation built on May 14, 2019, 9:35 a.m.