Learn R Programming

WhiteStripe (version 2.4.3)

s.hist: Smoothed histogram of image

Description

Smoothed histogram of image

Usage

s.hist

Arguments

Format

A GAM from mgcv for x and y from histograms

Examples

Run this code
if (FALSE) { 
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)
}

Run the code above in your browser using DataLab