lookup(dnorm) # Stan equivalents for the normal PDF (in log form)
nrow(lookup("~")) # number of sampling statements available
lookup("foo") # fails
lookup("Student") # succeeds even though there is no such R function
lookup("^poisson") # every Stan function that starts with poisson
Run the code above in your browser using DataLab