Displaying 2 results from an estimated 2 matches for "extractiond".
Did you mean:
extraction
2008 May 04
1
S4 / S3 / Sweave problem
I'm not sure if this as a bug or something I am doing wrong. It occurs
in both 2.7.0 and 2.6.2.
require("methods")
setClassUnion("OptionalPOSIXct", c("POSIXct", "NULL"))
setClass("TSmetax",
representation(serIDs="character", ExtractionDate="OptionalPOSIXct" ))
setGeneric("TSmetax",
def= function(x, ...) standardGeneric("TSmetax"))
setMethod("TSmetax", signature(x="character"),
definition= function(x, ...){
new("TSmetax", serIDs=x, ExtractionDate=Sys.ti...
2008 Apr 23
1
S4 default for coercing
...to make this work:
R version 2.7.0 (2008-04-22)
....
> require("methods")
> setClassUnion("OptionalPOSIXct", c("POSIXct", "NULL"))
[1] "OptionalPOSIXct"
> setClass("TSmetax",
representation(serIDs="character", ExtractionDate="OptionalPOSIXct" ))
[1] "TSmetax"
> setGeneric("TSmetax", def= function(x, ...) standardGeneric("TSmetax"))
[1] "TSmetax"
> setMethod("TSmetax", signature(x="character"), definition=
function(x, ...){
new("TS...