dotplotRegime: Draw a plot of covariate-specific time-varying movements

Description Usage Arguments

View source: R/dotplotRegime.R

Description

Draw a plot of covariate-specific time-varying movements

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
dotplotRegime(
  out,
  hybrid = TRUE,
  start = 1,
  cex = 1,
  smooth.beta = TRUE,
  x.location = c("none", "random", "legend", "default"),
  order.state = 1,
  location.bar = 9,
  distance = 4,
  h = c(255, 330),
  l = c(40, 90),
  text.cex = 1,
  legend.position = "topright",
  pos = 1,
  select = NULL,
  main = "",
  raw = FALSE
)

Arguments

out

output of HMBB

hybrid

If TRUE, DSS results are used for graph. Otherwise, HMBB results are used.

start

Starting value of the time sequence

smooth.beta

If TRUE, probabilistic estimates of hidden states (smooth) are used. Otherwise, discrete state values are used.

x.location

x location of covariate name labels. If random, a random value (between min and max of x) is selected. If legend, it will be displayed in the top-right as a legend. If default, the labels will be shown in the above of the last regime estimates.

distance

Distance of text labels from the maximum value of x. Default is 4.

h

hue value in the HCL color description, has to be in [0, 360]. Default is c(255, 330).

l

luminance value in the HCL color description. Default is c(40, 90).

thin

The thinning interval used in the simulation. The number of MCMC iterations must be divisible by this value.

verbose

A switch which determines whether or not the progress of the sampler is printed to the screen. If verbose is greater than 0 the iteration number, the β vector, and the error variance are printed to the screen every verboseth iteration.

degree.normal

A null model for degree correction. Users can choose "NULL", "eigen" or "Lsym." "NULL" is no degree correction. "eigen" is a principal eigen-matrix consisting of the first eigenvalue and the corresponding eigenvector. " Lsym" is a modularity matrix. Default is "eigen."

UL.Normal

Transformation of sampled U. Users can choose "NULL", "Normal" or "Orthonormal." "NULL" is no normalization. "Normal" is the standard normalization. "Orthonormal" is the Gram-Schmidt orthgonalization. Default is "NULL."

v0

v_0/2 is the shape parameter for the inverse Gamma prior on variance parameters for V. If v0 = NULL, a value is computed from a test run of NetworkStatic.

v1

v_1/2 is the scale parameter for the inverse Gamma prior on variance parameters for V. If v1 = NULL, a value is computed from a test run of NetworkStatic.


soichiroy/BridgeChange documentation built on Feb. 14, 2022, 11:49 p.m.