create_crop: Crop all sensor data to the same timeframe

View source: R/create_crop.R

create_cropR Documentation

Crop all sensor data to the same timeframe

Description

Get rid of excess data. e.g. when a logger is kept in a rucksack or a lab before being downloaded.

Usage

create_crop(dta, start, end)

Arguments

dta

path where files are stored

start

posicxt object for date that PAM data should start

end

posicxt object for date that PAM data should end

Value

shortened PAM data

Examples

data(hoopoe)
PAM_data=hoopoe
str(PAM_data)

start = as.POSIXct("2016-07-01","%Y-%m-%d", tz="UTC")
end = as.POSIXct("2017-06-01","%Y-%m-%d", tz="UTC")

newPAM = create_crop(PAM_data,start,end)


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