scatterplot: Create a scatter plot.

Description Usage Arguments Value Examples

Description

Create a scatter plot of two elements with optional panels for top- and sub soil

Usage

1
scatterplot(x, y, topsub = FALSE)

Arguments

x

element to depict on x-axis

y

element to depict on y-axis

topsub

if TRUE, create two graphs with top- and subsoil

Value

A ggplot graph object

Examples

1
2
3
4
p <- scatterplot("xrfal2o3","xrfcu")
print(p)
p <- scatterplot("xrfal2o3","xrfcu",topsub=TRUE)
print(p)

jspijker/dgsa documentation built on May 10, 2019, 12:09 a.m.