R/LogRankPowerShiny.R

Defines functions Log_Rank_Power

Documented in Log_Rank_Power

#' @name Log_Rank_Power

#' @title Two sample Log Rank Power Analysis

#' @description This function will run Log Rank Power Analysis Shiny application

#' @export



Log_Rank_Power <- function() {

  appDir <- system.file("shiny-examples", "myapp", package = "LogRankPower")

  if (appDir == "") {

    stop("Could not find example directory. Try re-installing `LogRankPower`.", call. = FALSE)

  }



  shiny::runApp(paste(appDir,'/LogRankPower_app.R',sep=''), launch.browser =T,host = getOption( "127.0.0.1"))

}
z2thet/LogRankPower documentation built on Jan. 1, 2021, 1:48 p.m.