IVCalc2 {CollapseLevels} | R Documentation |

## IVCalc2

### Description

This function displays the Information Values of all the attributes in the data set

### Usage

```
IVCalc2(dset, resp = "y", bins = 10, adjFactor = 0.5)
```

### Arguments

`dset` |
The data frame containing the data set |

`resp` |
A character respresenting the name of the binary outcome variable The binary outcome variable may be a factor with two levels or an integer (or numeric ) with two unique values |

`bins` |
A number denoting the number of bins.Default value is 10 |

`adjFactor` |
A number or a decimal denoting what is to be added to the number of responses (binary outcome variable is 1 ) or to the number of non responses (binary outcome variable is 0) if either is zero for any level of the attribute |

### Value

A data frame containing the Information Values for every attribute

### Examples

```
# Load the German_Credit data set supplied with this package
data("German_Credit")
d<-data.frame()
# Call the function as follows
d<-IVCalc2(German_Credit,resp="Good_Bad",bins=10)
# Information Value for all the attributes in the German_Credit data
d
```

[Package

*CollapseLevels*version 0.3.0 Index]