Description Usage Arguments Value Details Examples
Draw a sample from data with elements in a cartesian coordinate system
1 2 3 |
plotdata |
a data frame with a forest plot census data. |
dimx |
numeric vector with two positions minimum and maximum value of the x coordinate. |
dimy |
numeric vector with two positions minimum maximum value of the y coordinate. |
xname |
character string with the name of the x coordinate variable. |
yname |
character string with the name of the y coordinate variable. |
nsample |
numeric value. The number of sample units. |
shape |
a character string. Two shapes are possible: "rectangle" and "circle" |
size |
numeric vector. For ”rectangle” the dimension of x and y sidesand for ”circle” the radius size. |
maxiter |
numeric value indicating the maximum number of trails to sample units without overlaping. |
a data frame with the same columns as plotdata plus a 'sample' representing the sample unit number that the element are in.
Draw sample from elements in a cartesian coordinate system and return the subset of data in the sample.
1 2 3 4 5 | ## Not run:
data(bci7)
plotData <- singleStem(bci7, nsample = 100, shape = "circle", size = 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.