-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Jörg Groß
Sent: Wednesday, January 21, 2009 5:02 PM
To: r-help@r-project.org
Subject: [R] plot: abline() - define line length
Hi,
is there a way to define, that a line drawn via abline() should only
go from
Hi,
is there a way to define, that a line drawn via abline() should only
go from for example -2 to 1 on the x-axis (with something working
similiar to xlim()) ?
thanks for any help!
__
R-help@r-project.org mailing list
I use this function (a lot):
ablinepiece - function(a=NULL,b=NULL,reg=NULL,from,to,...){
# Borrowed from abline
if (!is.null(reg)) a - reg
if (!is.null(a) is.list(a)) {
temp - as.vector(coefficients(a))
if (length(temp) == 1) {
a - 0
b -
Thanks, that's great!
Am 22.01.2009 um 01:18 schrieb Remko Duursma:
I use this function (a lot):
ablinepiece - function(a=NULL,b=NULL,reg=NULL,from,to,...){
# Borrowed from abline
if (!is.null(reg)) a - reg
if (!is.null(a) is.list(a)) {
temp -
4 matches
Mail list logo