Generate a factor with unequal number of repetitions.

Share:

Description

Generate a factor with levels of unequal length.

Usage

1
gl_unq(n, k, labels = 1:n)

Arguments

n

number of levels

k

number of repetitions

labels

optional vector of labels

Details

Internal function to generate a factor with levels of unequal length, used by ggs_histogram.

Value

A factor

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.