Learn R Programming

SSM (version 1.0.1)

identify.main.effect.terms: Identify main effect terms

Description

This is used by the sensitivity computation functions to identify which basis terms are associated with each main effect.

Usage

# S3 method for main.effect.terms
identify(i, basis)

Arguments

i

A number indicating the main effect of interest.

basis

A matrix. A matrix where each row is an exponent vector of a monomial basis.

Value

A logical vector. Each term corresponds with the associated row of basis.