Learn R Programming

ezmmek (version 0.2.1)

p_sat_raw: Create plot of raw data

Description

Creates plot of raw saturation data.

Usage

p_sat_raw(d_sat, man.units = FALSE)

Arguments

d_sat

Must be a dataframe that contains 'time', 'sub.conc' (substrate concentration), 'replicate', and 'spec' (spectral data).

man.units

If 'man.units = TRUE', the user will be guided through a series of prompts to label the plot axes. If 'man.units = FALSE', a plot will generated with generic axes titles.

Value

List containing plot.

Details

Plots raw saturation curve data into separate facets based on substrate concentration ('sub.conc'). It asks the user to specify the axis labels with the appropriate units. It creates a list output containing the raw data plot.

Examples

Run this code
# NOT RUN {
#If 'man.units = FALSE'
p_sat_raw(d_sat)

#If 'man.units = TRUE'
#Run 'p_sat_raw(d_sat)'.
#When prompted 'x-axis: What are the units of time?', type '2' and press Enter.
#When prompted 'y-axis: Detection Unit?:', type 'FSU' and press Enter.

# }

Run the code above in your browser using DataLab