Re: [R] Using jitter function with differing variable lengths

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Mon, 18 Apr 2011 18:15:52 +0200

On 18.04.2011 04:11, Danica Horrell wrote:
> Hi,
>
> I am trying to make a scatter plot with 4 different categories using the
> jitter function. My code returns a variable length error and will not plot
> because my four categories have different numbers of samples. When I delete
> samples from my spreadsheet so that each of the categories has the same
> number of variables, it plots just fine.
>
> Is there any way to get around this and plot all of my samples using jitter?

That should work right way with the right code. Yours probably isn't right.

PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

In that case, we could probably show what you need to improve.

Uwe Ligges

> Thanks for the help!
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 18 Apr 2011 - 16:19:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Apr 2011 - 16:20:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive