Skip to content

Commit

Permalink
fixed github action errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyarz committed Oct 9, 2023
1 parent 489e049 commit 7dc310b
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 7 deletions.
9 changes: 7 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@ Imports:
ggplot2,
stats,
RBesT,
nloptr
nloptr,
clinDR,
knitr
Suggests:
testthat (>= 3.0.0)
Config/testthat/edition: 3
Depends:
R (>= 4.1)
VignetteBuilder: knitr
Config/testthat/edition: 3
URL: https://github.com/Boehringer-Ingelheim/BayesianMCPMod
BugReports: https://github.com/Boehringer-Ingelheim/BayesianMCPMod/issues
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
export(BMCPMod)
export(getModelFits)
export(getPosterior)
export(plot_modelFits)
export(simulateData)
11 changes: 10 additions & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
plot.modelFits <- function (
#' @title plot_modelFits
#'
#' @param model_fits tbd
#' @param CrI tbd
#' @param gAIC tbd
#' @param avg_fit tbd
#'
#' @return tbd
#' @export
plot_modelFits <- function (

model_fits,
CrI = FALSE,
Expand Down
3 changes: 2 additions & 1 deletion R/posterior.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
#'
#' @param data tbd
#' @param prior_list prior_list
#' @param mu_hat tbd
#' @param sd_hat tbd
#'
#' @export
getPosterior <- function(

data,
prior_list,
mu_hat = NULL,
Expand Down
6 changes: 5 additions & 1 deletion man/getPosterior.Rd

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

23 changes: 23 additions & 0 deletions man/plot_modelFits.Rd

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

4 changes: 2 additions & 2 deletions vignettes/analysis_normal.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ fit<- getModelFits(
```

```{r}
plot.modelFits(fit,CrI= TRUE)
plot.modelFits(fit_simple, CrI= TRUE)
plot_modelFits(fit,CrI= TRUE)
plot_modelFits(fit_simple, CrI= TRUE)
```
For the plotting the credible intervals are shown as well.

0 comments on commit 7dc310b

Please sign in to comment.