Learn R Programming

kerntools (version 1.2.0)

histK: Kernel matrix histogram

Description

`histK()` plots the histogram of a kernel matrix.

Usage

histK(K, main = "Histogram of K", vn = FALSE, ...)

Value

An object of class "histogram".

Arguments

K

Kernel matrix (class "matrix").

main

Plot title.

vn

If TRUE, the value of the von Neumann entropy is shown in the plot. (Defaults: FALSE).

...

further arguments and graphical parameters passed to `plot.histogram`.

Details

Information about the von Neumann entropy can be found at '?vonNeumann()'.

Examples

Run this code
data <- matrix(rnorm(150),ncol=50,nrow=30)
K <- RBF(data,g=0.01)
histK(K)

Run the code above in your browser using DataLab