R.m.theta {SurrogateBMA} | R Documentation |
Calculates the R value given model and parameters
Description
Provides a function to calculate F_m(theta_m).
Usage
R.m.theta(S, m, theta, A, weight = FALSE, nBB = 100)
Arguments
S |
|
m |
|
theta |
|
A |
|
weight |
|
nBB |
Value
a numeric value or a numeric verctor when weight = TRUE. the value of R or the values of R using Bayesian bootstap replicates of the surrogate marker.
Author(s)
Yunshan Duan
[Package SurrogateBMA version 1.0 Index]