Problem: lines plots 1st 14x points then stops. boxplot(y1~lx) lines(y1~lx) Note tilda appearing as -(minus) on this thread. Variables: y1, lx; both=continuous Goal: display boxplots for y1 for each value of lx, then join with line (Loess are nice, any will do). Have tried with other versions of lines, but seems to be a core problem. No biggie, just I would like to know the limits of the function and to skip points if necessary eg 28x (x,y) points so plot (1,1), (3,3), (5,5) etc. As it is, my lines come way off the page after 14 (x,y) points for functions which appear otherwise broadly linear. -- View this message in context: http://r.789695.n4.nabble.com/14-points-for-lines-y-x-tp4401209p4401209.html Sent from the R help mailing list archive at Nabble.com.
Time for you to read the posting guide mentioned at the bottom of every R-help
message. Your assertions make no sense, so we will need a reproducible example
to understand you.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live
Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
dardisco <christopherdardis at gmail.com> wrote:
>Problem: lines plots 1st 14x points then stops.
>
>boxplot(y1~lx)
>lines(y1~lx)
>
>Note tilda appearing as -(minus) on this thread.
>Variables: y1, lx; both=continuous
>Goal: display boxplots for y1 for each value of lx, then join with line
>(Loess are nice, any will do).
>
>Have tried with other versions of lines, but seems to be a core
>problem. No
>biggie, just I would like to know the limits of the function and to
>skip
>points if necessary eg 28x (x,y) points so plot (1,1), (3,3), (5,5)
>etc.
>As it is, my lines come way off the page after 14 (x,y) points for
>functions
>which appear otherwise broadly linear.
>
>
>
>
>--
>View this message in context:
>http://r.789695.n4.nabble.com/14-points-for-lines-y-x-tp4401209p4401209.html
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>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.
dardisco wrote: > Problem: lines plots 1st 14x points then stops. > > boxplot(y1~lx) > lines(y1~lx) > > Note tilda appearing as -(minus) on this thread. > Variables: y1, lx; both=continuous > Goal: display boxplots for y1 for each value of lx, then join with ine > (Loess are nice, any will do). > > > Have tried with other versions f lines, but seems to be a core > problem. No > biggie, just I would like to know the limits of the function and to > skip > points if necessary eg 28x (x,y) points so plot (1,1), (3,3), (5,5) > etc. > As it is, my lines come way off the page after 14 (x,y) points for > functions > which appear otherwise broadly linear. Hi dardisco, boxplot and lines are probably doing different things with your formula. I think what you want is to get the medians from the return values of the boxplot call and plot lines from those values. Jim