calculate_rho: Calculate scaling parameter so that the max value is no more...

View source: R/lrk.R

calculate_rhoR Documentation

Calculate scaling parameter so that the max value is no more than 10. This allows for the Matern function to give a nice range of values and not just squishing everything down to 1.0.

Description

Calculate scaling parameter so that the max value is no more than 10. This allows for the Matern function to give a nice range of values and not just squishing everything down to 1.0.

Usage

calculate_rho(K, scale = 1)

Arguments

K

(data.frame or matrix) A data frame or matrix of coordinates

scale

(real) The scale value

Value

(real) scale * rho

Examples

calculate_rho(data.frame(x=c(1, 2, 3), y=c(4, 5, 6)))

paulsavala/nebcs documentation built on March 20, 2022, 9:24 a.m.