### Name: notExp ### Title: Functions for better-than-log positive parameterization ### Aliases: notExp notLog ### Keywords: models smooth regression ### ** Examples ## Illustrate the notExp function: ## less steep than exp, but still monotonic. x <- -100:100/10 op <- par(mfrow=c(2,2)) plot(x,notExp(x),type="l") lines(x,exp(x),col=2) plot(x,log(notExp(x)),type="l") lines(x,log(exp(x)),col=2) # redundancy intended x <- x/4 plot(x,notExp(x),type="l") lines(x,exp(x),col=2) plot(x,log(notExp(x)),type="l") lines(x,log(exp(x)),col=2) # redundancy intended par(op) range(notLog(notExp(x))-x) # show that inverse works!