CorrelationParameters | R Documentation |
Class: Correlation parameters Describes an event in the simulation
Class: Correlation parameters Describes an event in the simulation
new()
initialise correlation parameters
CorrelationParameters$new(parameters)
parameters
model parameters
inter_round_rho()
Add rho between rounds
CorrelationParameters$inter_round_rho(int, rho)
int
string representing the intervention to update
rho
value between 0 and 1 representing the correlation between rounds of the intervention
inter_intervention_rho()
Add rho between interventions
CorrelationParameters$inter_intervention_rho(int_1, int_2, rho)
int_1
string representing the first intervention
int_2
string representing the second intervention (intechangable with int_1)
rho
value between -1 and 1 representing the correlation between rounds of the intervention
sigma()
Standard deviation of each intervention between rounds
CorrelationParameters$sigma()
mvnorm()
multivariate norm draws for these parameters
CorrelationParameters$mvnorm()
clone()
The objects of this class are cloneable with this method.
CorrelationParameters$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.