Description Usage Arguments Value See Also Examples
This function draws a stratigraphic plot of key geoarchaeological variables. It assumes you have already got the data from the Google sheet.
1 2 | strat_plot_key_variables(my_data, list_of_variables,
cluster = TRUE, n = 3, ...)
|
my_data |
the data resulting from the
|
list_of_variables |
a list of variables in
|
cluster |
if TRUE, compute a coniss cluster analysis and add the results to the plot |
n |
the number of clusters to identify in the data. If you're plotting with clusters, you should take careful note of what number of groups is indicated by the 'elbow' in the first plot produced by this function. That will be the n value. Default is three. |
a stratigraphic plot
1 2 3 4 5 6 7 8 9 10 11 | my_data <- get_data()
my_date_plot <- plot_dates(my_data)
strat_plot_key_variables(my_data, c('Sample.ID',
'mean.pH',
'mean.EC',
'mean.MS.LF',
'mean.MS.FD',
'mean.Organic',
'mean.CaCO3'),
cluster = TRUE,
n = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.