dfltCounts: dfltCounts

View source: R/from_features.R

dfltCountsR Documentation

dfltCounts

Description

This function bins the input data into a regular grid.

Usage

dfltCounts(
  x,
  gridsize = rep(64, NCOL(x)),
  h = rep(0, NCOL(x)),
  supp = 3.7,
  range.x,
  w
)

Arguments

x

The input data, which should be a numeric matrix.

gridsize

A vector specifying the number of bins along each dimension.

h

A vector specifying the bandwidth (smoothing parameter) along each dimension.

supp

A parameter for determining the range of the bins.

range.x

A list specifying the range of values for each dimension.

w

A vector of weights for the data points.

Value

A list containing the binned counts and the range of values for each dimension.


shinyWGD documentation built on April 4, 2025, 2:28 a.m.