Method summary for objects of class prevR: shows a summary of the variables of the object.

# S4 method for prevR
summary(object, probs = c(0, 0.1, 0.25, 0.5, 0.75, 0.8, 0.9, 0.95, 0.99, 1))

Arguments

object

object of class prevR.

probs

vector of probabilities with values in [0,1] for computing quantiles of the rings radii (see examples).

See also

Examples

summary(fdhs)
#> Object of class 'prevR'
#> SLOT CLUSTERS
#>        x                 y                n              pos         c.type   
#>  Min.   :-5.3775   Min.   : 4.803   Min.   : 8.00   Min.   :0.00   Rural:230  
#>  1st Qu.:-1.7925   1st Qu.: 6.375   1st Qu.:17.00   1st Qu.:0.00   Urban:171  
#>  Median :-0.7650   Median : 7.455   Median :20.00   Median :2.00              
#>  Mean   :-0.6605   Mean   : 8.647   Mean   :19.95   Mean   :2.02              
#>  3rd Qu.: 0.1590   3rd Qu.:11.205   3rd Qu.:23.00   3rd Qu.:3.00              
#>  Max.   : 3.6850   Max.   :14.123   Max.   :31.00   Max.   :9.00              
#>        wn             wpos            prev            wprev       
#>  Min.   :18.58   Min.   :0.000   Min.   : 0.000   Min.   : 0.000  
#>  1st Qu.:19.84   1st Qu.:0.000   1st Qu.: 0.000   1st Qu.: 0.000  
#>  Median :20.04   Median :1.544   Median : 7.692   Median : 7.692  
#>  Mean   :19.95   Mean   :2.027   Mean   :10.143   Mean   :10.143  
#>  3rd Qu.:20.12   3rd Qu.:3.166   3rd Qu.:15.789   3rd Qu.:15.789  
#>  Max.   :21.76   Max.   :8.806   Max.   :43.750   Max.   :43.750  
if (FALSE) {
dhs <- rings(fdhs, N = c(100, 300, 500))
summary(dhs)
summary(dhs, c(0, 0.25, 0.5, 0.75, 1))
}