Learn R Programming

Surrogate (version 3.4.4)

make_longitudinal_re_endpoint_specific: Endpoint-specific random effects within treatment arm

Description

Endpoint-specific random effects within treatment arm

Usage

make_longitudinal_re_endpoint_specific(
  name,
  S_0 = "none",
  T_0 = "none",
  S_1 = "none",
  T_1 = "none"
)

Value

A random-effects model specification.

Arguments

name

Model name.

S_0, T_0, S_1, T_1

Random-effects structure for the surrogate and true endpoints in the control and treatment arms. One of "none", "ri", or "rislope".