Skip to contents

Index variables, iterations, chains, and draws.

Usage

# S3 method for class 'mcpfit'
niterations(object, prior = FALSE, ...)

# S3 method for class 'mcpfit'
nchains(object, prior = FALSE, ...)

Arguments

object

An mcpfit object.

prior

TRUE/FALSE. Plot using prior samples? Useful for mcp(..., sample = "both")

...

Currently ignored.

Functions

  • niterations(mcpfit): Total number of iterations of an mcpfit object.

  • nchains(mcpfit): Number of chains of an mcpfit object.

Examples

niterations(demo_fit)
#> [1] 3000
nchains(demo_fit, prior = TRUE)
#> [1] 3