Weighted-mean patch attributes
fun_patch_attr.RdWeighted-mean patch attributes
Usage
fun_patch_attr(
  x,
  n_branch,
  mean_source,
  sd_source,
  sd_lon,
  m_distance,
  rho = 1,
  v_wa,
  logit = FALSE
)Arguments
- 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