Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gl_unq

Generate a factor with unequal number of repetitions.


Description

Generate a factor with levels of unequal length.

Usage

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

Tools for Analyzing MCMC Simulations from Bayesian Inference

v1.5.1.1
GPL-2
Authors
Xavier Fernández i Marín [aut, cre] (<https://orcid.org/0000-0002-9522-8870>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.