gen.y: Generate y for bugs input

Description Usage Arguments Value

View source: R/gen.y.R

Description

The function generates y for bivariate anlaysis based on NS and N2h

Usage

1
gen.y(yr, yd, NS = NS, N2h = N2h)

Arguments

yr

for outcome 1

yd

for outcome 2

NS

is total number of studies

N2h

is number of studies with only 2 arms.

Value

A vector of combined y as a bugs input


vandy10s/mnma documentation built on May 19, 2019, 8:24 a.m.