|
|
| Subject: | XploRe: Learning Guide |
| See XploRe: |
| Quantlet: | graph46 | |
| Description: | Bivariate linear regression graphics. | |
| Download: | graph46.xpl |
library("plot") ; loads library plot
data = read ("bostonh") ; reads Boston Housing data
x = data[,5|6|14] ; selects columns 5, 6 and 14
p = grlinreg2(x, 5|5) ; generates regression plane
; with 4x4 mesh
plot(x, p) ; plots data set and regression plane
| Subject: | XploRe: Learning Guide |
| See XploRe: |