loglinear_conductance: Log-link conductance model

Description Usage Details

View source: R/radish_conductance_model.R

Description

Returns a function of class "conductance_model" that represents a log-linear mapping from spatial covariates to conductance

Usage

1

Details

The model is of the form

C_i = exp(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.