changeTraits: changeTraits provides an easy way of modifying species...

Description Usage Arguments Value Author(s)

View source: R/changeTraits.R

Description

changeTraits provides an easy way of modifying species trait's table in LandR by multiplication of original traits by a specified factor

Usage

1
changeTraits(speciesTable, param, facMult, species)

Arguments

speciesTable

speciesTable data.table from LandR. Contains different traits in columns and a row for each species.

param

Character vector of the trait to be modified.

facMult

numeric. Factor by which the specified trait should be multiplied.

species

character string of the Species for which the trait should be modified

Value

Returns a data.table updated with the new parameters.

Author(s)

Tati Micheletti


tati-micheletti/usefulFuns documentation built on July 7, 2020, 3:19 p.m.