sim.results.merge {matiming} | R Documentation |
This function merges the results of simulating the returns to different trading strategies
sim.results.merge(x, y, ...)
x |
the result of simulation of a trading strategy. Specifically, this is the
result returned by function |
y |
the result of simulation of another trading strategy. Again, this is the
result returned by function |
... |
other possible results of simulations if more than two results must be merged |
An object to be used by other functions. This object is a result of merging two or multiple results of simulating the returns to different trading strategies
# Suppose that "res1", "res2", and "res3" are the results of simulations of # three different trading strategies. The following command merges the three results ## Not run: results <- sim.results.merge(res1, res2, res3) ## End(Not run)