Re: [R] Error in rep.int(boxwex, n) : negative length vectors are not allowed

2012-02-15 Thread William Dunlap
bco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of R. Michael > Weylandt > Sent: Wednesday, February 15, 2012 6:23 PM > To: carol white > Cc: r-h...@stat.math.ethz.ch > Subject: Re: [R] Error in rep.in

Re: [R] Error in rep.int(boxwex, n) : negative length vectors are not allowed

2012-02-15 Thread R. Michael Weylandt
Can you give minimal reproducible code? I'm worried about using strings for the x axis but it'll be easier to diagnose with data and actual code. Use dput() to put your data sample (not your whole data set) in email-friendly plain text. Michael On Wed, Feb 15, 2012 at 10:46 AM, carol white wrote

[R] Error in rep.int(boxwex, n) : negative length vectors are not allowed

2012-02-15 Thread carol white
Dear All, I tried to invoke plot for a matrix of 196475 x2 dimension. I loaded the data with read.table. On one dimension, there are strings (names) and on the other dimension, the floats between 0 and 1. When I invoked plot by setting x to names and y to floats and ylim = c(0,1), I got the foll