Displaying 1 result from an estimated 1 matches for "abnmodel".
Did you mean:
abmodel
2009 Jan 19
1
sort or order problem.
...nction that is a major improvement over which I was using MS
Excel for:
function()
{
files <- list.files(pattern="ABN*") # All the models start with the letters
ABN
for( i in 1:length(files)) # loop through the files.
{
f <- files[i] # temporary variable
load(f) # Put the "abnmodel" object in this workspace
z <- predict(abnmodel, abndata) # use my student's data, and their various
models to predict with new data.
write(z, "output.txt", ncolumns = 11, append = TRUE, sep="\t") # Write the
output to a file for import into Excel.
}
}
This work...