rearrange_indiv_by_patch: Rearrange individuals with patches in columns

Description Usage Arguments Value Note Author(s)

View source: R/rearrange_indiv_by_patch.R

Description

This function rearranges an individual-level dataset by patch

Usage

1

Arguments

indivData

A data frame. Must have columns "patch", "species", "sex" and "specimen".

Value

A rearranged data frame with different patches placed in different columns.

Note

It is a separate function from rearrange_by_patch because it uses a for-loop and takes longer. For rearranging a species-level data frame, use rearrange_by_patch.

Author(s)

Raphael Scherrer


rscherrer/bop documentation built on May 22, 2019, 3:54 p.m.