View source: R/MCMCpostPsample2D.R
MCMCpostPsample2D | R Documentation |
Draws posterior from 5 parameter "Sigma" from Whole Data with pre-shape spaced landmarks
MCMCpostPsample2D(initial, tune, myData, Nsample)
initial |
The start value of parameter sigma for MCMC run |
tune |
Tuning value of MCMC sampler |
myData |
3D array containing 2 dimensional landmark |
Nsample |
Number of MCMC sample desired |
"Sigma" = Isotropic error variation parameter Note that, here we are assuming Isotropy of error variance
matrix containing samples from posterior density of parameter
## Not run:
require(shapes)
data(apes)
myData = apes$x
for(i in 1:dim(myData)[3])
{myData[,,i]=
Morpho::rotonto(myData[,,1],myData[,,i])$yrot}
ape5000=MCMCpostPsample2D(1.5,
rep(0.1,1),myData,5000)
head(ape5000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.