search for: gpdlow

Displaying 1 result from an estimated 1 matches for "gpdlow".

Did you mean: gp_low
2007 Jul 05
3
Loop and function
Hi All, I am trying to make a loop for a function and I am using the following codes. "p" and "var" are some matrix obtained before. I would like to apply the function "gpdlow" for i in 1:12 and get the "returnlow" for i in 1:12. But when I ask for "returnlow" there are warnings and it turns out some strange result. for (i in 1:12){ gpdlow <- function(u){ p[,i]$beta -u*p[,i][[2]] } returnlow <- gpdlow(var[,i][var[,i]<(p[,i][[2]...