Learn R Programming

psyosphere (version 0.1.6)

psyo_geomean: Example data to demonstrate the geomean function

Description

Data set in the psyo format.

Usage

data(psyo_geomean)

Arguments

Format

A data frame with 4 observations on the following 6 variables.

id

A character vector. With 1 level: "01.gpx"

p_id

A numeric vector. Unique by time sorted ID for every coordinate within a track.

time

A POSIXct. Date and time of the coordinate.

lon

A numeric vector. Longitude of a coordinate in degree.

lat

A numeric vector. Latitude of a coordinate in degree.

other

A character vector. With 4 levels "L", "e", "t", and "o"

See Also

val_psyo

Examples

Run this code
# NOT RUN {
# Simple example ---------------------------------------------------------------

# Get data frame and compress 4 coordinates
data("psyo_geomean")
compressed_tracks <- average_coordinates(psyo_geomean,
                                                             30,
                                                             "seconds")
# }

Run the code above in your browser using DataLab