rescale(X, s)
"ppp"
),
or a window (object of class "owin"
).s
times the old units.affine
.rescale.ppp
)
and windows (rescale.owin
). The spatial coordinates in the dataset X
will be re-expressed
in terms of a new unit of length that is s
times the current
unit of length given in X
.
For example if X
is a dataset giving coordinates in metres,
then rescale(X,1000)
will divide the coordinate values by 1000 to obtain coordinates in
kilometres, and the unit name will be changed from "metres"
to "1000 metres"
.
unitname
,
rescale.ppp
,
rescale.owin
,
affine
,
rotate
,
shift