Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

formatMult

Create unmarkedMultFrame from Long Format Data Frame


Description

This convenience function converts multi-year data in long format to unmarkedMultFrame Object. See Details for more information.

Usage

formatMult(df.in)

Arguments

df.in

a data.frame appropriately formatted (see Details).

Details

df.in is a data frame with columns formatted as follows:

Column 1 = year number
Column 2 = site name or number
Column 3 = julian date or chronological sample number during year
Column 4 = observations (y)
Column 5 – Final Column = covariates

Note that if the data is already in wide format, it may be easier to create an unmarkedMultFrame object directly with a call to unmarkedMultFrame.

Value

unmarkedMultFrame object


unmarked

Models for Data from Unmarked Animals

v1.1.0
GPL (>= 3)
Authors
Richard Chandler [aut], Ken Kellner [aut], Ian Fiske [aut], David Miller [aut], Andy Royle [cre, aut], Jeff Hostetler [aut], Rebecca Hutchinson [aut], Adam Smith [aut], Marc Kery [ctb], Mike Meredith [ctb], Auriel Fournier [ctb], Ariel Muldoon [ctb], Chris Baker [ctb]
Initial release
2021-05-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.