R/heatmap.samples.R

Defines functions heatmap.samples

Documented in heatmap.samples

heatmap.samples <-
function(samples) {
  ## Provide a density map for the probability distribution of shift vectors
  ## Only works for two dimensions
  ## assuming there are two dimensions of input data
  ## produce a density map of the vectors in "samples"
  dens = kde2d(samples[,1], samples[,2]);
  filled.contour(dens);
}

Try the EDFIR package in your browser

Any scripts or data that you put into this service are public.

EDFIR documentation built on May 2, 2019, 12:36 p.m.