library(Distance)
<- convert_units("meter", "kilometer", "square kilometer") conversion
Your skills as a distance sampling analyst
If you wish to perform a distance sampling analysis upon a data set, I have one for you to download. It is a bit of a scrappy data set, not very many line transects (12), not very many detections (43). As such, it might present a couple of challenges to you, but hopefully not too many. 🕵
- There was one covariate recorded ✍ with each detection–whether the animal was male or female .
- Units of measure 📏 are: perpendicular distances in meters, effort (transect lengths) in kilometers and area of study region in square kilometers.
Don’t forget to set the units properly
Remember some of the hints I have provided (in decision sequence above) along with decisions you will need to make regarding truncation.
Do a competent job with your analysis and we will share our findings (preferred model, point estimate of abundance and precision of abundance estimate) on Thursday during the practical session.
The data set (in CSV format) is available in the file space of this project, shown in the File panel, named mystery.csv.
This will be your first adventure looking at data that is not contained within the Distance
package. Therefore, your first analysis task will be to read the data from the .csv
file into R for subsequent analysis. Example code below:
<- read.csv("https://raw.githubusercontent.com/erex/Oct-Quarto/main/extras/mystery.csv") mydata
What happens after this is up to you. 🥴 🤔