traceplot.nmadasfit: Traceplot

Description Usage Arguments Value Author(s) Examples

View source: R/traceplot.R

Description

Trace plot using ggplot2.

Usage

1
2
traceplot.nmadasfit(x, pars = c("MU"), colourset = "mix-red-brightblue",
  ...)

Arguments

x

An nmadas object from fit.

...

additional options. See array for more details.

Value

A ggplot trace plot of the parameters of the models mean structure.

Author(s)

Victoria N Nyaga

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Not run: 
data(demodata)

frank <- nmadasmodel()

fit1 <- fit(
        nma.model = frank,
        S.ID='study',
		   T.ID = 'Test',
		   tp = 'TP',
		   tn = 'TN',
		   fp = 'FP',
		   fn = 'FN',
            data = demodata,
            iter = 6000,
            warmup = 2000,
            thin = 5,
            seed = 3)

traceplot(fit1)

## End(Not run)

VNyaga/NMADAS documentation built on May 6, 2019, 11:20 a.m.