search for: schname

Displaying 1 result from an estimated 1 matches for "schname".

Did you mean: sch_name
2004 Nov 29
1
Labeling charts within a loop
...to a chart. The loop I created is below that subsets a dataframe and creates a chart for each school based on certain variables. As it stands now, they title includes the school's ID number. Instead, 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="&q...