cork: The Cork Dataset

Description Usage Format References Examples

Description

Thickness of cork borings in four directions of North, South, East, and West are measured for 28 trees. The problem here is to examine if the bark deposit is same in all the directions.

Usage

1

Format

A data frame with 28 observations on the following 4 variables.

North

thickness of cork boring in the North direction

East

thickness of cork boring in the East direction

South

thickness of cork boring in the South direction

West

thickness of cork boring in the West direction

References

Rao, C. R. (1973). Linear Statistical Inference and Its Applications, 2e. J. Wiley.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(cork)
corkcent <- cork*0
corkcent[,1] <- cork[,1]-mean(cork[,1])
corkcent[,2] <- cork[,2]-mean(cork[,2])
corkcent[,3] <- cork[,3]-mean(cork[,3])
corkcent[,4] <- cork[,4]-mean(cork[,4])
corkcentsvd <- svd(corkcent)
t(corkcentsvd$u)%*%corkcentsvd$u
t(corkcentsvd$v)%*%corkcentsvd$v
round(corkcentsvd$u %*% diag(corkcentsvd$d) %*% t(corkcentsvd$v),2)
round(corkcent,2)
corkcentsvd$d


Search within the ACSWR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.