plotCoefs | R Documentation |
Draw a graph of (averaged) coefficients estimations with their standard, deviations ordered by mean values. Note that the drawing does not correspond to a function; it is just a convenient way to visualize the estimated parameters.
plotCoefs(mr, params, ...)
mr |
List of parameters matrices |
params |
True value of the parameters matrix |
... |
Additional graphical parameters |
## Not run: beta <- matrix(c(1,-2,3,1),ncol=2) mr <- multiRun(...) #see bootstrap example in ?multiRun #mr[[i]] is a list of estimated parameters matrices mu <- normalize(beta) for (i in 1:2) mr[[i]] <- alignMatrices(res[[i]], ref=mu, ls_mode="exact") params <- rbind( c(.5,.5), beta, c(0,0) ) #p, beta, b stacked in a matrix plotCoefs(mr[[1]], params) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.