Skip to content

Commit

Permalink
Updating webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhooker committed Nov 21, 2023
1 parent c558ce3 commit aa2b65c
Show file tree
Hide file tree
Showing 20 changed files with 183 additions and 173 deletions.
12 changes: 6 additions & 6 deletions R/models.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' This is a structural model function that encodes a model that is
#' one-compartment, oral absorption, multiple bolus dose, parameterized using KE.
#' The function is suitable for input to the \code{\link{create.poped.database}} function using the
#' \code{ff_file} argument.
#' \code{ff_fun} or \code{ff_file} argument.
#'
#' @param model_switch a vector of values, the same size as \code{xt}, identifying which model
#' response should be computed for the
Expand Down Expand Up @@ -43,7 +43,7 @@ ff.PK.1.comp.oral.md.KE <- function(model_switch,xt,parameters,poped.db){
#' This is a structural model function that encodes a model that is
#' one-compartment, oral absorption, multiple bolus dose, parameterized using CL.
#' The function is suitable for input to the \code{\link{create.poped.database}} function using the
#' \code{ff_file} argument.
#' \code{ff_fun} or \code{ff_file} argument.
#'
#' @inheritParams ff.PK.1.comp.oral.md.KE
#'
Expand Down Expand Up @@ -77,7 +77,7 @@ ff.PK.1.comp.oral.md.CL <- function(model_switch,xt,parameters,poped.db){
#' This is a structural model function that encodes a model that is
#' one-compartment, oral absorption, single bolus dose, parameterized using KE.
#' The function is suitable for input to the \code{\link{create.poped.database}} function using the
#' \code{ff_file} argument.
#' \code{ff_fun} or \code{ff_file} argument.
#'
#' @inheritParams ff.PK.1.comp.oral.md.KE
#'
Expand Down Expand Up @@ -111,7 +111,7 @@ ff.PK.1.comp.oral.sd.KE <- function(model_switch,xt,parameters,poped.db){
#' This is a structural model function that encodes a model that is
#' one-compartment, oral absorption, single bolus dose, parameterized using CL.
#' The function is suitable for input to the \code{\link{create.poped.database}} function using the
#' \code{ff_file} argument.
#' \code{ff_fun} or \code{ff_file} argument.
#'
#' @inheritParams ff.PK.1.comp.oral.md.KE
#'
Expand Down Expand Up @@ -141,7 +141,7 @@ ff.PK.1.comp.oral.sd.CL <- function(model_switch,xt,parameters,poped.db){
#'
#' This is a structural model function that encodes the model described above.
#' The function is suitable for input to the \code{\link{create.poped.database}} function using the
#' \code{ff_file} argument.
#' \code{ff_fun} or \code{ff_file} argument.
#'
#' @inheritParams ff.PK.1.comp.oral.md.KE
#'
Expand Down Expand Up @@ -180,7 +180,7 @@ ff.PKPD.1.comp.sd.CL.emax <- function(model_switch,xt,parameters,poped.db){
#'
#' This is a structural model function that encodes the model described above.
#' The function is suitable for input to the \code{\link{create.poped.database}} function using the
#' \code{ff_file} argument.
#' \code{ff_fun} or \code{ff_file} argument.
#'
#' @inheritParams ff.PK.1.comp.oral.md.KE
#'
Expand Down
6 changes: 3 additions & 3 deletions man/blockheader.Rd

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

25 changes: 13 additions & 12 deletions man/create.poped.database.Rd

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

12 changes: 6 additions & 6 deletions man/ed_laplace_ofv.Rd

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

2 changes: 1 addition & 1 deletion man/ff.PK.1.comp.oral.md.CL.Rd

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

2 changes: 1 addition & 1 deletion man/ff.PK.1.comp.oral.md.KE.Rd

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

2 changes: 1 addition & 1 deletion man/ff.PK.1.comp.oral.sd.CL.Rd

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

2 changes: 1 addition & 1 deletion man/ff.PK.1.comp.oral.sd.KE.Rd

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

2 changes: 1 addition & 1 deletion man/ff.PKPD.1.comp.oral.md.CL.imax.Rd

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

2 changes: 1 addition & 1 deletion man/ff.PKPD.1.comp.sd.CL.emax.Rd

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

31 changes: 16 additions & 15 deletions man/plot_model_prediction.Rd

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

62 changes: 32 additions & 30 deletions man/poped_optim.Rd

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

29 changes: 15 additions & 14 deletions man/poped_optimize.Rd

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

2 changes: 1 addition & 1 deletion pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
template:
bootstrap: 5
bootswatch: spacelab
bootswatch: litera
#litera
#spacelab
#flatly
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/examples_fcn_doc/examples_blockheader.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ blockheader(name='',
docc=poped.db$parameters$docc,sigma=poped.db$parameters$param.pt.val$sigma)


poped.db.1 <- create.poped.database(ff_file="ff.PK.1.comp.oral.sd.CL",
fg_file="sfg",
fError_file="feps.add.prop",
poped.db.1 <- create.poped.database(ff_fun=ff.PK.1.comp.oral.sd.CL,
fg_fun=sfg,
fError_fun=feps.add.prop,
bpop=c(CL=0.15, V=8, KA=1.0, Favail=1),
notfixed_bpop=c(1,1,1,0),
d=c(CL=0.07, V=0.02, KA=0.6),
Expand Down
25 changes: 13 additions & 12 deletions tests/testthat/examples_fcn_doc/examples_create.poped.database.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ sfg <- function(x,a,bpop,b,bocc){
}

## -- Define initial design and design space
poped.db <- create.poped.database(ff_file="ff.PK.1.comp.oral.sd.CL",
fg_file="sfg",
fError_file="feps.prop",
bpop=c(CL=0.15, V=8, KA=1.0, Favail=1),
notfixed_bpop=c(1,1,1,0),
d=c(CL=0.07, V=0.02, KA=0.6),
sigma=0.01,
groupsize=32,
xt=c( 0.5,1,2,6,24,36,72,120),
minxt=0,
maxxt=120,
a=70)
poped.db <- create.poped.database(
ff_fun=ff.PK.1.comp.oral.sd.CL,
fg_fun=sfg,
fError_fun=feps.prop,
bpop=c(CL=0.15, V=8, KA=1.0, Favail=1),
notfixed_bpop=c(1,1,1,0),
d=c(CL=0.07, V=0.02, KA=0.6),
sigma=0.01,
groupsize=32,
xt=c( 0.5,1,2,6,24,36,72,120),
minxt=0,
maxxt=120,
a=70)


## evaluate initial design
Expand Down
Loading

0 comments on commit aa2b65c

Please sign in to comment.