rs_dist_diff: rs_dist_diff

Description Usage Arguments Value See Also

Description

Averages results of a number of neutral models

Usage

1
2
rs_dist_diff(nbs, wts, alpha = 0.1, sd0 = 0.1, niters = 1,
  ntests = 1000, ac_type = "moran", log_scale = TRUE, mean_stats)

Arguments

nbs

An spdep nb object listing all neighbours of each point

wts

Weighting factors for each neighbour; must have same length as nbs. Uniform weights used if not given.

alpha

Strength of spatial autocorrelation

sd0

Standard deviation of truncated normal distribution used to model environmental variation (with mean of 1)

niters

Number of sequential iterations of spatial autocorrelation

ntests

Number of repeats of neutral model used to calculate mean rank–scale distribution

ac_type

type of autocorrelation statistic to use in tests (moran, geary, or getis-ord=go)

log_scale

If TRUE, raw hotspot values are log-transformed

mean_stats

Mean rank–scale distributions returned from neutral_hotspots: a matrix of 2 columns

Value

A vector of hotspot values sorted from high to low

See Also

ives


mpadge/hotspotr documentation built on May 23, 2019, 6:23 a.m.