Learn R Programming

spinebil (version 0.1.6)

compareSmoothing: Compare traces with different smoothing options.

Description

Compare traces with different smoothing options.

Usage

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

Value

Table of mean index values

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

Examples

Run this code
d <- spiralData(3, 30)
tPath <- tourr::save_history(d, max_bases=2)
tPath <- as.list(tourr::interpolate(tPath, 0.3))
idx <- scagIndex("stringy")
compS <- compareSmoothing(d, tPath, idx, alphaV = c(0.01, 0.05), n=2)
plotSmoothingComparison(compS)

Run the code above in your browser using DataLab