SCM

SCM Repository

[rmetrics] View of /pkg/timeSeries/R/AllGeneric.R
ViewVC logotype

View of /pkg/timeSeries/R/AllGeneric.R

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4158 - (download) (annotate)
Sun May 17 14:09:03 2009 UTC (9 years, 9 months ago) by wuertz
File size: 2325 byte(s)
NEW FILE ORDERING CHECKED IN ...
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  A copy of the GNU General Public License is available at
#  ../../COPYING


################################################################################


setGeneric("returns", 
    function(x, ...)
    standardGeneric("returns"), package = "timeSeries")

    
setGeneric("rowCumsums", 
    function(x, na.rm = FALSE, ...)
    standardGeneric("rowCumsums"), package = "timeSeries")

    
setGeneric("series", 
    function(x) 
    standardGeneric("series"), package = "timeSeries")
    
    
setGeneric("series<-", 
    function(x, value)
    standardGeneric("series<-"), package = "timeSeries")

    
## setGeneric("index", function(x, ...)
##      standardGeneric("index"), package = "timeSeries")


## setGeneric("index<-", function(x, value)
##      standardGeneric("index<-"), package = "timeSeries")


setGeneric("outlier",  
    function(x, sd = 5, complement = TRUE, ...)
    standardGeneric("outlier"))

           
setGeneric("timeSeries",
    function (data, charvec, units = NULL, format = NULL, zone = "",
        FinCenter = "", recordIDs = data.frame(), title = NULL,
        documentation = NULL, ...)
    standardGeneric("timeSeries"))
    

setGeneric("colCumsums", 
    function(x, na.rm = FALSE, ...) 
    standardGeneric("colCumsums"))
    
    
setGeneric("colCummaxs", 
    function(x, na.rm = FALSE, ...) 
    standardGeneric("colCummaxs"))
    
    
setGeneric("colCummins", 
    function(x, na.rm = FALSE, ...) 
    standardGeneric("colCummins"))
    
    
setGeneric("colCumprods", 
    function(x, na.rm = FALSE, ...) 
    standardGeneric("colCumprods"))
    
    
setGeneric("colCumreturns",
    function(x, method = c("geometric", "simple"), na.rm = FALSE, ...)
    standardGeneric("colCumreturns"))


################################################################################


R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge