Description Usage Arguments Details Value Author(s) References See Also Examples
This routine will generate a lattice plot for the marginal isotropic wavelet variance in the form of an ‘H. F. Smith’ plot; that is, variance versus the average inclusion zone area increasing on the x-axis for the different sampling methods.
The routine assumes the existence of one or more data frames from
hfsMODWT
, which takes an “ssMODWT
” object set
and exports the appropriate data frame—in this case the hfsMODWT
output should
be in the long form.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | hfsPlot(...,
sampMeth = c("Meth.A", "Meth.B"),
conditionOn = c("iso.j", "tau.j", "j"),
units = c("metric", "English"),
showPlot = TRUE,
fileName = "",
ylab = "Isotropic Variance",
xlab = "Average Inclusion Zone Area",
scales = "same",
type = "b",
pch = 19,
as.table = TRUE,
theme = c("plain", "custom", "ggplot", "economist"),
runQuiet = FALSE
)
|
... |
Any number of long-form data frames as generated from
|
sampMeth |
A character vector of sampling method identifiers that will give a label
to each of the data frame objects in ‘...’ that is useful for
grouping. For example, if the first data frame is from fixed-area plot sampling
and the second from critial height sampling, one might use
|
conditionOn |
One of the factor or character columns in the data frame; for columns
|
units |
The appropriate units that match the underlying sampling surface. Please be mindful that no checking is possible for the correct units as there is no connection between the original “sampSurf” objects and the data frames used for input. |
showPlot |
|
fileName |
The file name for a ‘hard copy’; “” for no hard copy file of the plot. |
ylab |
See |
xlab |
See |
scales |
See |
type |
See |
pch |
See |
as.table |
See |
theme |
One of the lattice themes listed in the argument default; see the styles in latticeExtra. |
runQuiet |
|
The sampMeth
argument is helpful for distinguishing between sampling methods if
more than one different method is used in the data frame(s) passed. Simply use a vector
of blank strings if nothing is desired.
A hard copy to a file may be print
ed if hardcopyLattice
is available (it
resides in another of the author's packages and is available on request). Otherwise,
simply print
/plot
the plt
component of the return list to a
trellis.device
as usual for “lattice” objects.
Details of its use are given in the vignette along with examples, which are somewhat lengthy to set up, therefore there are no examples presented below.
A list with...
df: |
The concatenated data frames from “...”. |
plt: |
The “lattice” plot object. |
Jeffrey H. Gove
H. F. Smith. 1938. An empirical law describing heterogeneity in the yields of agricultural crops. Journal of Agricultural Science, 28:1–23
1 2 3 | #
# please see the examples in the vignette.
#
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.