Learn R Programming

prevR (version 2.8)

prevR-class: Objects of class prevR.

Description

Class used by the package prevR

Arguments

encoding

utf8

Objects from the Class

Objects of this class could be created by the function as.prevR.

See Also

as.prevR, is.prevR, changeproj,prevR-method, rings,prevR-method, print,prevR-method, plot,prevR-method, summary,prevR-method, kde,prevR-method, krige,prevR-method, idw,prevR-method, export,prevR-method.

Examples

Run this code
showClass("prevR")

col <- c(id = "cluster", 
         x = "x",
         y="y",
         n="n",
         pos = "pos",
         c.type = "residence",
         wn="weighted.n",
         wpos="weighted.pos"
        )
dhs <- as.prevR(fdhs.clusters,col, fdhs.boundary)
str(dhs)
print(dhs)

dhs <- rings(fdhs,N=c(100,300,500))
	str(dhs)
	print(dhs)

Run the code above in your browser using DataLab