lid: Extract a particular individual from a returned data frame

View source: R/luna.R

lidR Documentation

Extract a particular individual from a returned data frame

Description

Extracts one or more particular individual(s) from a data-frame returned by lx()

Usage

lid(d, id)

Arguments

d

a data-frame in the format returned by lx()

id

a vector of one or more string ID of the individual(s) to filter

Value

the row-subset of the data-frame for individual(s) in id

Examples

## Not run: 
> lid(lx(k, "EPOCH"), "nsrr02")
      ID DUR INC   NE
2 nsrr02  30  30 1195

> lid(lx(k, "EPOCH"), c("nsrr02", "nsrr03"))
      ID DUR INC   NE
2 nsrr02  30  30 1195
3 nsrr03  30  30 1364

## End(Not run)

remnrem/luna documentation built on June 1, 2025, 2:14 p.m.