1 Reply Latest reply on Mar 3, 2016 4:06 PM by Patrick A Van Der Hyde

    fitting non linear trend lines to a log log graph

    Andrei Ilas

      Hi all,


      I want to fit a nonlinear trend on a log log graph. I managed to integrate R in Tableau and created a linear trend using the formula:


      ” tl <- lm( .arg2 ~ .arg1)

      tl$fitted ” ,

                SUM([x]), SUM([y]))

      However, this is not what I am looking for. From my research, it should be something with the nls function in R, but I am beginner in R and cannot write the function myself. Can you please help me with some suggestions?


      In Excel, it's a click distance to get the non-linear trend with the equation description.


      Your help is much appreciated.