Learn R Programming

biogram (version 1.3)

distr_crit: Compute criterion distribution

Description

Computes criterion distribution for feature, target under null hypothesis

Usage

distr_crit(target, feature, criterion = "ig")

Arguments

target
{0,1}-valued target vector. See Details.
feature
{0,1}-valued feature vector. See Details.
criterion
criterion used for calculations of distribution. See calc_criterion for the list of avaible criteria.

Value

An object of class criterion_distribution.

Details

both target and feature vectors may contain only 0 and 1.

See Also

calc_criterion.

Examples

Run this code
target_feature <- create_feature_target(10, 375, 15, 600) 
distr_crit(target = target_feature[,1], feature = target_feature[,2])

Run the code above in your browser using DataLab