##select visual meteor data for observation of Perseids, time period 1-20th August 2007
##and calculate population index using magnitudes m<=4
data(magn07)
magnPer<-filter(magn07,shw="PER", year=2007, month=8, day.beg=1, day.end=20)
pop.index(magnPer,year=2007, month=8, day.beg=1, day.end=20, shw="PER",mag=-6:4)Run the code above in your browser using DataLab