Skip to content

Commit

Permalink
export tweedie
Browse files Browse the repository at this point in the history
  • Loading branch information
davidruegamer committed Apr 23, 2024
1 parent cbc19d3 commit 4516962
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 6 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export(tib_layer)
export(tibgroup_layer)
export(tibgroup_layer_torch)
export(tiblinlasso_layer_torch)
export(tweedie)
export(weight_control)
import(Matrix)
import(R6)
Expand All @@ -140,6 +141,7 @@ import(reticulate)
import(tensorflow)
import(tfprobability)
import(torch, except = as_iterator)

importFrom(graphics,abline)
importFrom(graphics,filled.contour)
importFrom(graphics,matplot)
Expand Down
7 changes: 6 additions & 1 deletion R/families.R
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,12 @@ tfd_tweedie <- function(loc, phi, p = 1.5, quasi = FALSE,

}

# tfd_distfun for (Quasi-)Tweedie to allow for flexible p
#' tfd_distfun for (Quasi-)Tweedie to allow for flexible p
#' @param p integer; defines distribution
#' @param quasi logical; whether to use quasi-likelihood or deviance resids
#' @param output_dim integer; currently only univariate responses supported
#' @export
#'
tweedie <- function(p, quasi = FALSE, output_dim = 1L)
{

Expand Down
9 changes: 4 additions & 5 deletions man/processors.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions man/tweedie.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4516962

Please sign in to comment.