purturb2D | R Documentation |
2D landmark data(Gaussian likelihood with Isotropic Error Variance) generates pertrubed point from 5 parameter space.
purturb2D(t, tune)
t |
An array containing 5*1 parameters |
tune |
array containing 5*1 tuning value |
"c1","c2" = Location parameter "b" = dilation parameter "theta" =Rotation angle "Sigma" = Isotropic error variation parameter
g, which is a (new) purturbed point from parameter space
## Not run:
NN=10; temp=rep(NA,NN); tempp=rep(1,5);
plot(x = 1,type = "n",xlim = c(0, NN+1), ylim = c(-10, 10),pch = 16,xlab = "steps", ylab = "mean(t)",main = "Purturbed point plot")
abline(h=mean(tempp))
for(k in 1:NN)
{ Sys.sleep(.1)
temp[k]=mean(purturb2D(tempp, rep(11,5)))
points( temp[k]~k,pch = 10,col =k)
Sys.sleep(0)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.