Skip to content
Snippets Groups Projects
sample_gamma.Rd 651 B
Newer Older
  • Learn to ignore specific revisions
  • thierrychambert's avatar
    thierrychambert committed
    % Generated by roxygen2: do not edit by hand
    % Please edit documentation in R/sample_gamma.R
    \name{sample_gamma}
    \alias{sample_gamma}
    \title{Draw values from a Custom Gamma Distribution to force a Normal shape (symmetrical bell curve)}
    \usage{
    sample_gamma(n, mu, sd, r = 3)
    }
    \arguments{
    \item{n}{number of value to draw.}
    
    \item{mu}{mean}
    
    \item{sd}{standard deviation}
    
    \item{r}{scaling factor. Used to ensure a Normal shape for small mean values.}
    }
    \value{
    a vector of drawn values.
    }
    \description{
    Draw values from a Custom Gamma Distribution to force a Normal shape (symmetrical bell curve)
    }
    \examples{
    sample_gamma(n= 5, mu = 4, sd = 1.5)
    
    }