mergePAM: Merges all sensors into one

View source: R/mergePAM.R

mergePAMR Documentation

Merges all sensors into one

Description

This function takesthe typical PAM_data input, which is a nested list of different sensor data, all formatted at different time resolutions, and merges them all into one big table. By default all times are kept, and not interpolated.

Usage

mergePAM(dta, all = TRUE, interp = FALSE)

Arguments

dta

raw pam data see data(bee_eater for example

all

logical. Default TRUE. Whether or not to keep NAs (i.e. all the datasets)

interp

logical. Default FALSE. whether or not to interpolate if there are NAs. if all = FALSE then interp is not used.

Value

merged and interpolated dataset

Examples

#data(bee_eater)
#PAM_data = bee_eater
#merged_dta = mergePAM(PAM_data, interp = TRUE)
#head(merged_dta)


KiranLDA/PAMLr documentation built on March 6, 2023, 1:40 p.m.