df_to_gbi: Group by individual matrix.

View source: R/RcppExports.R

df_to_gbiR Documentation

Group by individual matrix.

Description

Convert a data frame into a group by individual matrix.

Usage

df_to_gbi(d, col_scan, col_id, uIds, uScans)

Arguments

d

a data frame.

col_scan

an integer indicating the column number holding the information of the scans.

col_id

an integer indicating the column number holding the individuals observations.

uIds

a character vector holding all the ids of the individuals.

uScans

a character vector holding all the ids of the scans.

Value

A group by individual matrix.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzales


SebastianSosa/ant documentation built on Sept. 23, 2023, 7:06 a.m.