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/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.