dtarmbased: Helper function to restructure the data in arm-based format...

Description Usage Arguments Value Examples

Description

Helper function to restructure the data in arm-based format if is not

Usage

1
dtarmbased(data, study,arms )

Arguments

data

Data frame with the treatment information in one column.

study

Name of the column that contain the study information.

arms

Name of the column that contain arm information.

Value

returns a data frame with arm-based format (one row for each study, and one treatment in each column)

Examples

1
2
3
4
5
 ## Not run: 
data(dat.begg1989)
dtarmbased(dat.begg1989, study,arms )

## End(Not run)

natydasilva/metaupdate documentation built on May 23, 2019, 1:29 p.m.