plot.gmci | R Documentation |
Function for visualizing the boundaries of generator matrix confidence / credibility intervals
## S3 method for class 'gmci'
plot(x, mattext, col = c("grey", "red"), main, las = 1, xlab = "To",
ylab = "From", xnames, ynames, cex = 1, fig = 2, opacity_factor, ...)
x |
a generator matrix confidence / credibility interval object |
mattext |
optional: matrix of strings replacing the parameter estimates |
col |
two element vector of basis colors for positive and negative parameter estimate entries |
main |
optional: plot title |
las |
orientation of x and y axis elements |
xlab |
x axis name |
ylab |
y axis name |
xnames |
description of x axis elements |
ynames |
description of y axis elements |
cex |
font size |
fig |
number of significant figures to be plotted |
opacity_factor |
two element vector for specification of opacity for positive and negative parameter entry highlighting (must be greater than zero) |
... |
additional arguments |
no value, plot function
Marius Pfeuffer
print.gmci
, plotM
data(tm_abs)
## Maximum Likelihood Generator Matrix Estimate
gm0=matrix(1,8,8)
diag(gm0)=0
diag(gm0)=-rowSums(gm0)
gm0[8,]=0
gmem=gm(tm_abs,te=1,method="EM",gmguess=gm0)
plot(gmem)
## Confidence Interval
ciem=gmci(gmem,alpha=0.05)
plot(ciem)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.