This generates a starting place for writing a new greta
distribution.
By default this will save the output to "R/dist_name.R". To save to
somewhere else, see greta_distribution_template()
, which will generate
the R code as plain text, and you can then save somewhere else as you wish.
Examples
if (FALSE) { # \dontrun{
write_new_distribution(
dist_name = "lognormal",
dist_arg_list = c("meanlog", "sdlog")
)
} # }