View source: R/DrugFormulation.R
scatterplot | R Documentation |
This function generates a scatterplot to visualize the relationship between two variables.
scatterplot(formulation_data, x, y)
formulation_data |
A data frame containing the formulation data. |
x |
The name of the x-variable. |
y |
The name of the y-variable. |
A scatterplot.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.