Dear all, I am trying to create a binomial tree over some big number of
nodes. Generally I work with this code "expand.grid(rep(list(c(0,1)), 4))"
however, R is getting memory allocation problem if the node number is quite
big (more than 25).

 

I need to build a complete grid because, I need to value some path-dependent
option. Has anybody come across this type of problem on build some big tree?
Then how you have solved that?

 

Thanks and regards,


	[[alternative HTML version deleted]]

