| rshared | R Documentation | 
Generating data from Shared Component model
rshared(
  alpha_1 = 0,
  alpha_2 = 0,
  beta_1 = c(0.1, -0.1),
  beta_2 = c(0.1, -0.1),
  delta = 1,
  tau_1 = 1,
  tau_2 = 1,
  tau_s = 1,
  confounding = "none",
  neigh,
  scale = TRUE
)
alpha_1 | 
 intercept for disease 1.  | 
alpha_2 | 
 intercept for disease 2.  | 
beta_1 | 
 regression parameter(s) for disease 1.  | 
beta_2 | 
 regression parameter(s) for disease 2.  | 
delta | 
 dependence on the shared component.  | 
tau_1 | 
 precision of ICAR specific to disease 1.  | 
tau_2 | 
 precision of ICAR specific to disease 2.  | 
tau_s | 
 precision for ICAR specific to the shared component.  | 
confounding | 
 "none", "linear", "quadratic" or "cubic".  | 
neigh | 
 neighborhood structure. A   | 
scale | 
 scale covariates? TRUE or FALSE.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.