Displaying 1 result from an estimated 1 matches for "use_flag".
Did you mean:
useflag
2008 Jun 05
1
R-code embedded in VBE -- Type mismatch errors
...END OF VB code
-------------------------------------------
At this point the code execution stops, signalling the type mismatch
error.
The related R code is this:
------------------------------R code
------------------------------------------------------------
link_fit_vec <- function(lr,use_flags=rep(1,length(lr)),max_settle_time =
15, no_of_months=12, method="Exp"){
output =
link_fit_exp(lr,use_flags=rep(1,length(lr)),max_settle_time = 15,
no_of_months=12)[[4]]
output
}
link_fit_exp <- function(lr,use_flags=rep(1,length(lr)),max_settle_time =
15, no_of_m...