Description Usage Arguments Details Value Author References Examples
The file contains a chi-square test table, a predicted density table, a summary of the the detection function, a summary for the model and a histogram of detection.
1 2 3 4 5 6 7 8 9 | global.summary(model, ...)
## S3 method for class 'distanceFit'
global.summary(model, species, file = "tempo",
directory = "C:/temp/distance")
## S3 method for class 'distanceList'
global.summary(model, species, file = "tempo",
directory = "C:/temp/distance")
|
model |
The output of a distance model fitted with the |
species |
vector containing the name of species in each output. |
file |
Name for the file. |
directory |
Where to save the output. |
This function creates a visual summary of the output file saved as a PDF. See the help files for mcds.wrap
for other examples.
This function will prints all the summary tables and an histogram with the predicted detection function in on a 11 X 8 inches PDF. If Global summary is applied on a list in will produce a serie of PDF.
Christian Roy
S.T. Buckland, D.R. Anderson, K.P. Burnham, J.L Laake, D.L. Borchers and L. Thomas. 2001. Introduction to Distance Sampling. Estimating abundance of biological populations. Oxford University Press.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ### Import and filter data
data(alcidae)
alcids<-filterECSAS(alcidae)
### Set arguments and parameters
path<-"c:/temp/distance"
pathMCDS<-"C:/Program Files (x86)/Distance 6"
breaks<-c(0,50,100,200,300)
STR_LABEL<-"STR_LABEL"
STR_AREA<-"STR_AREA"
SMP_LABEL<-"WatchID"
SMP_EFFORT<-"WatchLenKm"
DISTANCE<-"Distance"
SIZE<-"Count"
### Run analysis with the MCDS engine. Here, the WatchID is used as the sample.
x<-mcds.wrap(alcids,path=path,pathMCDS=pathMCDS,breaks=breaks,STR_LABEL=STR_LABEL,STR_AREA=STR_AREA,SMP_LABEL=SMP_LABEL,SMP_EFFORT=SMP_EFFORT,DISTANCE=DISTANCE,SIZE=SIZE,verbose=FALSE)
global.summary(model=x, species="alcids", file="alcidae_global", directory="C:/temp/distance")
END
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.