ctsem (version 3.3.11)

ctStanTIpredMarginal: Plot marginal relationships between covariates and parameters for a ctStanFit object.

Description

Plot marginal relationships between covariates and parameters for a ctStanFit object.

Usage

ctStanTIpredMarginal(fit, tipred, pars, matrices = TRUE, plot = TRUE)

Arguments

fit

ctStanFit object.

tipred

character vector representing which tipreds to use.

pars

Character vector of either parameter names, or if matrices=TRUE, system matrices with optional indices -- e.g, 'DRIFT' or 'DIFFUSION[2,1]'.

matrices

Logical, see pars argument.

plot

Logical, whether to plot.

Value

If plot=TRUE, nothing, otherwise an array that can be used with ctPlotArray.

Examples

Run this code
# NOT RUN {
if(w32chk()){#'
ctStanTIpredMarginal(ctstantestfit,pars=c('CINT'),
  matrices=TRUE, tipred=c('TI1'))
}
# }

Run the code above in your browser using DataLab