[R] A question on the abline function

PIKAL Petr petr.pikal at precheza.cz
Tue Jul 9 08:18:44 CEST 2013


Hi

you did not provide enough info for resolving your error (at least not enough for myself).

How did you call abline?

Standard way of calling abline is:

fit <- lm(...)
abline(fit) 

So please provide code you used, R version maybe OS and probably some data to play with.

Regards
Petr

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Xu, Jia2
> Sent: Monday, July 08, 2013 2:45 PM
> To: 'r-help at r-project.org'
> Subject: [R] A question on the abline function
> 
> Dear whom it may concerns,
> 
> I am Jia Xu, a summer intern analyst at Citi Research. I am also a
> graduate student studying Financial Engineering at Cornell. I am
> running regression analysis with Rstudio now. I have been experiencing
> difficulty with the abline function. No matter I call it directly in
> linear regression or call it through residual plots, or plot results
> from lasso regression, it produces the same error as the following:
> 
> Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
>   object 'C_abline' not found
> 
> Could you please help me check what is this problem?
> 
> Thanks for your time!
> 
> Best,
> 
> Jia Xu
> 
> Citi Research
> 
> ______________________________________________
> 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.



More information about the R-help mailing list