Description Usage Arguments Value Author(s) Examples
Plot each of the stability of causal path and edge including the threshold of stability and model complexity.
1 2 |
listOfFronts |
|
threshold |
threshold of stability selection. The default is 0.6. |
stableCausal |
|
stableCausal_l1 |
|
stableEdge |
|
longitudinal |
|
Plot of causal path and edge stability for every pair of variables, including plots of all edge stabilites and all cauasl path stabilities.
Ridho Rahmadi r.rahmadi@cs.ru.nl
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | the_data <- crossdata6V
numSubset <- 1
num_iteration <- 5
num_pop <- 10
mut_rate <- 0.075
cross_rate <- 0.85
longi <- FALSE
num_time <- 1
the_co <- "covariance"
#assummed that variable 5 does not cause variables 1, 2, and 3
cons_matrix <- matrix(c(5, 1, 5, 2, 5, 3), 3, 2, byrow=TRUE)
th <- 0.1
to_plot <- FALSE
result <- stableSpec(theData=the_data, nSubset=numSubset,
iteration=num_iteration,
nPop=num_pop, mutRate=mut_rate, crossRate=cross_rate,
longitudinal=longi, numTime=num_time,
co=the_co, consMatrix=cons_matrix, threshold=th, toPlot=to_plot)
plotStability(listOfFronts=result$listOfFronts, threshold=th,
stableCausal=result$causalStab,
stableCausal_l1=result$causalStab_l1,
stableEdge=result$edgeStab,
longitudinal=longi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.