[Blotter-commits] r23 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Dec 17 15:34:58 CET 2008


Author: peter_carl
Date: 2008-12-17 15:34:58 +0100 (Wed, 17 Dec 2008)
New Revision: 23

Removed:
   pkg/man/updateEndEq.Rd
Log:
- removed, using alias in updateAcct.Rd


Deleted: pkg/man/updateEndEq.Rd
===================================================================
--- pkg/man/updateEndEq.Rd	2008-12-17 14:33:42 UTC (rev 22)
+++ pkg/man/updateEndEq.Rd	2008-12-17 14:34:58 UTC (rev 23)
@@ -1,56 +0,0 @@
-\name{updateEndEq}
-\alias{updateEndEq}
-%- Also NEED an '\alias' for EACH other topic documented here.
-\title{ ~~function to do ... ~~ }
-\description{
-  ~~ A concise (1-5 lines) description of what the function does. ~~
-}
-\usage{
-updateEndEq(Account, Dates)
-}
-%- maybe also 'usage' for other objects documented here.
-\arguments{
-  \item{Account}{ ~~Describe \code{Account} here~~ }
-  \item{Dates}{ ~~Describe \code{Dates} here~~ }
-}
-\details{
-  ~~ If necessary, more details than the description above ~~
-}
-\value{
-  ~Describe the value returned
-  If it is a LIST, use
-  \item{comp1 }{Description of 'comp1'}
-  \item{comp2 }{Description of 'comp2'}
-  ...
-}
-\references{ ~put references to the literature/web site here ~ }
-\author{ ~~who you are~~ }
-\note{ ~~further notes~~ 
-
- ~Make other sections like Warning with \section{Warning }{....} ~
-}
-\seealso{ ~~objects to See Also as \code{\link{help}}, ~~~ }
-\examples{
-##---- Should be DIRECTLY executable !! ----
-##-- ==>  Define data, use random,
-##--	or do  help(data=index)  for the standard data sets.
-
-## The function is currently defined as
-function(Account, Dates)
-{
-    if(is.null(Dates)) # if no date is specified, get all available dates
-        Dates = time(Account[[1]])
-    else
-        Dates = time(Account[[1]][Dates])
-
-    # For each date, calculate realized and unrealized P&L
-    for(d in 1:length(Dates)){ # d is a date slot counter
-	Account = calcEndEq(Account, as.character(Dates[d])) ## WTF?
-    }
-    return(Account)
-  }
-}
-% Add one or more standard keywords, see file 'KEYWORDS' in the
-% R documentation directory.
-\keyword{ ~kwd1 }
-\keyword{ ~kwd2 }% __ONLY ONE__ keyword per line



More information about the Blotter-commits mailing list