Prun2D | R Documentation |
2D landmark data in Pre Shape Space (Gaussian likelihood with Isotropic Error Variance) Accepts new parameter 5*1 point with probability alpha "Sigma" = Isotropic error variation parameter
Prun2D(t, tune, myData, Nsample)
t |
An array containing 1 parameters |
tune |
array containing 1 tuning value |
myData |
3D array containing 2 dimensional landmark |
Nsample |
number of MCMC sample to generated |
Returns a large matrix containing the actual samples from posterior of 1 parameter point
## 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}
r=Prun2D(runif(1, 0.1,1),rep(0.01,1),
myData, 5000)
head(r); dim(r)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.