Learn R Programming

aop (version 1.0.0)

plot_slope_analysis: Plot the median slope

Description

This simply plots the slope as a function of concentration.

Usage

plot_slope_analysis(pod_slope_data, yaxis_limit = FALSE, yaxis_limit_values)

Arguments

pod_slope_data
the data.frame object that contains the concentration and slope data.
yaxis_limit
a boolean value (default is FALSE) that identifies if the user wants to specify y-axis limits.
yaxis_limit_values
a two-element vector that specifies the y-axis limits. For instance yaxis_limit_values = c(0, 20).

Examples

Run this code
bmr_obj <- bootstrap_metaregression(oxybenzone, 15, 100)
slope_pod <- slope_pod_analysis(bmr_obj, 0.0001, 10, 0.1)
plot_slope_analysis(slope_pod, TRUE, c(0,30))

Run the code above in your browser using DataLab