n.knots=function(n, cutoff=35, rate=0.2){ as.integer(trunc(pmin(n,cutoff+pmax(0,n-cutoff)^rate))) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.