it.interpolate: it.interpolate

Description Usage Arguments Details Value See Also Examples

View source: R/it.R

Description

Interpolates IntensityTier contour in given time instances.

Usage

1

Arguments

it

IntensityTier object

t

vector of time instances of interest

Details

a) If t < min(it$t) (or t > max(it$t)), returns the first (or the last) value of it$i. b) If t is existing point in it$t, returns the respective it$f. c) If t is between two existing points, returns linear interpolation of these two points.

Value

IntensityTier object

See Also

it.read, it.write, it.plot, it.cut, it.cut0, it.legendre

Examples

1
2
3
4
5
6
7
it <- it.sample()
it2 <- it.interpolate(it, seq(it$t[1], it$t[length(it$t)], by = 0.001))
## Not run: 
it.plot(it)
it.plot(it2)

## End(Not run)

rPraat documentation built on Dec. 9, 2018, 1:04 a.m.