Gets the number of sample values (simulations * terms) of an MCMC object.
The default methods returns the product of nsims()
and nterms()
.
nsams(x, ...)
# S3 method for default
nsams(x, ...)
An object.
Other arguments passed to methods.
An integer scalar of the number of samples.