Skip to content

Commit db45fd6

Browse files
committed
flip2sss
1 parent a2ab068 commit db45fd6

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

R/flip2sss.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@
1313
#'
1414
#' @examples
1515
#' formula <- SALUTE ~ GENERE * TIME + PROV_BAMB + ETA_B_ARRIVO
16-
#' data <- adolong
1716
#' cluster <- adolong$SOGG
1817
#' library(logistf)
19-
#' temp=logistf::logistf(SALUTE ~ TIME, family = binomial(link = "logit"),data=data,control=logistf.control(maxit=100))
2018
#' summstats_within <- 'logistf::logistf(SALUTE ~ TIME, family = binomial(link = "logit"),control=logistf::logistf.control(maxit=100))'
2119
#' res <- flip2sss(formula, data, cluster, summstats_within)
22-
#'attr(model.matrix(mods[[1]]),"assign")
20+
#' summary(res)
2321
#' @import dplyr
2422
#' @import magrittr
2523
#' @author Livio Finos, Angela Andreella
@@ -59,7 +57,7 @@ flip2sss <- function(formula=NULL,
5957
mods[[i]]$call$formula = eval(as.formula(vars_between_formulas[[i]]))
6058
}
6159

62-
res = join_flipscores(mods, n_flips = 5000, seed = 1)
60+
res = join_flipscores(mods,...)
6361
# summary(res)
6462

6563
res$summary_table$Coeff = apply(res$summary_table[, 2:1], 1, paste, collapse = ":")

man/flip2sss.Rd

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/maxT.light.Rd

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)