s.hist: smoothed_histogram

Description Usage Format Examples

Description

Smoothed histogram of image

Usage

1

Format

A GAM from mgcv for x and y from histograms

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run:  
data(t2.voi.hist)
y = t2.voi.hist$counts
x = t2.voi.hist$mids
x = x[!is.na(y)];
y = y[!is.na(y)]
# 70 used for speed of example
s.hist = smooth_hist(x, y, k=70)

## End(Not run)

WhiteStripe documentation built on April 19, 2018, 1:04 a.m.