compareSmoothing: Compare traces with different smoothing options.

Description Usage Arguments Value Examples

View source: R/smoothing.R

Description

Compare traces with different smoothing options.

Usage

1
compareSmoothing(d, tPath, idx, alphaV = c(0.01, 0.05, 0.1), n = 10)

Arguments

d

Data matrix

tPath

Interpolated tour path (as list of projections)

idx

Index function

alphaV

Jitter amounts to compare (for jittering angle or points)

n

Number of evaluations entering mean value calculation

Value

Table of mean index values

Examples

1
2
3
4
5
6
d <- spiralData(4, 100)
tPath <- tourr::save_history(d, max_bases=2)
tPath <- as.list(tourr::interpolate(tPath))
idx <- scagIndex("Skinny")
compS <- compareSmoothing(d, tPath, idx, n=5)
plotSmoothingComparison(compS)

spinebil documentation built on Aug. 28, 2019, 5:04 p.m.