Skip to content

Commit

Permalink
avoid NOTES for long circa_single() doc and weights
Browse files Browse the repository at this point in the history
  • Loading branch information
RWParsons committed Nov 6, 2023
1 parent 08d0f80 commit f4c8545
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
8 changes: 7 additions & 1 deletion R/circa_single.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
#'
#' # with sample weights (arbitrary weights for demonstration)
#' sw <- runif(n=nrow(df))
#' out2 <- circa_single(x = df, col_time = "time", col_outcome = "measure", weights = sw, suppress_all = TRUE)
#' out2 <- circa_single(
#' x = df,
#' col_time = "time",
#' col_outcome = "measure",
#' weights = sw,
#' suppress_all = TRUE
#' )
#' out2
#'
circa_single <- function(x,
Expand Down
4 changes: 3 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
utils::globalVariables(c("time", "measure", "group", "eq", "eq_1", "eq_2"))
utils::globalVariables(
c("time", "measure", "group", "eq", "eq_1", "eq_2", "weights")
)

extract_model_coefs <- function(model) {
if ("nls" %in% class(model)) {
Expand Down
8 changes: 7 additions & 1 deletion man/circa_single.Rd

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

0 comments on commit f4c8545

Please sign in to comment.