|
|
| Subject: | XploRe: Learning Guide |
| See XploRe: |
| Quantlet: | desc02 | |
| Description: | Loading data and matrix operations. | |
| Download: | desc02.xpl |
library("xplore")
;
mat= #(1,5,9,8) ~ #(2.0,6.0,0.0,7.0) ~ #(3.4,7.8,1.44,10.432)
;
earn=read("cps85")
earn=earn[,1|2|5|8|10|11|12]
;
uscomp=readm("uscomp2")
branch=uscomp.text[,2]
salpro=uscomp.double[,2|4]
;
dim(mat)
dim(earn)
dim(branch)
dim(salpro)
;
rows(earn)
cols(earn)
;
mat[1,]
mat[,2]
mat[4,3]
| Subject: | XploRe: Learning Guide |
| See XploRe: |