linear_conductance: Identity-link conductance model

Description Usage Details

View source: R/radish_conductance_model.R

Description

A function of class "conductance_model" that represents a linear mapping from spatial covariates to conductance

Usage

1

Details

The model is of the form:

C_i = x_i1 * theta_1 + x_i2 * theta_2 + ...

where "C_i" is the conductance of vertex "i", "x_ij" is the value of spatial covariate "j" at vertex "i", and "theta_j" is the parameter associated with covariate "j". The intercept is omitted as it is non-identifiable.

Categorical covariates are dummy-coded using the default contrasts, via model.matrix.


nspope/radish documentation built on July 12, 2020, 11:50 a.m.