categorical_sample_size {msu}R Documentation

Estimate the sample size for a variable in function of its categories.

Description

Estimate the sample size for a variable in function of its categories.

Usage

categorical_sample_size(categories, increment = 10)

Arguments

categories

A vector containing the number of categories of each variable.

increment

A number as a constant to which the sample size is incremented as a product.

Value

The sample size for a categorical variable based on a ordered permutation heuristic approximation of its categories.


[Package msu version 0.0.1 Index]