pdb_subset | R Documentation |
Subset a Padrino database object
pdb_subset(pdb, ipm_ids)
pdb |
A Padrino database object. |
ipm_ids |
The |
Currently, the only variable to subset with is the ipm_id
.
Eventually, subsetting based on other variables will be possible with syntax
similar to subset
. At the moment, users will need to create a vector
of ipm_id
s based on searching and then pass that to subset. See
Examples
A new Padrino database object containing only the models specified in
ipm_ids
.
## Not run:
data(pdb)
poa_ind <- pdb$Metadata$ipm_id[pdb$Metadata$tax_family == "Poaceae"]
poa_db <- pdb_subset(pdb, ipm_ids = poa_ind)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.