Skip to content

Commit

Permalink
add note about bumbl() finding switchpoint when there isn't one. #62
Browse files Browse the repository at this point in the history
  • Loading branch information
Aariq committed Apr 8, 2021
1 parent bfe20a1 commit 6bc21fc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
8 changes: 7 additions & 1 deletion R/colony-growth.R
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,13 @@ brkpt <-
#' this, the assumptions for GLMs apply, namely independence and homogeneity
#' of variance. See `vignette("bumbl", package = "bumbl")` for more details on
#' the underlying math of the model.
#'
#' @note This function *assumes* there is a switchpoint and does not test
#' whether the switchpoint model is significantly better than a log-linear
#' model. As a result, it may estimate a switchpoint even if the data do not
#' represent a true switchpoint. See the vignette for an example of how to
#' extract the GLMs---you could compare them to a simpler log-linear model
#' without the switchpoint by AIC or a likelihood ratio test to test the
#' significance of the switchpoint.
#' @seealso [plot.bumbldf()]
#'
#' @return A `data.frame` with the additional class `bumbldf` containing a
Expand Down
15 changes: 10 additions & 5 deletions man/bumbl.Rd

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

0 comments on commit 6bc21fc

Please sign in to comment.