scurve <-function(x,a=1,start=1,end=2){ x<-x*20 - 10 b<-end-start y<-1/(1+exp(-a*x)) y<-y*b+start return(y) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.