## S3 method for class 'prevR':
rings(object, N = seq(100, 500, 50), R = Inf,
progression = TRUE)prevR.object with the slot rings completed for each couple (N,R).
Each entry is composed of 3 elements: N, minimum number of observations per ring; R,
maximum radius of rings and estimates, a data frame with the following variables:rings is named, the name of each element is NN_value.RR_value,
for example N300.RInf.
Note 2: r.wpos, r.wn and r.wprev are calculated only if the slot clusters
of object contains weighted data.clusters of object, rings determines
a ring, centred on the cluster. It could be:Nis finite andR=Inf;N=InfandRis finite;NandRare finite.rings selects the smallest
ring containing at least N valid observations.
For rings of equal radius, rings selects all clusters located at a lower
distance than R from the central cluster.
For combination of both, rings
calculates firts the ring with the minimum number of observations and test if its radius is lower
than R or not. If so, the ring is kept, otherwise the ring of maximum radius is calculated.
Different series of rings could be simultaneoulsy calculated by providing different values for N
and R. rings will calculate rings corresponding to each couple (N,R).prevR-class.print(fdhs)
dhs <- rings(fdhs,N=c(100,200,300,400,500))
print(dhs)Run the code above in your browser using DataLab