R/sol_date.table.R

Defines functions sol_date.table

Documented in sol_date.table

sol_date.table<-function(solval,year){
  if(length(solval)>1 && length(year)>1)
   stop("Error: only one of the parameters can have length of 2 and greater.")
  dates<-data.frame(split(solar.long_date(solval,year),as.factor(solval)))
  colnames(dates)<-solval
  rownames(dates)<-year
  dates
}

Try the MetFns package in your browser

Any scripts or data that you put into this service are public.

MetFns documentation built on May 1, 2019, 6:28 p.m.