Description Usage Arguments Details Value Author(s) See Also Examples
Calculates table of dates corresponding to the given values of solar longitude and year.
1 | sol_date.table(solval,year)
|
solval |
numeric vector specifying solar longitude(s). |
year |
numeric vector specifying year(s). |
The function sol_date.table
represents vectorized version of function sollong_date
. It calculates table of dates corresponding to multiple values of either solar longitude or year.
sol_date.table
returns dataframe. Each column is object of POSIXct class, calendar dates in "%Y-%m-%d %H:%M:%S"
format (UTC timezone). Column names are solar longitudes and row names are years.
Kristina Veljkovic
1 2 3 4 5 | ## calculate dates corresponding to the solar longitudes 347-350, year 2016
sol_date.table(347:350,year=2016)
## calculate dates corresonding to the solar longitude 347, years 2015-2017
sol_date.table(347,year=2015:2017)
|
Loading required package: astroFns
Loading required package: lubridate
Attaching package: ‘lubridate’
The following objects are masked from ‘package:base’:
date, intersect, setdiff, union
Loading required package: plotrix
Loading required package: pracma
Attaching package: ‘MetFns’
The following object is masked from ‘package:stats’:
filter
347 348 349
2016 2016-03-07 08:55:34 2016-03-08 08:54:39 2016-03-09 08:54:29
350
2016 2016-03-10 08:55:05
347
2015 2015-03-08 02:52:02
2016 2016-03-07 08:55:34
2017 2017-03-07 15:03:54
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.