rweGetLambda: Get weights

Description Usage Arguments Value

View source: R/rwe_tools.R

Description

Get weights

Usage

1
2
3
4
5
6
7
8
9
rweGetLambda(
  A,
  rs = NULL,
  ns1.trt = NULL,
  ns1.ctl = NULL,
  ns0,
  m.lambda = c("rs", "even", "inverse"),
  ...
)

Arguments

A

target number of subjects to be borrowed

m.lambda

method to split A. rs: by overlapping coefficient; even: by minimizing trt and control imbalance in numbers

Value

power parameter before standardization


olssol/rwetools documentation built on April 18, 2021, 11:42 a.m.