tdgraph {bSi}R Documentation

Create Time-Dissolution Graphs

Description

Create Time-Dissolution Graphs

Usage

tdgraph(
  data_file,
  output_plot_file,
  output_csv_file,
  label_y1 = 0.055,
  label_y2 = 0.032,
  param,
  value,
  eq.label,
  rr.label,
  .
)

Arguments

data_file

Path to the data CSV file.

output_plot_file

Path to save the graph as a TIFF file.

output_csv_file

Path to save the CSV file.

label_y1

Y-coordinate for the first equation label.

label_y2

Y-coordinate for the second equation label.

param

Placeholder for param variable.

value

Placeholder for value variable.

eq.label

Placeholder for eq.label variable.

rr.label

Placeholder for rr.label variable.

.

Placeholder for . variable.

Value

A data frame with the equation of the line, R-squared value, and y-intercept for each parameter.

Examples



data_file <- system.file("extdata", "mydata.csv", package = "bSi")
output_plot_file <- file.path(tempdir(), "plot1.tiff")
output_csv_file <- file.path(tempdir(), "output.csv")
param <- NULL
value <- NULL
eq.label <- NULL
rr.label <- NULL
. <- NULL
tdgraph(data_file, output_plot_file, output_csv_file,
        label_y1 = 0.055, label_y2 = 0.032, param, value, eq.label, rr.label, .)



[Package bSi version 1.0.0 Index]