---
name: "gbnear"
section: "1"
platform: "linux"
package: "gbutils"
version: "6.3-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gbnear"
---

# gbnear(1)

Produce nearest neighborhood density estimate

## NAME

gbnear - Produce nearest neighborhood density estimate

## SYNOPSIS

**gbnear** \[*options*\]

## DESCRIPTION

Nearest neighbors density estimation. Data are read from standard input. The density is computed on a regular grid.

## OPTIONS

- **-n**

  number of points where the density is computed (default 10)

- **-k**

  number of neighbors points considered (default 2)

- **-K**

  choose the kernel to use: 0 Epanenchnikov, 1 Rectangular (default 0)

- **-v**

  verbose mode

- **-F**

  specify the input fields separators (default " \\t")

- **-h**

  this help

## AUTHOR

Written by Giulio Bottazzi

## REPORTING BUGS

Report bugs to \<gbutils@googlegroups.com\>

Package home page \<http://cafim.sssup.it/~giulio/software/gbutils/index.html\>

## COPYRIGHT

Copyright © 2001-2018 Giulio Bottazzi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation;

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
