runjags.printmethods: Print methods for runjags helper classes

Description Usage Arguments References See Also

Description

Print methods for a number of classes that are associated with runjags objects, such as model, data and initial values files etc.

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## S3 method for class 'failedjags'
print(x, linenumbers = runjags.getOption("linenumbers"),
  ...)

## S3 method for class 'runjagsmodel'
print(x,
  linenumbers = runjags.getOption("linenumbers"), ...)

## S3 method for class 'runjagsdata'
print(x, linenumbers = runjags.getOption("linenumbers"),
  ...)

## S3 method for class 'runjagsinits'
print(x,
  linenumbers = runjags.getOption("linenumbers"), ...)

## S3 method for class 'runjagsoutput'
print(x,
  linenumbers = runjags.getOption("linenumbers"), ...)

## S3 method for class 'rjagsoutput'
print(x, ...)

## S3 method for class 'crosscorrstats'
print(x, vars = NA, digits = 5, ...)

## S3 method for class 'mcsestats'
print(x, vars = NA, digits = 5, ...)

## S3 method for class 'gelmanwithtarget'
print(x, vars = NA, digits = 3, ...)

## S3 method for class 'dicstats'
print(x, digits = 3, ...)

## S3 method for class 'runjagsbginfo'
print(x, ...)

## S3 method for class 'runjagsstudy'
print(x, ...)

## S3 method for class 'runjagsstudy'
summary(object, ...)

## S3 method for class 'runjagsstudy'
plot(x, ...)

Arguments

x

the object to be printed or converted.

linenumbers

option to display line numbers alongside model, data and initial values output (this may be helpful for debugging). Defualt uses the option set in runjags.options.

...

other arguments which are passed to the default print method for some methods but ignored (with/without a warning) for others

vars

an optional character vector of variable names. If supplied, only variable names in the object supplied with a partial match to anything in 'vars' will be used. Note that regular expressions are not allowed, but the caret (^) token can be used to specify the match at the start of a variable name, and a quoted vars will be matched exactly. Default NA meaning all variables available are returned.

digits

the number of digits to display for printed numerical output.

object

the object to be summarised.

References

Matthew J. Denwood (2016). runjags: An R Package Providing Interface Utilities, Model Templates, Parallel Computing Methods and Additional Distributions for MCMC Models in JAGS. Journal of Statistical Software, 71(9), 1-25. doi:10.18637/jss.v071.i09

See Also

runjags-class for print and plot methods associated with the main runjags class


runjags documentation built on March 26, 2020, 9:24 p.m.