inst/Examples/trackInitialize.R

setMethod("initialize", "track",
    function(.Object, x, y, ...) {
        if(missing(y)) {
            y <- x; x <- seq(along=y)
        }
        callNextMethod(.Object, x = x, y = y, ...)
    })

Try the SoDA package in your browser

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

SoDA documentation built on Oct. 28, 2020, 9:07 a.m.