Skip to content

Commit

Permalink
intial adding of gglogisticexpdist and an example dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
certara-smouksassi committed Jan 4, 2024
1 parent 9df974f commit 0957f95
Show file tree
Hide file tree
Showing 7 changed files with 1,373 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ Imports:
table1 (>= 1.4.2),
zoo,
shinyFiles,
RPostgres
RPostgres,
forcats,
ggridges,
rms,
tibble
Suggests:
knitr,
rmarkdown
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export(geom_kmband)
export(geom_kmticks)
export(get_source_code)
export(ggkmrisktable)
export(gglogisticexpdist)
export(merge_steps)
export(run_ggquickeda)
export(sourceable)
Expand All @@ -40,5 +41,7 @@ importFrom(scales,percent)
importFrom(scales,percent_format)
importFrom(scales,trans_breaks)
importFrom(scales,trans_format)
importFrom(stats,median)
importFrom(stats,quantile)
importFrom(survival,Surv)
importFrom(survival,survfit)
558 changes: 558 additions & 0 deletions R/gglogisticexpdist.R

Large diffs are not rendered by default.

571 changes: 571 additions & 0 deletions R/gglogisticexpdist.R.bak

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions R/logisticdata.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#' Simulated Exposure Response Data
#'
#' A dataset containing data suitable for logistic regression
#'
#' @format A data frame with 600 rows and 10 variables
#' \describe{
#' \item{STUDY}{Study identifier}
#' \item{ID}{Subject Identifier}
#' \item{DOSE}{Dose, in mg}
#' \item{GBDS}{Dose, in alternative salt}
#' \item{SEX}{Sex of the subject}
#' \item{AGE}{age of the subject, in years}
#' \item{WT}{weight of the subject, in kg}
#' \item{RACE}{Race of the subject}
#' \item{CRCL}{Creatinine clearance}
#' \item{BRLS}{RLS score}
#' \item{PRLS}{RLS score}
#' \item{AUC}{Area under the curve exposure}
#' \item{CMAX}{Maximun concentration exposure}
#' \item{ICGI}{response 0/1}
#' \item{ICGI7}{response 1 to 7}
#' }
#' @source inspired from a real data submission
"logistic_data"
176 changes: 176 additions & 0 deletions man/gglogisticexpdist.Rd

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

36 changes: 36 additions & 0 deletions man/logistic_data.Rd

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

0 comments on commit 0957f95

Please sign in to comment.