R.m.theta: Calculates the R value given model and parameters

View source: R/SurrogateBMA_functions.R

R.m.thetaR 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


SurrogateBMA documentation built on May 29, 2024, 8:55 a.m.