plot.extracted: A Plotting function used with output from CO2 Peak finding...

Description Usage Arguments Examples

View source: R/plot.extracted.R

Description

This function provides a plotting framework for exploring the data output from the extract.peaks() function

Usage

1
2
## S3 method for class 'extracted'
plot(data, file = NULL, sample = NULL, std.curve = FALSE, method = "linear")

Arguments

data

output from the extract.peaks() function

file

the name of the file the user wishes to look at

sample

the specific sample the user wishes to look at

std.curve

a logical argument that states whether the user wishes to look at the standard curve or not

method

Specify whether you want to plot the "linear" relationship or the "log" transformed relationship

Examples

1
2
3
4
5
6
7
8
ex.output <- extract.peaks(directory = path.package("peak.gas"))
plot(ex.output, std.curve = TRUE)
plot(ex.output, file = "vn_clear_071621.txt", std.curve = TRUE)
plot(ex.output, file = "vn_clear_07292021.txt", std.curve = TRUE)
plot(ex.output, file = "vn_veg_07292021.txt", std.curve = TRUE)
plot(ex.output, file = "vn_darkveg_071621.txt")
plot(ex.output, sample = "NN_DARKVEG")
plot(ex.output, file = "vn_darkveg_071621.txt", sample = "NC_DARKVEG")

andersonjake1988/peak.gas documentation built on Jan. 20, 2022, 11:16 p.m.