[R] Replicating Rows

2008-05-07 Thread mwittmann
Hi, I have a data matrix in which there are 1000 rows by 30 columns. The first column of each row is a numeric indicating the number of trips taken to a particular location with location attributes in the following column entries for that row. I want to repeat each row based on the number of

[R] Label Rotation when Plotting with Factors

2008-04-27 Thread mwittmann
Hello, Sorry if this is a repeat, having trouble finding what I need on archive and am a novice with graphics in R! I have plotted the results of a logit regression by factor, where "city" is the factor set name. The problem is city names are too long and I need to rotate them 90 degrees along