Learn R Programming

MetFns (version 3.2.2)

filter.date: Selection of visual meteor data by date(s)

Description

Selects data for a given visual meteor dataset and specified dates.

Usage

filter.date(data,date.start,date.end)

Arguments

data

data frame consisting of visual meteor data (rate or magnitude data).

date.start

character vector or factor specifying start date, given in "%Y-%m-%d %H:%M:%S" format (UTC timezone).

date.end

character vector or factor specifying end date, given in "%Y-%m-%d %H:%M:%S" format (UTC timezone).

Value

filter.date returns data frame with the same number of columns as the argument data, containing observations which correspond to the specified dates.

Details

The function filter.date selects data for a time period, bounded by date.start and date.end. In selection of the data, date corresponding to the middle of the observing time period is used.

See Also

filter

Examples

Run this code
# NOT RUN {
## select rate and magnitude data for the period from 10-25th October 2015
filter.date(rate2015,date.start="2015-10-10",date.end="2015-10-25")
filter.date(magn2015,date.start="2015-10-10",date.end="2015-10-25")

# }

Run the code above in your browser using DataLab