View source: R/cont_tr_fspace.R
tr.cont.scale | R Documentation |
This function standardizes continuous traits. It can be useful before
computing functional space. You will have to choose which standardized
method to use based on your data. For this function to work, there must be
no NA in your sp_tr
data frame.
tr.cont.scale(sp_tr, std_method = "scale_center")
sp_tr |
a data frame of traits values (columns) for each species (rows). Note that species names must be specified in the row names and traits must be continuous. |
std_method |
a character string referring to the standardization
method. Possible values:
|
A data frame of standardized trait values (columns) for each species (rows).
Camille Magneville and Sebastien Villeger
load(system.file('extdata', 'sp_tr_cestes_df', package = 'mFD'))
mFD::tr.cont.scale(sp_tr = sp_tr, std_method = 'scale_center')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.