importRes(res.file, info="", Dev=FALSE, CPUE=FALSE, Survey=FALSE,
CAc=FALSE, CAs=FALSE, CLc=FALSE, CLs=FALSE, LA=FALSE,
verbose=FALSE)scape containing at least N, B,
and Sel. The other elements may or may not be included in the
list, depending on how importRes was called:plotB,
plotCA, plotCL, plotIndex,
plotLA, plotN, and plotSel.
read.table, readLines, and
scan are commonly used to import data from text files.path <- paste(.find.package("scape"), "/example/cod.res", sep="")
x.cod <- importRes(path, Dev=T, Survey=T, CAc=T, CAs=T)Run the code above in your browser using DataLab