gdCalculateDensityValue {ganGenerativeData} | R Documentation |
Calculate density value for a data record
Description
Calculate density value for a data record. By default for the calculation a linear search is performed on generative data. When a search tree is used search is performed on a tree for generative data which is built once in the first function call.
Usage
gdCalculateDensityValue(dataRecord, useSearchTree = FALSE)
Arguments
dataRecord |
List containing a data record |
useSearchTree |
Boolean value indicating if a search tree should be used. |
Value
Normalized density value number
Examples
## Not run:
gdRead("gd.bin")
gdCalculateDensityValue(list(6.1, 2.6, 5.6, 1.4))
## End(Not run)
[Package ganGenerativeData version 2.0.2 Index]