recipeSider: Specifying observations to be imputed.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/recipeSider.R

Description

Specifies which observation to impute.

Usage

1
2
recipeSider(species, taxonomic.class, tissue, diet.type, habitat,
  source.iso.13C, source.iso.15N, tree)

Arguments

species

a binomial species name as a character string.

taxonomic.class

the class of species as a character string, either "mammalia" or "aves".

tissue

the tissue type. Can be one of the following: c("blood", "claws", "collagen", "feather", "hair", "kidney", "liver", "milk", "muscle").

diet.type

the diet type. Can be one of the following: c("carnivore", "herbivore", "omnivore", "pellet").

habitat

a character string of either "marine" or "terrestrial".

source.iso.13C

the source carbon isotopic value (must be numeric).

source.iso.15N

the source nitrogen isotopic value (must be numeric).

tree

a phylo or multiPhylo object.

Value

A data.frame object with one row being a checked species for imputation.

Author(s)

Kevin Healy

See Also

prepareSider, combined_trees.

Examples

1
2
3
4
5
6
7
## Load the combined trees data
data(combined_trees)

## Initialise the data in the right format
new.data.test <- recipeSider(species = "Meles_meles", habitat = "terrestrial", 
   taxonomic.class = "mammalia", tissue = "blood", diet.type = "omnivore", 
   tree = combined_trees)

healyke/DEsiR documentation built on April 19, 2020, 7:14 p.m.