Re: [R] [GGplot] Geom_smooth with formula "power"?

2015-11-10 Thread Bert Gunter
tAnywhere(as.lm) > no object named ‘as.lm’ was found > > > I also found a couple of posts on R-bloggers pointing me to the ‘propagate' > package which has two different methods for constructing confidence intervals. > > http://rmazing.wordpress.com/2013/08/14/predictnls-part

Re: [R] [GGplot] Geom_smooth with formula "power"?

2015-11-10 Thread David Winsemius
different methods for constructing confidence intervals. http://rmazing.wordpress.com/2013/08/14/predictnls-part-1-monte-carlo-simulation-confidence-intervals-for-nls-models/ http://rmazing.wordpress.com/2013/08/26/predictnls-part-2-taylor-approximation-confidence-intervals-for-nls-models/ — David

Re: [R] [GGplot] Geom_smooth with formula "power"?

2015-11-09 Thread Catarina Silva
t = list(a=1,b=2)) Error in pred$fit : $ operator is invalid for atomic vectors > Return error... Ty, Catarina Silva -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: sábado, 7 de Novembro de 2015 01:09 To: bolseiro.raiz.csi...@portucelsoporcel.com; R mailling l

Re: [R] [GGplot] Geom_smooth with formula "power"?

2015-11-06 Thread Jeff Newmiller
Does [1] help? [1] http://stackoverflow.com/questions/10528631/add-exp-power-trend-line-to-a-ggplot --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live

[R] [GGplot] Geom_smooth with formula "power"?

2015-11-06 Thread Catarina Silva
Hi, It's possible to use ggplot and geom_smooth to adjust a power curve to the data? Initially i have done the adjustement with nls and the formula 'a*x^b', but resulted the singular matrix error for start solution. Alternatively I used the log transformation and i had correct results, but I can'