R/fakedata.R

Defines functions fakedata

Documented in fakedata

fakedata <-
function(formula,s=.25){
  y=formula
  error=rnorm(length(y),0,s*sd(y))
  return(y+error)
}

Try the handyplots package in your browser

Any scripts or data that you put into this service are public.

handyplots documentation built on May 2, 2019, 6:12 a.m.