scatterplot {FormulR} | R Documentation |
Generate scatterplot
Description
This function generates a scatterplot to visualize the relationship between two variables.
Usage
scatterplot(formulation_data, x, y)
Arguments
formulation_data |
A data frame containing the formulation data. |
x |
The name of the x-variable. |
y |
The name of the y-variable. |
Value
A scatterplot.
Examples
formulation_data <- data.frame(
Excipient_Concentration = runif(100, min = 0, max = 1),
Drug_Release = rnorm(100, mean = 50, sd = 10)
)
scatterplot(formulation_data, "Excipient_Concentration", "Drug_Release")
[Package FormulR version 1.0.0 Index]