getBadRate: Extract bad rate value for each band of variable.

Description Usage Arguments Value Examples

View source: R/getBadRate.R

Description

Extract bad rate value for each band of variable.

Usage

1
getBadRate(yVar, xVar)

Arguments

yVar

A vector of logical class, dependent variable

xVar

A vector of factor class, independent variable

Value

A vector with bad rate value for each band of variable

Examples

1
2
data(lendclub)
getBadRate(lendclub$loan_status, lendclub$home_ownership)

wojciechoblak/varbinq documentation built on May 4, 2019, 9:46 a.m.