latscale
computes the scaling parameter $u$ such
that the prediction coefficient of error is equal to a given value.
latscale(x,A,shape,CE.n,upper,maxiter=100,tol=.Machine$double.eps^0.25, lower=.Machine$double.eps ^ 0.5,L=3,only.root=TRUE)
FigLat
object. The
vector lattice x@vlat
must be unit.uniroot
. Default: .Machine$double.eps ^ 0.5
.uniroot
.uniroot
.uniroot
. Default: .Machine$double.eps^0.25
.TRUE
.only.root
is TRUE
, the function returns the numeric
value of the scaling parameter $u$.
Else, the function returns a list with four components: scale
the numeric value of $u$, CE
the coefficient of error
computed for $u$, iter
the number of iterations used,
prec
an approximate estimated precision for $u$.
latscale(FigLat(2,RectLat2(),PointPattern(rep(0,2))),A=1,shape=5,CE.n=0.05,upper=2,only.root=FALSE)
Run the code above in your browser using DataLab