Presidents: Contingency table with US Presidents speeches.

Description Usage Format Source Examples

Description

A data set on US presidents inaugural speeches.

Usage

1

Format

A data frame with 13 rows and 836 columns. Rows represents the US presidents (from 1940 to 2009) and columns words used during their inaugural addresses. This is a contingency table.

Source

http://www.presidency.ucsb.edu and http://www.usa-presidents.info/union/ DtmVic software (Lebart 2015) http://www.dtmvic.com/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
data(Presidents)
isa.ca <- ISA(Presidents, delta = 0.1, transformation = "CA")
rownames(isa.ca$mu.hat) <- rownames(Presidents)
colnames(isa.ca$mu.hat) <- colnames(Presidents)
res.isa.ca <- CA(as.data.frame(isa.ca$mu.hat), graph = FALSE)
plot(res.isa.ca, title = "Regularized CA", cex = 0.8, selectRow = "contrib 40")
plot(res.isa.ca, title = "Regularized CA", cex = 0.6, invisible = "row" )

## End(Not run)

denoiseR documentation built on March 26, 2020, 8:10 p.m.