Learn R Programming

universals (version 0.0.1)

nterms: Number of Terms

Description

Gets the number of terms of an MCMC object.

Usage

nterms(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Value

A integer scalar of the number of terms.

See Also

Other MCMC dimensions: nchains(), niters(), npars(), nsams(), nsims()

Examples

Run this code
# NOT RUN {
nterms.foobar <- function(x, ...) {
  NotYetImplemented()
  # replace with code to get nterms for an object of class 'foobar'
}
# }

Run the code above in your browser using DataLab