Nothing
if ( !isGeneric("daydoy") ) {
setGeneric("daydoy", function(x, month, day)
standardGeneric("daydoy"))
}
setMethod('daydoy', signature(x="missing" ),
function(x){
cat("USAGE: daydoy(year,month,day) \n")
return()
}
)
setMethod('daydoy', signature(x="numeric" ),
function(x,month,day){
return(as.POSIXlt(ISOdate(x,month,day))$yday+1)
}
)
setMethod('daydoy', signature(x="POSIXct" ),
function(x){
return(as.POSIXlt(x)$yday+1)
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.