step2D | R Documentation |
2D landmark data(Gaussian likelihood with Isotropic Error Variance) Accepts new parameter 5*1 point with probability alpha
step2D(t, tune, myData, choice)
t |
An array containing 5*1 parameters |
tune |
array containing 5*1 tuning value |
myData |
3D array containing 2 dimensional landmark |
choice |
Which to compare with 1st object or mean obj |
"c1","c2" = Location parameter "b" = dilation parameter "theta" =Rotation angle "Sigma" = Isotropic error variation parameter
Returns the 5*1 parameter point
## Not run:
require(shapes)
data(apes)
myData = apes$x
tt=rep(1,5)
for(i in 1:3){
s=step2D(tt,rep(0.1,5),myData,10)
print(s)
tt=purturb2D(tt, rep(0.1,5))
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.