View source: R/transformations.R
hill_function | R Documentation |
Hill Function
hill_function(v, k = 1, m = 5, abs = TRUE)
v |
Numeric vector |
k |
Numeric integer or decimal |
m |
Numeric integer or decimal |
abs |
Boolean to determine if diminishing scale |
Applies the Hill Function 1 - (k^m)(k^m + v^m) on the input vector, v
The transformed vector v
hill_function(c(1,0,0,0,10,0,0,0,20), k=10) hill_function(c(1,0,0,0,10,0,0,0,20), k=0.1, abs = FALSE) hill_function(c(1,0,0,0,10,0,0,0,20), k=10, m = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.