Fits a DCCA using CANOCO.exe program

fit_ordination_dcca(
  data_source_resp,
  data_source_pred,
  sel_complexity = c("linear", "poly_2", "poly_3"),
  downweight = FALSE
)

Arguments

data_source_resp

data frame with response data (pollen counts or percentages). Sample ID as rownames.

data_source_pred

Data frame with the predictor values (depth or age). Sample ID as rownames. The number of rows must be identical with the number of rows in data_source_resp

sel_complexity

Indicate how the predictor should be used

  • "linear" - a linear predictor

  • "poly_2" - a polynomial predictor of second order

  • "poly_3" - a polynomial predictor of third order

downweight

logical, whether to downweight rare species or not

Value

  • case_r - numeric matrix with CaseR scores for first 4 axes

  • tot_inertia - total variation in (transformed) response data

  • sel_complexity - see sel_complexity agument description