method
Parameters
method
default = "auto" ("auto", "neighbours", "kde2d"). Method to compute the density estimate:
"neighbours"- estimates density from the number of nearby points."kde2d"- estimates density using a smoothed 2D kernel density."auto"- automatically selects an estimation method based on data size.