data <- data.frame(
tree_id = 1:3,
species_code = c("PINUS_SYLVESTRIS", "QUERCUS_RUBRA", "FAGUS_SYLVATICA"),
c150 = c(145, NA, NA),
c130 = c(NA, 156, NA),
dbh = c(NA, NA, 40),
htot = c(25, 30, 28),
hdom = c(NA, 32, NA)
)
GCubeR(data)
Run the code above in your browser using DataLab