Getter to access the weather data at a specific position.
# S4 method for WeaAna
[(x, i, j, drop)
A WeaAna object.
the specific position which will access.
None use parameter.
None use parameter.
A WeaAnaSite object at the position i.
library(weaana)
data( "WeatherRecordsDemo" )
#> Warning: data set ‘WeatherRecordsDemo’ not found
records[1]
#> Name Number Latitude Longitude
#> 1 DEMO Weather Site 1 0000001 -25 135
records[1:2]
#> Name Number Latitude Longitude
#> 1 DEMO Weather Site 1 0000001 -25 135
#> 2 DEMO Weather Site 2 0000002 -25 130
records[2:2]
#> Name Number Latitude Longitude
#> 1 DEMO Weather Site 2 0000002 -25 130