Skip to content

Commit

Permalink
-Update docs and code to pass CHECK
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermorganwall committed Feb 22, 2024
1 parent 82231fb commit fd6c8b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions R/skprGUI.R
Original file line number Diff line number Diff line change
Expand Up @@ -2569,6 +2569,7 @@ skprGUI = function(browser = FALSE, return_app = FALSE, multiuser = FALSE, progr

output$parameterestimates = renderPlot({
plot_parameter_estimates = function(powerresults) {
x = lcb = ucb = vals = type = ylab = NULL
ylab = ifelse(isolate(input$glmfamily) == "binomial", "Parameter Estimates (Probability)", "Parameter Estimates")
if (!is.null(attr(powerresults, "estimates"))) {
ests = apply(attr(powerresults, "estimates"), 2, quantile, c(0.05, 0.5, 0.95))
Expand Down Expand Up @@ -2612,6 +2613,7 @@ skprGUI = function(browser = FALSE, return_app = FALSE, multiuser = FALSE, progr

output$parameterestimatessurv = renderPlot({
plot_parameter_estimates = function(powerresults) {
x = lcb = ucb = vals = type = ylab = NULL
if (!is.null(attr(powerresults, "estimates"))) {
ests = apply(attr(powerresults, "estimates"), 2, quantile, c(0.05, 0.5, 0.95))
truth = attr(powerresults, "anticoef")
Expand Down
2 changes: 1 addition & 1 deletion man/calculate_gefficiency.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fd6c8b4

Please sign in to comment.