diff --git a/NAMESPACE b/NAMESPACE index 2e76e4c..306d25f 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,8 +1,6 @@ # Generated by roxygen2: do not edit by hand export(BMCPMod) -export(doFit) -export(estimateModels) -export(getGenAICs) -export(postShape) +export(getModelFits) +export(getPosterior) export(simulateData) diff --git a/man/BMCPMod.Rd b/man/BMCPMod.Rd index 1d82663..874fc43 100644 --- a/man/BMCPMod.Rd +++ b/man/BMCPMod.Rd @@ -4,16 +4,14 @@ \alias{BMCPMod} \title{BMCPMod} \usage{ -BMCPMod(ancova1, cont_Mat1, crit_prob, n_simulations) +BMCPMod(posteriors_list, contr_mat, crit_prob) } \arguments{ -\item{ancova1}{tbd} +\item{posteriors_list}{tbd} -\item{cont_Mat1}{tbd} +\item{contr_mat}{tbd} \item{crit_prob}{tbd} - -\item{n_simulations}{tbd} } \description{ BMCPMod diff --git a/man/BayesMCPMod.Rd b/man/BayesMCPMod.Rd deleted file mode 100644 index d6df56f..0000000 --- a/man/BayesMCPMod.Rd +++ /dev/null @@ -1,21 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/helper.R -\name{BayesMCPMod} -\alias{BayesMCPMod} -\title{BayesMCPMod} -\usage{ -BayesMCPMod(ancova, contMat1, crit_prob) -} -\arguments{ -\item{ancova}{tbd} - -\item{contMat1}{tbd} - -\item{crit_prob}{tbd} -} -\value{ -tbd -} -\description{ -BayesMCPMod -} diff --git a/man/doAncova.Rd b/man/doAncova.Rd deleted file mode 100644 index 7540b9a..0000000 --- a/man/doAncova.Rd +++ /dev/null @@ -1,21 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/helper.R -\name{doAncova} -\alias{doAncova} -\title{doAncova} -\usage{ -doAncova(dose, response, prior) -} -\arguments{ -\item{dose}{tbd} - -\item{response}{tbd} - -\item{prior}{tbd} -} -\value{ -tbd -} -\description{ -doAncova -} diff --git a/man/estimateModels.Rd b/man/estimateModels.Rd deleted file mode 100644 index 59e0200..0000000 --- a/man/estimateModels.Rd +++ /dev/null @@ -1,18 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/modelling.R -\name{estimateModels} -\alias{estimateModels} -\title{estimateModels} -\usage{ -estimateModels(models, post, doses) -} -\arguments{ -\item{models}{tbd} - -\item{post}{tbd} - -\item{doses}{tbd} -} -\description{ -estimateModels -} diff --git a/man/getGenAICs.Rd b/man/getGenAICs.Rd deleted file mode 100644 index a81fa2a..0000000 --- a/man/getGenAICs.Rd +++ /dev/null @@ -1,18 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/modelling.R -\name{getGenAICs} -\alias{getGenAICs} -\title{getGenAICs} -\usage{ -getGenAICs(post, fit_mods, doses) -} -\arguments{ -\item{post}{tbd} - -\item{fit_mods}{tbd} - -\item{doses}{tbd} -} -\description{ -getGenAICs -} diff --git a/man/doFit.Rd b/man/getModelFits.Rd similarity index 50% rename from man/doFit.Rd rename to man/getModelFits.Rd index 90395c6..f186384 100644 --- a/man/doFit.Rd +++ b/man/getModelFits.Rd @@ -1,18 +1,20 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/modelling.R -\name{doFit} -\alias{doFit} -\title{doFit} +\name{getModelFits} +\alias{getModelFits} +\title{getModelFits} \usage{ -doFit(dose_levels, shapes, posterior) +getModelFits(models, dose_levels, posterior, simple = FALSE) } \arguments{ -\item{dose_levels}{tbd} +\item{models}{tbd} -\item{shapes}{tbd} +\item{dose_levels}{tbd} \item{posterior}{tbd} + +\item{simple}{tbd} } \description{ -doFit +getModelFits } diff --git a/man/getPosterior.Rd b/man/getPosterior.Rd new file mode 100644 index 0000000..200d3b5 --- /dev/null +++ b/man/getPosterior.Rd @@ -0,0 +1,16 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/posterior.R +\name{getPosterior} +\alias{getPosterior} +\title{getPosterior} +\usage{ +getPosterior(data, prior_list) +} +\arguments{ +\item{data}{tbd} + +\item{prior}{prior_list} +} +\description{ +getPosterior +} diff --git a/man/postShape.Rd b/man/postShape.Rd deleted file mode 100644 index da9a36f..0000000 --- a/man/postShape.Rd +++ /dev/null @@ -1,18 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/postShape.R -\name{postShape} -\alias{postShape} -\title{postShape} -\usage{ -postShape(data, prior, n_simulations) -} -\arguments{ -\item{data}{tbd} - -\item{prior}{tbd} - -\item{n_simulations}{tbd} -} -\description{ -postShape -} diff --git a/man/simulateData.Rd b/man/simulateData.Rd index 606e557..b3572d5 100644 --- a/man/simulateData.Rd +++ b/man/simulateData.Rd @@ -1,36 +1,21 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/dataSimulation.R +% Please edit documentation in R/simulation.R \name{simulateData} \alias{simulateData} \title{simulateData} \usage{ -simulateData( - n_patients, - dose_levels, - pcov, - SD, - placebo_effect, - max_effect, - mod, - n_simulations -) +simulateData(n_patients, dose_levels, sd, mods, n_sim) } \arguments{ \item{n_patients}{tbd} \item{dose_levels}{tbd} -\item{pcov}{tbd} +\item{sd}{tbd} -\item{SD}{tbd} +\item{mods}{tbd} -\item{placebo_effect}{tbd} - -\item{max_effect}{tbd} - -\item{mod}{tbd} - -\item{n_simulations}{tbd} +\item{n_sim}{tbd} } \description{ simulateData