power_equation_fit function

use power equation to fit given dataset

use power equation to fit given dataset

power_equation_fit(data, n = 30, trans = log10, thread = 2)

Arguments

  • data: cleaned dataframe
  • n: scales for how many interpolation needed
  • trans: indicate log/log2/log10 transform dataset
  • thread: scales for how many thread used

Returns

list contain power equation parameters and fitted data