g3features: G features

View source: R/features.R

g3featuresR Documentation

G features

Description

Features calculated from G function (G3est).

Usage

g3features(rvals, gvals_new, gvals_old)

Arguments

rvals

vector of radius values

gvals_new

vector of new G3est values from which to subtract expected values

gvals_old

vector of expected G3est values

Details

Takes one set of radius values and corresponding G values of two functions as input and returns features for machine learning

Value

features to be used for machine learning prediction of clustering behavior. The features are the max difference between the functions (max_diff), the r value at that difference (max_diff_r), the minimum difference (min_diff), and the r value when the difference is 0 (zero_diff_r). Note that (zero_diff_r) must occur between the maximum and minimum difference


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