Replace values for flat fits: ec50 = 0, h = 0.0001 and xc50 = +/- Inf
Examples
na <- list(x_0 = NA)
set_constant_fit_params(na, mean_norm_value = 0.6)
#> $x_0
#> [1] 0.6
#>
#> $fit_type
#> [1] "DRCConstantFitResult"
#>
#> $ec50
#> [1] 0
#>
#> $h
#> [1] 1e-04
#>
#> $r2
#> [1] 0
#>
#> $xc50
#> [1] Inf
#>
#> $x_mean
#> [1] 0.6
#>
#> $x_inf
#> [1] 0.6
#>
#> $x_AOC
#> [1] 0.4
#>
#> $x_AOC_range
#> [1] 0.4
#>