mp_cal_dca {MicrobiotaProcess} | R Documentation |
Detrended Correspondence Analysis with MPSE or tbl_mpse object
mp_cal_dca(.data, .abundance, .dim = 3, action = "add", origin = TRUE, ...) ## S4 method for signature 'MPSE' mp_cal_dca(.data, .abundance, .dim = 3, action = "add", origin = TRUE, ...) ## S4 method for signature 'tbl_mpse' mp_cal_dca(.data, .abundance, .dim = 3, action = "add", origin = TRUE, ...) ## S4 method for signature 'grouped_df_mpse' mp_cal_dca(.data, .abundance, .dim = 3, action = "add", origin = TRUE, ...)
.data |
MPSE or tbl_mpse object |
.abundance |
the name of abundance to be calculated. |
.dim |
integer The number of dimensions to be returned, default is 3. |
action |
character "add" joins the 'decorana' result to the object, "only" return a non-redundant tibble with the 'decorana' result. "get" return 'decorana' object can be processed with related vegan function. |
origin |
logical Use true origin even in detrended correspondence analysis. default is TRUE. |
... |
additional parameters see also 'vegan::decorana' |
update object or tbl according to the action.