Description Usage Arguments Value Examples
View source: R/manifold1Dplus.R
Raises a matrix to a power.
1 | matpower(a,alpha)
|
a |
An n \times n matrix |
alpha |
The power which to raise the matrix to. |
ai |
The matrix raised to the desired power |
1 2 3 4 5 6 7 8 9 | ## Not run: library(envlpaster)
data(simdata30nodes)
data <- simdata30nodes.asterdata
nnode <- length(vars)
xnew <- as.matrix(simdata30nodes[,c(1:nnode)])
m1 <- aster(xnew, root, pred, fam, modmat)
avar <- m1$fisher
matpower(a = avar, alpha = -1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.