Set GRiwrm rownames with ID
with rownames(griwrm) <- griwrm$id
and after that we could write griwrm[id,]
instead of griwrm[griwrm$id==id,]
Maybe a benchmark will prove that it is faster.
Bonjour, la 2ème lettre d'information du projet de forge INRAE est disponible à cette adresse : https://forge-inrae.pages.mia.inra.fr/www/post/2024-02-14-info-lettre-2/
with rownames(griwrm) <- griwrm$id
and after that we could write griwrm[id,]
instead of griwrm[griwrm$id==id,]
Maybe a benchmark will prove that it is faster.