k3metrics: Extract metrics from 3D K function output

View source: R/rapt_K3metrics.R

k3metricsR Documentation

Extract metrics from 3D K function output

Description

Takes as inputs the results from anomK3est function performed on a clustered data set. Returns five different metrics of this result.

Usage

k3metrics(rvals.new, tvals.new, toplot, ...)

Arguments

rvals.new

The radius values from the anomK3est. These need to be trimmed so that they start past the inhibition radius of the underlying RCP pattern.

tvals.new

The returned K values from the anomK3est. These need to be trimmed to the same indices as rvals.new.

Value

A list of [1] Km, [2] Rm, [3] Rdm, [4] Rddm, [5] Kdm for the input K function. If no first K peak is found, returns a list of 5 NaNs.

See Also

anomK3est


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.