fun_patch_attr | R Documentation |
Weighted-mean patch attributes
fun_patch_attr(
x,
n_branch,
mean_source,
sd_source,
sd_lon,
m_distance,
rho = 1,
v_wa,
logit = FALSE
)
x |
Adjacency matrix to be converted |
n_branch |
Number of branches |
mean_source |
Mean value of source attribute |
sd_source |
SD of source attribute |
sd_lon |
SD of longitudinal change |
m_distance |
Distance matrix |
rho |
Longitudinal autocorrelation |
v_wa |
Vector of watershed area |
logit |
Logit transformation of mean source attribute |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.