Description Usage Arguments Value Note Author(s) Examples
Takes a given sample ID and converts temperature data of water profiles over time from long format into a matrix. This is most often useful for plotting using plot_column().
1 | make_temp_matrix(sampleID, field_data)
|
sampleID |
A regular expression used to select a group of samples |
field_data |
A dataset of temperature profiles in long format. Column names must be the same as the metadata file provided with this package |
Returns matrix of temperature data with depth in rows and date in columns
This is mainly used for generating contour plots. In general, long format is easier to work with. In the included metadata file, each temperature measurement is recorded twice, once as epilimnion and once as hypolimnion.
Alexandra Linz <amlinz16@gmail.com>
1 2 3 | data(metadata)
temp <- make_temp_matrix("TBE.....07", metadata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.