| plot_outliers | R Documentation |
Visualizes the result of find_outliers. Shows the original
parametric VFP fit, highlights confirmed outliers and optionally overlays
the refitted model after outlier removal.
plot_outliers(
obj,
type = c("cv", "sd", "vc"),
add.robust = FALSE,
add.final = TRUE,
...
)
obj |
(object) of class |
type |
(character) scale for the y-axis: |
add.robust |
(logical) if |
add.final |
(logical) if |
... |
additional arguments, e.g. |
Called for its side effect (plot). Returns invisible(NULL).
Andre Schuetzenmeister andre.schuetzenmeister@roche.com
find_outliers
## Not run:
data(Glucose)
Glucose$DF <- 1
Glucose$Mean <- (Glucose$V1 + Glucose$V2) / 2
Glucose$VC <- (Glucose$V1 - Glucose$V2)^2 / 4
Glucose <- Glucose[which(Glucose$VC > 0), ]
fit <- fit_vfp(Glucose, 1:9)
out <- find_outliers(fit)
plot_outliers(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.