extract_time.stanfit: Extract the time elapsed when fitting the model.

Description Usage Arguments Value

Description

Extract the time elapsed when fitting the model.

Usage

1
2
## S3 method for class 'stanfit'
extract_time(fit)

Arguments

fit

An object returned by either draw_samples or optimizing.

Value

For objects fit via draw_samples, a named numeric matrix with two columns (warm-up and sample time) and one row per chain. For objects fit via optimizing, the system time elapsed.


luisdamiano/BayesHMM documentation built on May 20, 2019, 2:59 p.m.