powered by
rav
The function exports to a text file the estimated parameters or the model residuals from a call to rav.
rav2file(object, what = c("resid","param"), whichModel = NULL, file = file.choose(), sep = ",", dec = ".")
An object analyzed by the function rav.
Character string indicating which output should be stored in the file, if raw residuals (what = "resid") or parameters (what = "param").
what = "resid"
what = "param"
Argument that specifies from which model values must be extracted. Options are:
"null": null model
"null"
"ESM": equal scale values model
"ESM"
"SAM": simple averaging model
"SAM"
"EAM": equal-weights averaging model
"EAM"
"DAM": differential-weight averaging model
"DAM"
"IC": information criteria
"IC"
As default setting, the values of the (first) best model are extracted.
A character string naming the file to write. As default, the function opens a mask to choose or build a file interactively.
Field separator string. Values within each row will be separated by this string.
String argument used to specify the decimal separator.
rav, rav.single
rav.single
# NOT RUN { data(pasta) model <- rav.single(pasta,lev=c(3,3)) rav2file(model, what="resid", file="PastaResid-1.csv") rav2file(model, what="resid", file="PastaResid-2.csv", sep=";", dec=",") # }
Run the code above in your browser using DataLab