Learn R Programming

VWPre (version 1.2.4)

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)

Arguments

data

A data table object output by bin_prop.

Value

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

Examples

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

Run the code above in your browser using DataLab