Displaying 1 result from an estimated 1 matches for "abndata".
Did you mean:
ab_data
2009 Jan 19
1
sort or order problem.
...el 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 works great for PREPARING data for Excel, but I would rather not use...