search for: carlucr

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

Did you mean: carluc
2004 Nov 11
6
scan or source a text file into a list
...ls()) > source("Params.R") > ls() [1] "fnr" "nYears" "qe" "year0" > fnr [1] 0.3 > nYears [1] 50 > foo.list <- list(fnr = fnr, nYears = nYears) > > foo.list $fnr [1] 0.3 $nYears [1] 50 The model is then run with > CarlucR(inputParamList = foo.list, ...) I can't build inputParamList "by hand" as above because the number of initial parameters changes with the model run and this runs in a wrapper. Any thoughts? Some combination of paste with scan or parse? -Andy > version _ platform i386-p...