[R] ggplot2: ordering categorial data

2007-10-14 Thread Christoph Krammer
Hello again, everytime I think I got something to work, the next issue comes up... I have the following data.frame, I want to visualize: data_rb tld spam1 spam2 share 1 ca 826436 73452 0.0889 2 org 470550 25740 0.0547 3 de 156042 15531 0.0995 4 com 140753 7527

[R] Axis value as percentage

2007-10-11 Thread Christoph Krammer
Hello, I am using ggplot2 to display some distributions, I my data, there are percentages represented as 0.10, 0.13, ... I now want to do the axis show 5%, 10%, 15%, ... Is there is simple way to do this? I tried to use scale_y_prob(), but I didn't get through it. Thanks and regards,

[R] Setting qplot default options

2007-10-10 Thread Christoph Krammer
Hello, is there a possibility to set default options to qplot? I need to draw a lot of graphs and would like to have all of them as point plot but with a greater size and a fixed color for all dots. Thanks for help. Christoph __ R-help@r-project.org

[R] How to remove legend?

2007-10-08 Thread Christoph Krammer
Hello, I want to do some simple bar plots on email arrival data, but I do not quite get the point how to remove the legend. I use the following code: dow - read.csv(file=j:/uni_lernen/da_stockspam/svn/data/c411_weekday.txt, header=TRUE) dow$dayofweek - factor(dow$dayofweek) days - c(Sun, Mon,

Re: [R] How to remove legend?

2007-10-08 Thread Christoph Krammer
-Original Message- From: ONKELINX, Thierry [mailto:[EMAIL PROTECTED] Sent: Monday, October 08, 2007 1:47 PM To: Christoph Krammer; r-help@r-project.org Subject: RE: [R] How to remove legend? Try somelike this library(ggplot2) dow - data.frame(dayofweek = factor(1:7), p = runif(7), w = c(0