thetaAB2TotalAndFracB.array | R Documentation |
Converts an Jx2xI array between (thetaA,thetaB) and (total,fracB) formats.
## S3 method for class 'array' thetaAB2TotalAndFracB(data, ..., verbose=FALSE)
data |
An Jx2xI |
... |
Not used. |
verbose |
See |
Returns an Jx2xI numeric
array.
# Load example (thetaA,thetaB) signals path <- system.file("exData", package="calmate"); theta <- loadObject("thetaAB,100x2x40.Rbin", path=path); data <- thetaAB2TotalAndFracB(theta); str(data); theta2 <- totalAndFracB2ThetaAB(data); str(theta2); stopifnot(all.equal(theta2, theta));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.