Skip to content

Commit

Permalink
Merge pull request #36 from sbegueria/devel
Browse files Browse the repository at this point in the history
spi(): adding verbose to the list of parameters
  • Loading branch information
sbegueria authored May 26, 2022
2 parents f4952c5 + 308275b commit 6202848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions R/spi.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ spi <- function(x, y,...) UseMethod('spi')
#'
spi <- function(data, scale, kernel=list(type='rectangular',shift=0),
distribution='Gamma', fit='ub-pwm', na.rm=FALSE,
ref.start=NULL, ref.end=NULL, x=FALSE, params=NULL, ...){
ref.start=NULL, ref.end=NULL, x=FALSE, params=NULL, verbose=TRUE, ...){
sol <- spei(data, scale, kernel, distribution, fit, na.rm,
ref.start, ref.end, x, params)
ref.start, ref.end, x, params, verbose)
sol$call <- match.call(expand.dots=FALSE)

return(sol)
Expand Down

0 comments on commit 6202848

Please sign in to comment.