retrieve response table from conditioned redundancy analysis in r

To retrieve the response table from Conditioned Redundancy Analysis in R, you can use the crable() function from the vegan package. This function returns a list of results which includes a Response table, an explanatory table and a model summary.

Here's an example using the built-in dune dataset:

main.r
library(vegan)

# Load data
data(dune)

# Perform conditioned redundancy analysis using crq() function
cra <- crq(dune)

# Retrieve results including response table
summary(cra)$response
187 chars
11 lines

This will display the response table as output in the R console. Alternatively, you can save the response table as a separate object:

main.r
response_table <- summary(cra)$response
40 chars
2 lines

You can also visualise the response table using ordiplot() function from the vegan package:

main.r
# Plot the response table
ordiplot(cra, type = "response")
59 chars
3 lines

This will produce a visualisation of the response table.

gistlibby LogSnag