[R] A question about boxplot: mean and median

2005-04-15 Thread R_xprt_wannabe
Dear List, I have worked through the examples given in the help on boxplot(). If I am reading it right, only the median is produced (as a default), which is represented by the horizontal line inside the box. What argument do I need to specify if I want to show the mean as well? Thanks, platfor

[R] Reading data from "clipboard"

2005-03-28 Thread R_xprt_wannabe
Dear List, As a way to learn R, I am trying out some of the examples shown in the Reference Cards. I use the following to read a column of numbers from Excel: x <- read.delim("clipboard") My questions are: 1. Why is it that the first number is omitted from the selected data range? How do I te

[R] How to split a single vector into a multiple-column and multiple-row matrix

2005-03-25 Thread R_xprt_wannabe
Dear List, I have, say, a 2000x1 numeric vector and would like to split it into, say, a 200x10 matrix. Any help is appreciated. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

[R] How to create a 'fit' plot

2005-03-18 Thread R_xprt_wannabe
Dear List, As someone who is in the process of trying to migrate from Excel, I'd appreciate any help on this question: I have a data set and want to fit, say, three distributions to it. I would like to create a plot that shows my data points against all three fitted curves (estimated d.f.). Bas