Skip to contents

use power equation parameters to generate y values

Usage

power_equation(x, power_par)

Arguments

x

vector for x values

power_par

matrix contain parameters for power equation

Value

y values for given power equation parameters

Examples

power_equation(c(1,2,3,5,7), matrix(c(2,1,1,2),2,2))
#>      [,1] [,2] [,3] [,4] [,5]
#> [1,]    2    4    6   10   14
#> [2,]    1    4    9   25   49