search for: km_newman

Displaying 2 results from an estimated 2 matches for "km_newman".

2008 Aug 09
1
Converting nested "for" loops to an "apply" function(s)
Hello, I would like to know more about how to use the "apply" family and have attempted to convert nested "for" loops in example code from Contributed Documentation ("The Friendly Beginners' R Course? by Toby Marthews (ZIP, 2007-03-01)") to an "apply" function(s). The relevant code is: distances=c(51,65,175,196,197,125,10,56) #distances of 8 houses
2008 Sep 06
1
Axis tick label format and rotation
Please tell me how to format data in a data frame so when currency amount is displayed in a chart the axis tick labels contain leading $ signs. Please also tell me if it is possible to rotate x axis labels using ggplot2. Thank you, Kurt