10  Example Script

library(FinCatchAccess)
library(FinCatchAnalysis)

#use filters gadget to make a filter object
myFilters<-fcacc_show_FilterSelector_gadget()

#feed the filter object with your ID values into a data object
myDataObject<-fc_data$new(myFilterObject=myFilters, myGroupSurveys=TRUE)

#run an analysis by feeding it the data object
myAnalysis<-fca_meanLength(myDataObject)

#print output tables with printTablesAuto/Html/Latex
myAnalysis$printTablesAuto()

#if you want canned plots
myAnalysis$plots

#view potential data problems
myDataObject$warnings
myDataObject$errors

#view analysis issues
myAnalysis$warnings
myAnalysis$errors