Demo entry 6344404

r

   

Submitted by anonymous on Jan 13, 2017 at 05:11
Language: RConsole. Code size: 263 Bytes.

dat <- read.csv("~/Documents/ECON 322/data/week 2/wage1.csv")
names(dat)
educ <- dat$educ
educm <- educ[dat$married==1]
educnm <- educ[dat$married==0]
hist(educm, main="Education for married workers")
hist(educnm, main="Education for non married workers")

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).