Thanks Petr. Really appreciated!
Many thanks,
Eric
-Original Message-
From: PIKAL Petr [mailto:petr.pi...@precheza.cz]
Sent: 03 November 2017 07:54
To: Eric Pueyo; r-help@r-project.org
Subject: RE: [R] repeat a function
Hi
Well, I am not an expert in this field so I cannot comment your
Hi Petr,
Many thanks for your response.
Basically I want to create a probability matrix to be used in a trinomial tree
going forward. This is the reason why I thought to build the matrix around 0
would be much more efficient. I need to loop through because the probabilities
will depend on my
I want to populate the matrix prb through the function HWMProb <- function
(a,j,dt) that encapsulates different functions (please see code below), using
j= 0:2 for each j.
It only populates prb if I specify each function independently in the global
environment and then run the loop with the iF
3 matches
Mail list logo