| plotCurve | R Documentation | 
This function plots doses of radiation against the cancer cell survival fractions thereby observed.
plotCurve(
  D,
  SF,
  pars,
  filename = "dose_response_plot.pdf",
  fit_curve = TRUE,
  SF_as_log = TRUE
)
| D | vector of radiation doses | 
| SF | vector of survival fractions corresponding to the doses | 
| pars | parameters (alpha, beta) in the equation SF = exp(-alpha * D - beta * D ^ 2) | 
| filename | name of PDF which will be created by the function | 
| fit_curve | should the graph include a linear-quadratic curve of best fit? Defaults to TRUE | 
| SF_as_log | should SF be expressed in log10 on the graph? Defaults to TRUE | 
nothing Function works by side effects only
plotCurve(c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10),
  c(1.1, 0.8, 0.7, 0.45, 0.15, -0.1, -0.1, -0.4, -0.65, -0.75, -1.1),
  filename = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.