Learn R Programming

MetFns (version 1.0)

filter.mag: Selection of visual meteor data by limiting magnitude

Description

Selects data for a given visual meteor dataset and specified limiting magnitude or interval of magnitudes.

Usage

filter.mag(data, mag.low = 2, mag.up = 7.5)

Arguments

data
data frame consisting of visual meteor data (rate or magnitude data).
mag.low
numeric vector with value between 2.0 (default) and 7.5, specifying lower boundary of limiting magnitude.
mag.up
numeric vector with value between 2.0 and 7.5 (default), specifying upper boundary of limiting magnitude.

Value

  • filter.mag returns data frame with the same number of columns as the argument data, containing observations with the limiting magnitudes between mag.low and mag.up.

References

http://www.imo.net/data/visual Rendtel J. and Arlt R., editors (2008). IMO Handbook For Meteor Observers. IMO, Potsdam.

See Also

filter,filter.totcor

Examples

Run this code
## select visual meteor data for 13th August 2007, limiting magnitude between 5.5 and 6.5

## rate data for the year 2007
data(rate07)
rate1308<-filter.date(rate07,year=2007,month=8,day.beg=13)
filter.mag(rate1308,mag.low=5.5,mag.up=6.5)

## magnitude data for the year 2007
data(magn07)
magn1308<-filter.date(magn07,year=2007,month=8,day.beg=13)
filter.mag(magn1308,mag.low=5.5,mag.up=6.5)


## select visual meteor data for the 12th August 2007 and limiting magnitude above 5.5
filter.mag(rate1308,mag.low=5.5)
filter.mag(magn1308,mag.low=5.5)

Run the code above in your browser using DataLab