Displaying 5 results from an estimated 5 matches for "ablineclip".
2009 Jan 24
2
Is abline misbehaving?
...line by restricting the
extent of the line to less than the plotting region. This seems a useful
idea, and it looked like the easiest way to program it was to set up a
clipping region with "clip", draw the abline and then restore the
previous clipping region. Let us call this function ablineclip. After
quite a bit of testing, I have found that the first call to ablineclip
ignores the clipping region. It's not that simple. Successive calls to
ablineclip respect the clipping region, even if it changes. I can
reproduce the behavior like this:
plot(-3:3,-3:3)
clip(-2,2,-2,2)
abline(v=...
2009 Jan 24
2
Is abline misbehaving?
...line by restricting the
extent of the line to less than the plotting region. This seems a useful
idea, and it looked like the easiest way to program it was to set up a
clipping region with "clip", draw the abline and then restore the
previous clipping region. Let us call this function ablineclip. After
quite a bit of testing, I have found that the first call to ablineclip
ignores the clipping region. It's not that simple. Successive calls to
ablineclip respect the clipping region, even if it changes. I can
reproduce the behavior like this:
plot(-3:3,-3:3)
clip(-2,2,-2,2)
abline(v=...
2010 May 15
3
abline limit constrain x-range how?
Hello,
I managed to "linearize" my LDA decision boundaries now I would like to call abline three times but be able to specify the exact x range. I was reading the doc but it doesn't seem to support this use-case? are there alternatives. The reason why I use abline is because I first call plot to plot all the three datasets and then call abline to "append" these decision
2010 Aug 12
3
Median abline how-to ?
Hi,
I'm newbie with R and don't really know how to add a median line to each
of the groups that is not all the plot long.
Here is a small working code that i have adapted for my purpose. If
somebody could tell me how to draw median lines on each group and not
all plot long.
ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
trt <-
2010 Sep 20
3
How to set the limit of abline (regression line of lm)
Dear List,
I ran a regression model using lm and produced a regression line using
abline.
The line ranges from -20 to 20 in x axis,
and the section I only want is from -20 to 0.
Please kindly advise any function in abline () to set the range of x axes.
Thank you
Elaine
[[alternative HTML version deleted]]