observation_hist: Plot a detection histogram of apparent density.

Description Usage Arguments Details Author Examples

View source: R/observation_hist.R

Description

This function will allow the user to visualise the histogram of observations in function of distance class.

Usage

1
2
3
observation_hist(dataset, count, dist.class, keep.class, breaks,
  color = "white", ungroup = F, rescale = 1, Type = c("Line",
  "Point"))

Arguments

dataset

A data.frame containing observations.

count

which column in the data.frame hold the information for the cluster size.

dist.class

which column in the data.frame hold the information for the distance class.

keep.class

which class of observations should be used for the analysis.

breaks

what are the intervals for the distance analysis.

color

fill color for the bars

ungroup

will plot the Count histogram instead of the group histogram if TRUE

rescale

set the height of the first bin

Type

Type of transect

Details

Make a histogram of the observations in function of the distance class

Author

Christian Roy

Examples

1
2
3
4
5
6
###Import the data
data(alcidae)

###Check the naïve detection histogram for alcidae
Observation_hist(alcidae, count="Count", dist.class="Distance", keep.class=c("A", "B", "C", "D"), breaks=c(0,50,100,200,300), color="white")
#END

RoyChristian/GeoAviR documentation built on Jan. 13, 2020, 8:16 p.m.