Description Usage Arguments Value Other Functions Required Author(s) Examples
This function summarizes the sites selected for a survey design by producing contingency tables containing the cross-tabluation of number of sites for survey design variables and, optionally, for auxiliary variables.
1 |
spsample |
An object of class SpatialDesign produced by either the grts or irs functions that contains survey design information and additional attribute (auxiliary) variables. |
auxvar |
Vector containing the names of columns in the data slot of the |
A list containing two components named DesignSum and AuxVarSum. DesignSum is a list of contingency tables containing the cross-tabulation of number of sites for the following combinations of survey design variables:
multidensity category (mdcaty) and stratum
stratum and panel
mdcaty, panel, and stratum
AuxVarSum is a list of contingency tables containing the cross-tabulation of number of sites for each auxiliary variable and the design variables mdcaty, panel, and stratum.
In addition the output list plus labeling information is printed to the console.
vecprint
takes an input vector and outputs a character string with line breaks inserted
Tom Kincaid Kincaid.Tom@epa.gov
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
design <- list(
Stratum1=list(panel=c(PanelOne=50), seltype="Equal", over=10),
Stratum2=list(panel=c(PanelOne=50, PanelTwo=50), seltype="Unequal",
caty.n=c(CatyOne=25, CatyTwo=25, CatyThree=25, CatyFour=25), over=75))
samp <- grts(design=design, DesignID="Test.Site", type.frame="area",
src.frame="shapefile", in.shape="shapefile", stratum="stratum",
mdcaty="mdcaty", shapefile=TRUE, out.shape="sample.shp")
dsgnsum(samp, auxvar=c("ecoregion", "state"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.