makephi: Proposes a reasonable value for range parameter

Description Usage Arguments Details Author(s)

View source: R/makephi.R

Description

Proposes a reasonable value for range parameter using method recommended in Banerjee et al. book.

Usage

1
makephi(coords, scale = 10)

Arguments

coords

coordinates

scale

denominator for fraction of distance at which you want correlation between two points to decay below 0.05 (e.g. 10 would correspond to 1/10 of the maximum distance between two points)

Details

Silly, one line function but I always forget how the range parameter is parameterized in R, so I made this a function.

Author(s)

Lauren


czigler/HEIfunctions documentation built on May 12, 2017, 2:29 p.m.