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

Catarina Silva bolseiro.raiz.csilva at portucelsoporcel.com
Fri Nov 6 11:41:18 CET 2015


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't draw a power
curve on the graphic.

Someone know how to solve this problem?

 

Ty,

 

Catarina Silva  


Imprima no nosso papel - Cuide do ambiente
--------------------------
Print on our paper - Care for the environment.
--------------------------
http://backoffice.portucelsoporcel.net/dynamic-media/files/utilizar_papel_e_promover_o_desenvolvimento_da_floresta.pdf



More information about the R-help mailing list