Learn R Programming

twn (version 0.2.6)

twn_children: Vind alle 'child-taxa'

Description

Deze functie kan gebruikt worden om alle child-taxa van een bepaalde parent te vinden.

Usage

twn_children(
  parent,
  taxonlevel = c("All", "Subspecies", "Species", "Genus", "Familia", "Ordo", "Classis",
    "Phylum"),
  only_preferred = TRUE
)

Value

EEn vector met de namen van de child-taxa

Arguments

parent

charactervector met naam (of namen) van het parenttaxon

taxonlevel

Het gewenste taxonlevel van de children of "All" voor alle taxonlevels.

only_preferred

logical. Alleen voorkeursnamen? Default is TRUE.

Examples

Run this code

twn_children("Bufonidae")
twn_children("Bufonidae", taxonlevel = "Species")
twn_children("Bufonidae", only_preferred = FALSE)

Run the code above in your browser using DataLab