importPAM: Import PAM data

View source: R/importPAM.R

importPAMR Documentation

Import PAM data

Description

Imports and formats many datasets into one big nested list containing all the data from the different sensors. A subset of sensors can be selected using measurements.

Usage

importPAM(
  pathname = pathname,
  measurements = c(".pressure", ".glf", ".acceleration", ".temperature", ".magnetic")
)

Arguments

pathname

path where files are stored

measurements

a series of measurements logged by the PAM logger which are to be imported. Currently supports these file extentions: ".pressure", ".glf", ".gle",".acceleration", ".temperature", "AirTemperature", ".BodyTemperature" and ".magnetic"

Value

a list of measurements for the one individual

Examples

#pathname = "your/filepath"
#measurements = c(".pressure", ".glf")
#PAM_data = importPAM(pathname, measurements)
#str(PAM_data)
#plot(PAM_data$light$date[3000:5000], PAM_data$light$obs[3000:5000],
#type="l", xlab="Date", ylab="Light Intensity")


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