Learn R Programming

creditmodel (version 1.0)

checking_data: Checking Data

Description

checking_data cheking dat before processing.

Usage

checking_data(dat = NULL, target = NULL, occur_time = NULL,
  note = FALSE, pos_flag = NULL)

Arguments

dat

A data.frame with independent variables and target variable.

target

The name of target variable. Default is NULL.

occur_time

The name of the variable that represents the time at which each observation takes place.

note

Logical.Outputs info.Default is TRUE.

pos_flag

The value of positive class of target variable, default: "1".

Value

data.frame

Examples

Run this code
# NOT RUN {
dat = checking_data(dat = UCICreditCard, target = "default.payment.next.month")
# }

Run the code above in your browser using DataLab