gl_unq: Generate a factor with unequal number of repetitions.

Description Usage Arguments Details Value

View source: R/functions.R

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 May 30, 2017, 2:38 a.m.

Search within the ggmcmc package
Search all R packages, documentation and source code