Learn R Programming

GGIR (version 2.7-1)

resample: Simple function using Rcpp

Description

Simple function using Rcpp

Usage

resample(raw, rawTime, time, stop, type=1)

Arguments

raw

stop-by-3 matrix with raw values of x, y and z.

rawTime

vector with stop elements of raw time.

time

array with required time points.

stop

Number of rows in raw

type

integer to indicate type of interpolation, 1=linear, 2=nearest neighbour

Examples

Run this code
  if (FALSE) {
    resample()
  }

Run the code above in your browser using DataLab