h_get_prediction: Get Prediction

View source: R/tmb-methods.R

h_get_predictionR Documentation

Get Prediction

Description

Get predictions with given data, theta, beta, beta_vcov.

Usage

h_get_prediction(tmb_data, theta, beta, beta_vcov)

Arguments

tmb_data

(mmrm_tmb_data)
object.

theta

(numeric)
theta value.

beta

(numeric)
beta value.

beta_vcov

(matrix)
beta_vcov matrix.

Details

See predict function in predict.cpp which is called internally.

Value

List with:

  • prediction: Matrix with columns fit, conf_var, and var.

  • covariance: List with subject specific covariance matrices.

  • index: List of zero-based subject indices.


mmrm documentation built on Oct. 7, 2024, 1:14 a.m.