zoo_isotops | R Documentation |
Compare two isotopic variations (eg O, Sr) on a two y-axis plots
zoo_isotops( dataDir = paste0(system.file(package = "zoowork"), "/extdata/"), dataFile = "C_O_Sr_etno3.txt", img.title = "Sheep and goat", iso.names = c("O", "Sr"), iso.colors = c("turquoise", "turquoise4"), iso.by.y = c(5, 2e-04), x.by = 5, stat.ci = TRUE, img.format = ".pdf", img.layout = c("grid", "align"), img.dim = list(grid = c(18, 16), align = c(13, 21)), img.units = "cm", col.ERJ = "ERJ", col.ind = "ind" )
dataDir |
directory of the dataset |
dataFile |
name of the dataset |
img.title |
title of the output plot |
iso.names |
names of the isotopes.By default columns c("O", "Sr") |
iso.colors |
color of the isotopes. By default c("turquoise", "turquoise4") |
iso.by.y |
intervals on y-axis. By default c(5, .0002) |
x.by |
interval on x-axis. By default = 5 |
stat.ci |
show statistics: confidence interval. Default value is TRUE |
img.layout |
layout for the output. By default c("grid", "align") |
img.dim |
dimensions for the output, Width and length. By default list(grid = c(18, 16), align = c(13, 21)) |
img.units |
By default "cm" |
col.ERJ |
x-axis. By default column 'ERJ' |
col.ind |
group column. By default column 'ind' (individus) be removed? |
ggplot graphs, in grid layout or aligned vertically.
zoo_isotops() zoo_isotops(img.layout = "align", img.format = ".png", iso.by = c(1, .0002), x.by = 5) zoo_isotops(img.layout = "grid", iso.colors = c("red", "blue"), stat.ci = FALSE, img.format = ".png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.