Displaying 1 result from an estimated 1 matches for "framevec".
Did you mean:
frameset
2012 Apr 01
1
indexing in a function doesn't work?
Hello,
I've written a small function that's supposed to save me some time, and
it's ending up killing it- the intention is to iteratively subset a dataset
fram on framevec, fit a model (either lm or nls depending on type) and
return the r2 or AIC from the model, respectively. Although as far as I can
tell in my code the plots are dependent on the fit of the model to the data
and the r2 and AIC reported are also dependent on the re-fitted model, the
plots show the sam...