invlogit.Rd
Calculates the inverse logit
invlogit(x)
x | Vector of numbers |
---|
x
mapped to [0, 1]
Maps the real line to [0, 1]
invlogit(3)#> [1] 0.9525741invlogit(-6:6)#> [1] 0.002472623 0.006692851 0.017986210 0.047425873 0.119202922 0.268941421 #> [7] 0.500000000 0.731058579 0.880797078 0.952574127 0.982013790 0.993307149 #> [13] 0.997527377#> [1] 0.2689414 0.7310586 0.8807971