Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ktab.within

Process to go from a Within Analysis to a K-tables


Description

performs the process to go from a Within Analysis to a K-tables.

Usage

ktab.within(dudiwit, rownames = NULL, colnames = NULL, tabnames = NULL)

Arguments

dudiwit

an objet of class within

rownames

the row names of the K-tables (otherwise the row names of dudiwit$tab)

colnames

the column names of the K-tables (otherwise the column names
of dudiwit$tab)

tabnames

the names of the arrays of the K-tables (otherwise the levels of the factor which defines the within-classes)

Value

a list of class ktab. See ktab

Author(s)

Daniel Chessel
Anne-Béatrice Dufour anne-beatrice.dufour@univ-lyon1.fr

Examples

data(bacteria)
w1 <- data.frame(t(bacteria$espcodon))
dudi1 <- dudi.coa(w1, scann = FALSE, nf = 4)
wit1 <- wca(dudi1, bacteria$code, scannf = FALSE)
kta1 <- ktab.within(wit1)
plot(statis(kta1, scann = FALSE))

kta2 <- kta1[kta1$blo>3]
kplot(mfa(kta2, scann = FALSE))

ade4

Analysis of Ecological Data: Exploratory and Euclidean Methods in Environmental Sciences

v1.7-16
GPL (>= 2)
Authors
Stéphane Dray <stephane.dray@univ-lyon1.fr>, Anne-Béatrice Dufour <anne-beatrice.dufour@univ-lyon1.fr>, and Jean Thioulouse <jean.thioulouse@univ-lyon1.fr>, with contributions from Thibaut Jombart, Sandrine Pavoine, Jean R. Lobry, Sébastien Ollier, Daniel Borcard, Pierre Legendre, Stéphanie Bougeard and Aurélie Siberchicot. Based on earlier work by Daniel Chessel.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.