# wwinertia.ord: Sorting of Rows and Columns by Intra Inertia in Double Intra... In pamctdp: Principal Axes Methods for Contingency Tables with Partition Structures on Rows and Columns

## Description

Rows or colums are sorted by their intra inertia. The rows or columns with the greatest and the least intra inertia are printed. The same output is printed for the intra inertia contribution of the partial rows or columns

## Usage

 `1` ```wwinertia.ord(parti,ax=0,coro="row",pato="tot",can=5,dec=1) ```

## Arguments

 `parti` an object of class `parwwm` `ax` number of the axis, if ax=0 the subespecie intra inertias are used `coro` within inertias for “row”s or “col”umns `pato` “tot”al or “par”tial within inertias `can` the `can` rows with the greatest intra inertias and the `can` rows with the least within inertias are printed `dec` number of decimals in the outputs

## Details

when `ax=0` the within inertias are calculed in the subspace of `nf` dimension

## Author(s)

Campo Elias PARDO cepardot@unal.edu.co

## Examples

 ``` 1 2 3 4 5 6 7 8 9 10 11``` ```# ICA of Ardeche using witwit.model data(ardeche) # change column names names(ardeche\$tab) <- paste(ardeche\$sta.fac,ardeche\$dat.fac,sep="") rownames(ardeche\$tab) <- # change row names paste(strtrim(rownames(ardeche\$tab),1),substr(rownames(ardeche\$tab),4, length(rownames(ardeche\$tab))),sep="") coa <- dudi.coa(ardeche\$tab, scann = FALSE, nf = 4) ica <- witwit.model(coa,ardeche\$row.blocks,ardeche\$col.blocks,scannf=FALSE,nf=4) parica <- partial.wwm(ica) wwinertia.ord(parica,ax=1) ```

pamctdp documentation built on May 1, 2019, 10:19 p.m.