zoo_ca | R Documentation |
Correspondance Analysis of the NISP data by periods
zoo_ca( df = NA, num_column = "num", site_column = "site", period_column = "period", percBOTA_column = "percBOTA", percOC_column = "percOC", percSUDO_column = "percSUDO", typSite_column = "type.site", lorder_period = NA, typsit_symb = NA, CA1_interval = c(-1, 2), CA2_interval = c(-1, 1), colVar = "black", shpVar = 17, pt_siz = 1.5, export.plot = T, dirOut = paste0(system.file(package = "zoowork"), "/results/"), ca.name = "ca.png", plot.width = 19.5, plot.height = 22.2, plot.dpi = 300, verbose = TRUE )
df |
a dataframe |
num_column |
the column name of assemblage numbers |
site_column |
the column name of assemblage sites |
period_column |
the column name of assemblage periods |
percBOTA_column |
the column name of assemblage percents of BOTA |
percOC_column |
the column name of assemblage percents of OC |
percSUDO_column |
the column name of assemblage percents of SUDO |
typSite_column |
the column name of assemblage site types |
lorder_period |
a vector with the ordered periods |
typsit_symb |
a dataframe with the symbology |
CA1_interval |
the min and max intervals for the F1 axis |
CA2_interval |
the min and max intervals for the F2 axis |
colVar |
the color of the variables |
shpVar |
the shape of the variables |
pt_siz |
the size of the symbols |
export.plot |
if TRUE, save the plot |
ca.name |
the name of the output plot if saved |
plot.width, plot.height, plot.dpi |
the dimensions and resolution of the plot if saved |
verbose |
if TRUE (default): verbose |
a gglot with the different CA by period
df <- zoo_read() lorder_period <- zoo_order_period(df) typsit_symb <- zoo_legends(worksheets = c("sites_types")) zoo_ca(df = df, lorder_period = lorder_period, typsit_symb = typsit_symb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.