Learn R Programming

dampack (version 1.0.2.1000)

predict_matrix_tensor_smooth_ga: Predict matrix tensor smooth (GA)

Description

Function to compute the preposterior for each of the basis functions for one or more parameters and calculates the tensor product if more than one parameter is selected (Heavily based on function Predict.matrix.tensor.smooth from mgcv package)

Usage

predict_matrix_tensor_smooth_ga(
  object,
  param_vals,
  vrf = rep(1, ncol(param_vals))
)

Arguments

Value

tensor product based on list of pre-posterior distributions