Description Usage Arguments Details Value Author(s) See Also Examples
A very simple little routine to generate dbh class limits and the midpoint of the range for each class.
1 2 3 4 5 6 7 8 |
dbh.low |
The lower midpoint dbh. |
dbh.up |
The upper midpoint dbh. |
dbh.width |
The DBH class width (should be integer) for all classes, except possibly the first. |
forceIntegerWidth |
TRUE: dbh class widths must be integer; FALSE: can be real. |
classNames |
a vector of length 3 for the labels of the data frame returned; always in the form lower, mid and upper. |
adjustLowest |
NULL, NA, or <=0 means no adjustment; other positive means to subtract this amount from the lower bound of the smallest class. |
runQuiet |
TRUE: no feedback; FALSE: some feedback. |
... |
Arguments to be passed on or gobbled up. |
There's really not much too this. I just put it into a package because I end up re-inventing it so much over the year and find it handy to now have to call upon.
A data frame with the lower, mid, and upper limts for all diameter classes as request.
J.H.G.
1 2 3 4 5 6 | dbhClassLimits()
## Not run:
dbhClassLimits(1,10,3.2) # warning and error
## End(Not run)
dbhClassLimits(3.2/2,10,3.2, forceIntegerWidth=FALSE) # no warning or error
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.