View source: R/radish_conductance_model.R
Returns a function of class "conductance_model" that represents a log-linear mapping from spatial covariates to conductance
1 |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.