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
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. First read the instructions for posting. You gave us no data, no code, no example. Just an error message out of context. ------------------------------------- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77840-4352 -----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 8, 2013 7:45 AM 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.
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.
https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada> -----Original Message----- > From: jia2.xu at citi.com > Sent: Mon, 8 Jul 2013 12:45:03 +0000 > 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.____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!