gl_unq: Generate a factor with unequal number of repetitions.

Description Usage Arguments Details Value

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


ggmcmc documentation built on Feb. 10, 2021, 5:10 p.m.