Hello r-community,

my name is philipp and i´m studying economics at the university of bonn.
I´m writing a paper about an experimental entry game and need help to write a 
for loop.

for (i in 0:7) {

data <- read.table("~/Uni/SoSe 
13/Bachelorarbeit/entryGameAnalysis/analysis/data/23.04.13...10H/GROUP0/0/history.txt",
 sep="\t" , header=TRUE, blank.lines.skip=TRUE, strip.white = TRUE)
data[5]
}

the goal is to read column 5 of the history.txt for GROUP0/0, 
GROUP0/1,…..GROUP0/7.

Thank you all for your quick help and response.

Sincerly Philipp Rath

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to