dgo_fit-methods: 'print' method for 'dgo_fit-class' objects

Description Usage Arguments Value Examples

Description

print method for dgo_fit-class objects

get_elapsed_time: extract chain run times from dgo_fit-class objects

summary method for dgo_fit-class objects

summarize method for dgo_fit-class objects

as.data.frame method for dgo_fit-class objects

rhats: extract split R-hats from dgo_fit-class objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## S4 method for signature 'dgo_fit'
show(object)

## S4 method for signature 'dgo_fit'
print(x, ...)

print.dgo_fit(x, ...)

## S4 method for signature 'dgo_fit'
get_elapsed_time(object, ...)

## S4 method for signature 'dgo_fit'
summary(object, ..., verbose = FALSE)

## S4 method for signature 'dgo_fit'
get_posterior_mean(object, pars = "theta_bar", ...)

summarize(x, ...)

## S4 method for signature 'dgo_fit'
summarize(x, pars = "theta_bar", funs = c("mean", "sd",
  "median", "q_025", "q_975"))

## S3 method for class 'dgo_fit'
as.data.frame(x, ..., pars = "theta_bar",
  keep.rownames = FALSE)

rhats(x, ...)

## S4 method for signature 'dgo_fit'
rhats(x, pars = "theta_bar")

Arguments

object

A dgo_fit-class object

x

A dgo_fit-class object

...

Further arguments to stanfit-class methods.

verbose

Whether to show the full output from the rstan method.

pars

Parameter name(s)

funs

Quoted names of summary functions. 'q_025' is accepted as shorthand for 'function(x) quantile(x, .025)', and similarly 'q_975'.

keep.rownames

Whether to retain original parameter names with numeric indexes, as output from RStan.

Value

A table giving split R-hats for model parameters

Examples

1
2
3
4
5
6
7

jamesdunham/dgirt documentation built on May 18, 2019, 11:19 a.m.