Package 'interimApp'

Title: App for Scheduling Interim Analyses in Clinical Trials
Description: Allows an interactive assessment of the timing of interim analyses. The algorithm simulates both the recruitment and treatment/event phase of a clinical trial based on the package 'interim'.
Authors: Bastian Becker, Katharina Mueller, Hermann Kulmann
Maintainer: Bastian Becker <[email protected]>
License: GPL
Version: 0.0.1
Built: 2024-11-26 03:05:51 UTC
Source: https://github.com/cran/interimApp

Help Index


Creates center plot diplaying the cumulative number of centers that have been opened as well as the cumulative number of centers that have been closed, if applicable, per trial week.

Description

Based on the function trialCourse and eventCourse.

Usage

centerPlot(r)

Arguments

r

recruitment scenario calculated with function recruitment of the interim package.

Details

Requires


Creates event plot diplaying the number of patients that have been screened and enrolled per trial week. If the parameter e1 are not NULL, then the number of events and number of drop-out before the first event is also displayed.

Description

Based on the function eventCourse.

Usage

eventPlot(r, e1 = NULL)

Arguments

r

recruitment scenario calculated with function recruitment of the interim package and

e1

optional for the simulation of the event simulation from function event of the interim package.

Details

Requires


launch_interim - Launches the interim ,application

Description

Starts the interim application in the client's browser.

Usage

launch_interim(host = "127.0.0.1", port = NULL, browser = NULL)

Arguments

host

host link (defaults to the local machine "127.0.0.1")

port

port number (randomly chosen unless specified as a certain number)

browser

path to browser exe (defaults to standard browser)

Details

Further information on how to use this application can be found in the vignette of this package.

Value

A shiny app Table: Re-active UI

Examples

## Not run: 
## Launch application on localhost (127.0.0.1)
## -------------------------------------------
## By default launch_interim starts the application on localhost
## and a randomly selected port (e.g. 9876), in which case you can connect
## to the running application by navigating your browser to
## http://localhost:9876.
launch_interim()

## Launch application on a different host
## --------------------------------------
## You can also run the application on a different host
## by specifying a hostname and port. Just make sure to
## use an open port on your machine. Here "open" means
## that the port should not be used by another service
## and the port is opened by your firewall.
launch_interim(host="your-hostname", port=8888)


## Make the application available to your coworkers
## ------------------------------------------------
## within your local area network even without a
## dedicated Shiny server. The value set through the
## host argument says to accept any connection (not just from localhost).
## Then take note of your local IP (if you are under linux,
## you can see it through ifconfig). Say your IP is 192.168.1.70.
## Your colleagues can use your app by inserting in the address
## bar of their browser 192.168.1.70:8888, i.e. your IP followed
## by : and the port number you selected.
launch_interim(host="0.0.0.0", port=8888)

## Launch application on a different browser
## ----------------------------------------
## To run the shiny app on a different browser than your standard browser
## use the "browser" argument to set the path to the respective .exe file.
launch_interim(browser = "C:/Program Files/Mozilla Firefox/firefox.exe")

## End(Not run)

Creates patient plot diplaying the number of patients that have been screened and enrolled per trial week. If the parameter t1 are not NULL, then the number of patients finished treatment is also displayed.

Description

Based on the function trialCourse.

Usage

treatmentPlot(r, t1 = NULL)

Arguments

r

recruitment scenario calculated with function recruitment of the interim package and

t1

optional for the simulation of the treatment phase simulation from function treatment of the interim package.

Details

Requires