Learn R Programming

VWPre (version 1.2.5)

check_samples_per_bin: Check the number of samples in each bin

Description

check_samples_per_bin determines the number of samples in each bin produced by bin_prop. This function may be helpful for determining the obligatory parameter `ObsPerBin` which is input to transform_to_elogit.

Usage

check_samples_per_bin(data)

Value

A printed summary of the number of samples in each bin.

Arguments

data

A data table object output by bin_prop.

Examples

Run this code
if (FALSE) {
library(VWPre)
# Determine the number of samples per bin...
check_samples_per_bin(dat)
}

Run the code above in your browser using DataLab