Description Usage Arguments Details Value Examples
View source: R/mcmccode_2D_A.R
Draws posterior from 8 parameters "c1","c2", "b", "theta", "Sigma_0", "Sigma_1", "Sigma_2", "delta"
1 | mcmccode_2D_A(myData, choice, Nlandmark, tune, Nsample)
|
myData |
3D array containing 2 dimensional landmark |
choice |
Which to compare with 1st object or mean obj |
Nlandmark |
How many landmarks are there for each object? (usually nrow(myData,,1)) |
tune |
Tuning value of MCMC sampler |
Nsample |
Number of MCMC sample desired |
"c1","c2" = Location parameter #' "b" = dilation parameter "theta" =Rotation angle "Sigma_k" = Anisotropic error variation parameter (k=0,1,2) Note that, here we are assuming Isotropy of error variance
matrix containing samples from posterior density of parameter
1 2 3 4 5 6 7 | ## Not run:
require(shapes)
data(apes)
myData = apes$x
ape_ress_10000=mcmccode_2D_A(apes$x,10,nrow(myData[,,1]), tune=1,10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.