r - Screeplot for variance after rda(mydata) in vegan -


i trying make 2 screeplots. 1. screeplot shows variance of each pc 2. plot shows relation of each variable pcx

i used vegan pca:

lui.c.v.pca <- rda(lui.c.v, scale=true)

i tried 1 vegan guide , replaced x (2x) lui.c.v.pca:

screeplot(lui.c.v.pca, bstick = false, type = c("barplot", "lines"), npcs = min(10, if (is.null(x$cca)) x$ca$rank else x$cca$rank), ptype = "o", bst.col = "red", bst.lty = "solid", xlab = "component", ylab = "inertia", main = deparse(substitute(lui.c.v.pca)))

error: object 'x' not found

does know did wrong or how can easily? thanks!


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -