rwePsPowDrawPost: Get Posterior for all stratum

Description Usage Arguments

View source: R/rwe_powerp.R

Description

Get Posterior for all stratum

Usage

1
2
3
4
5
6
7
8
9
rwePsPowDrawPost(
  data,
  type = c("continuous", "binary"),
  A = 0,
  RS = NULL,
  Fix.RS = FALSE,
  v.outcome = "Y",
  ...
)

Arguments

data

class DWITHPS data frame

type

type of outcomes

A

target number of subjects to be borrowed

RS

parameters for dirichelet prior

Fix.RS

whether treat RS as fixed or the prior mean of vs

...

extra parameters for calling function rweSTAN


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