R implementation of Ralph Vince's Leverage Space Portfolio Model
R C
Latest commit 82681f7 May 17, 2016 @joshuaulrich Fix probDrawdown/probRuin for > 2-node clusters
Apparently these functions were only tested on clusters with 2 nodes,
or maybe something changed in recent versions of R. Regardless, the
do.call lines failed when the cluster had >2 nodes because:

R> do.call("+", list(c(0,0), c(0,0), c(0,0)))
Error in `+`(c(0, 0), c(0, 0), c(0, 0)) :
  operator needs one or two arguments

Swapping Reduce for do.call solves the problem and provides the same
results as calling probDrawdown and probRuin without a snow argument.

Fixes #1.
Permalink
Failed to load latest commit information.
R
data
man
src
.gitignore
DESCRIPTION - fixed RNG seed bug in probRD and prob_profit Nov 17, 2010
NAMESPACE