Learn R Programming

GENEAclassify (version 1.5.3)

updown: Extract data relating to the up/down component

Description

Extract up/down time series

Usage

updown(x)

Value

The up/down vertical elevation data (y-axis)

Arguments

x

data output from get.intervals

Details

Extract code from positionals to perform data conversion to up/down time series. Input is expected to be result of get.intervals.

Examples

Run this code
    d1 <- matrix(c(100, 101, -0.79, -0.86, -0.17, -0.14, 0.53, 0.46), 
        nrow = 2, ncol = 4)
    colnames(d1) <- c("timestamp", "x", "y", "z")
    updown(x = d1)

Run the code above in your browser using DataLab