Learn R Programming

denoiseR (version 1.0.2)

Presidents: Contingency table with US Presidents speeches.

Description

A data set on US presidents inaugural speeches.

Usage

data(Presidents)

Arguments

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.

Examples

Run this code
# 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" )
# }

Run the code above in your browser using DataLab