ref.validate {MBNMAtime}R Documentation

Checks the validity of ref.resp if given as data frame

Description

Ensures ref.resp takes the correct form to allow for synthesis of network reference treatment effect if data is provided for meta-analysis

Usage

ref.validate(data.ab)

Arguments

data.ab

A data frame of arm-level data in "long" format containing the columns:

  • studyID Study identifiers

  • time Numeric data indicating follow-up times

  • y Numeric data indicating the mean response for a given observation

  • se Numeric data indicating the standard error for a given observation

Value

Returns data.ab, the data frame used to estimate the network reference treatment time-course function, with additional required indices added.


[Package MBNMAtime version 0.2.4 Index]