# Create a simple exdf object
simple_exdf <- exdf(
data.frame(A = c(3, 2, 7, 9), species = c('a', 'a', 'a', 'a'), plot = c(1, 1, 1, 1)),
data.frame(A = 'm', species = '', plot = ''),
data.frame(A = 'Cat1', species = '', plot = '')
)
# Find its identifier columns
identifier_columns(simple_exdf)
# Apply the data frame method to the exdf object's main data frame
identifier_columns(simple_exdf$main_data)
Run the code above in your browser using DataLab