pool_splines {metasplines}R Documentation

Title Pool meta-analysis estimates and estimates from a regression model.

Description

Title Pool meta-analysis estimates and estimates from a regression model.

Usage

pool_splines(
  v,
  meta.df,
  glm.res,
  cor.m = NULL,
  x.range = NULL,
  full.output = FALSE
)

Arguments

v

Name of the covariate, which is modeled using an nsk spline (see package splines2).

meta.df

Meta-analysis estimates: dataframe with columns est (e.g. log HR estimate), est.var (estimated variance), variable (name of the covariate used in the spline) and cov.value (covariate value at which est and est.var were reported).

glm.res

Regression analysis result object.

cor.m

Assumed correlation matrix. If NULL (default) or NA then use correlation matrix from glm.res.

x.range

If NULL (default), then take the range from meta.df, otherwise give range as a vector with two components.

full.output

If TRUE then output also the log HR values and 95% confidence intervals over a grid of covariate values.

Value

List containing pooled estimates of the spline parameters.


[Package metasplines version 0.1.0 Index]