Learn R Programming

crmPack (version 2.0.0)

names,Samples-method: The Names of the Sampled Parameters

Description

[Stable]

A method that returns names of the parameters that are sampled.

Usage

# S4 method for Samples
names(x)

Arguments

x

(Samples)
object with samples.

Examples

Run this code
my_samples <- Samples(
  data = list(alpha = 1:5, beta = 15:19),
  options = McmcOptions(burnin = 2, step = 2, samples = 5)
)

names(my_samples)

Run the code above in your browser using DataLab