Log-linear (exponential) time-course function
tloglin.Rd
\(rate\times{log(x + 1)}\)
Time-course parameters
Time-course parameters in the model must be specified using a pool
and a method
prefix.
pool
is used to define the approach used for pooling of a given time-course parameter and
can take any of:
Argument | Model specification |
"rel" | Indicates that relative effects should be pooled for this time-course parameter. Relative effects preserve randomisation within included studies, are likely to vary less between studies (only due to effect modification), and allow for testing of consistency between direct and indirect evidence. Pooling follows the general approach for Network Meta-Analysis proposed by lu2004;textualMBNMAtime. |
"abs" | Indicates that study arms should be pooled across the whole network for this time-course parameter independently of assigned treatment to estimate an absolute effect. This implies estimating a single value across the network for this time-course parameter, and may therefore be making strong assumptions of similarity. |
method
is used to define the model used for meta-analysis for a given time-course parameter
and can take any of the following values:
Argument | Model specification |
"common" | Implies that all studies estimate the same true effect (often called a "fixed effect" meta-analysis) |
"random" | Implies that all studies estimate a separate true effect, but that each of these true effects vary randomly around a true mean effect. This approach allows for modelling of between-study heterogeneity. |
numeric() | Assigned a numeric value, indicating that this time-course parameter should not be estimated from the data but should be assigned the numeric value determined by the user. This can be useful for fixing specific time-course parameters (e.g. Hill parameters in Emax functions, power parameters in fractional polynomials) to a single value. |
Examples
tloglin(pool.rate="rel", method.rate="random")
#> $name
#> [1] "loglin"
#>
#> $fun
#> ~rate * log(time + 1)
#> <environment: 0x55cc6d35ca98>
#>
#> $f
#> function (time, beta.1)
#> {
#> y <- beta.1 * log(time + 1)
#> return(y)
#> }
#> <bytecode: 0x55cc65096508>
#> <environment: 0x55cc6d35ca98>
#>
#> $latex
#> [1] "\beta_1 * log(x_m + 1)"
#>
#> $params
#> [1] "rate"
#>
#> $nparam
#> [1] 1
#>
#> $jags
#> [1] "beta.1[i,k] * log(time[i,m] + 1)"
#>
#> $apool
#> rate
#> "rel"
#>
#> $amethod
#> rate
#> "random"
#>
#> $bname
#> rate
#> "beta.1"
#>
#> $bpool
#> rate
#> "pool.1"
#>
#> $bmethod
#> rate
#> "method.1"
#>
#> attr(,"class")
#> [1] "timefun"
tloglin(pool.rate="abs")
#> $name
#> [1] "loglin"
#>
#> $fun
#> ~rate * log(time + 1)
#> <environment: 0x55cc6d666910>
#>
#> $f
#> function (time, beta.1)
#> {
#> y <- beta.1 * log(time + 1)
#> return(y)
#> }
#> <bytecode: 0x55cc65096508>
#> <environment: 0x55cc6d666910>
#>
#> $latex
#> [1] "\beta_1 * log(x_m + 1)"
#>
#> $params
#> [1] "rate"
#>
#> $nparam
#> [1] 1
#>
#> $jags
#> [1] "beta.1 * log(time[i,m] + 1)"
#>
#> $apool
#> rate
#> "abs"
#>
#> $amethod
#> rate
#> "common"
#>
#> $bname
#> rate
#> "beta.1"
#>
#> $bpool
#> rate
#> "pool.1"
#>
#> $bmethod
#> rate
#> "method.1"
#>
#> attr(,"class")
#> [1] "timefun"