sens: Master function to calculate the sensitivity function

Description Usage Arguments Value

View source: R/inf_mat_sens.R

Description

Calculates the sensitivity function given the desired Criterion, an information matrix and other necessary values depending on the chosen criterion.

Usage

1
sens(Criterion, grad, M, par_int = c(1), matB = NA)

Arguments

Criterion

Character with the chosen optimality criterion. Can be one of the following:

  • 'D-Optimality'

  • 'Ds-Optimality'

  • 'A-Optimality'

  • 'I-Optimality'

grad

A function in a single variable that returns the partial derivatives vector of the model.

M

Information Matrix for the sensitivity function.

par_int

Numeric vector of the indexes of the parameters of interest for Ds-Optimality.

matB

Matrix resulting from the integration of the one-point Information Matrix along the interest region.

Value

The sensitivity function as a matrix of single variable.


optedr documentation built on Jan. 20, 2022, 5:08 p.m.