calculate_parameter_temporal_derivative_polynomial

calculate_parameter_temporal_derivative_polynomial(
  data,
  temporal_derivative = 1,
  polynomial = 2
)

Arguments

data

data to have temporal derivatives and polynomial calculated

temporal_derivative

temporal derivative value (default: 1)

polynomial

polynomial value (default: 2)

Value

data.frame of original data along with its temporal derivatives and its polynomial

Examples

data <- data.frame(cbind(roi_1 = sample(7500:15000, 10, T)/100, roi_2 = sample(7500:15000, 10, T)/100)) calculate_parameter_temporal_derivative_polynomial(data)
#> roi_1 roi_2 roi_1_td_1 roi_2_td_1 roi_1_poly_2 roi_2_poly_2 #> 1 127.92 97.44 0.00 0.00 16363.526 9494.554 #> 2 130.26 121.12 2.34 23.68 16967.668 14670.054 #> 3 141.03 92.90 10.77 -28.22 19889.461 8630.410 #> 4 96.10 121.31 -44.93 28.41 9235.210 14716.116 #> 5 79.84 93.70 -16.26 -27.61 6374.426 8779.690 #> 6 134.89 116.72 55.05 23.02 18195.312 13623.558 #> 7 101.06 83.97 -33.83 -32.75 10213.124 7050.961 #> 8 145.70 140.89 44.64 56.92 21228.490 19849.992 #> 9 89.75 101.14 -55.95 -39.75 8055.062 10229.300 #> 10 107.72 109.98 17.97 8.84 11603.598 12095.600 #> roi_1_td_1_poly_2 roi_2_td_1_poly_2 #> 1 0.0000 0.0000 #> 2 5.4756 560.7424 #> 3 115.9929 796.3684 #> 4 2018.7049 807.1281 #> 5 264.3876 762.3121 #> 6 3030.5025 529.9204 #> 7 1144.4689 1072.5625 #> 8 1992.7296 3239.8864 #> 9 3130.4025 1580.0625 #> 10 322.9209 78.1456