1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
\name{RRloc}
\alias{RRloc}
\title{Location and Scale Modification of A Distribution}
\description{
\command{RRloc} modifies location and scale of a distribution.
}
\usage{
RRloc(phi, mu, scale, pow)
}
\arguments{
\item{phi}{distribution \command{\link{RMmodel}}}
\item{mu}{location shift}
\item{scale}{scale modification}
\item{pow}{argument for internal use only} %
}
\value{
\command{\link{RRloc}} returns an object of class \code{\link[=RMmodel-class]{RMmodel}}.
}
\details{
It has the same effect as
\code{\link{RRdistr}(\link{norm}(mu=mu, sd=sd, log=log))}
}
\me
\seealso{
\command{\link{RMmodel}},
\command{\link{RRdistr}},
\command{\link{RRgauss}}.
}
\examples{\dontshow{StartExample()}
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
## empirical density of the distribution 'RRspheric'
model <- RRspheric(balldim=2)
hist(RFrdistr(model, n=1000), 50)
## empirical density of the distribution 'RRspheric', shifted by 3
model <- RRloc(mu=3, RRspheric(balldim=2))
hist(RFrdistr(model, n=1000), 50)
\dontshow{FinalizeExample()}}
\keyword{spatial}
\keyword{models}
|