power_equation function

use power equation parameters to generate y values

use power equation parameters to generate y values

power_equation(x, power_par)

Arguments

  • x: vector for x values
  • power_par: matrix contain parameters for power equation

Returns

y values for given power equation parameters

Examples

power_equation(c(1,2,3,5,7), matrix(c(2,1,1,2),2,2))