We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c440364 commit 72bc39aCopy full SHA for 72bc39a
R/tm_a_regression.R
@@ -512,7 +512,7 @@ srv_a_regression <- function(id,
512
selected = restoreInput(ns("label_var"), selected)
513
)
514
515
- data <- fortify(stats::lm(form, data = ANL))
+ data <- ggplot2::fortify(stats::lm(form, data = ANL))
516
cooksd <- data$.cooksd[!is.nan(data$.cooksd)]
517
max_outlier <- max(ceiling(max(cooksd) / mean(cooksd)), 2)
518
cur_outlier <- isolate(input$outlier)
@@ -652,7 +652,7 @@ srv_a_regression <- function(id,
652
substitute(
653
expr = {
654
class(fit$residuals) <- NULL
655
- data <- fortify(fit)
+ data <- ggplot2::fortify(fit)
656
plot <- graph
657
},
658
env = list(
0 commit comments