Displaying 1 result from an estimated 1 matches for "schirn".
Did you mean:
schirp
2004 Nov 29
1
Labeling charts within a loop
..., I want to replace this with the school's actual name, which is
stored in a variable called schname.
But so far, my attempts have been messy and ugly? Can anyone see a
mistake in my code?
Thanks,
Harold
#This portion of code takes the subset
school.list<-as.vector(unique(mansfield.dat$schirn))
for(school.number in school.list){
assign(paste("school", school.number, sep=""),
subset(mansfield.dat,mansfield.dat$schirn==school.number))}
for(school.number in school.list){
AV<-mean(get(paste("school",school.number,sep=""))[["bpra3ccf"]])...