You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' @param mods object of class \code{jointest} (it can be a list of glm or flipscores converted in a \code{jointest} object using \code{as.jointest})
44
-
#' @param comb_funct Combining function to be used. Several functions are implemented: "mean", "median", "Fisher", "Liptak", (equal to) "Stoufer", "Tippet", (equal to) "minp", "maxT" (the default).
45
-
#' Alternativelly it can be a custom function that has a matrix as input. The function return a vector of length equal to the number of rows of the input matrix.
46
-
#' @param tail direction of the alternative hypothesis. It can be "two.sided" (or 0, the default), "less" (or -1) or "greater" (or +1)
47
42
#' @export
48
-
# @describeIn combine \code{combine_contrasts} combines the tests derived from the contrasts of a factor variable to get a global test for the factor (i.e. categorical predictor). It has strong analogies with anova test.
43
+
#' @describeIn combine \code{combine_contrasts} combines the tests derived from the contrasts of a factor variable to get a global test for the factor (i.e. categorical predictor). It has strong analogies with anova test.
Copy file name to clipboardExpand all lines: R/flip2sss.R
+70-47Lines changed: 70 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -5,30 +5,32 @@
5
5
#' @param formula A formula or a list of formulas. It can be a complete model as.formula or a list of formulas, one for each element produced by the function.
6
6
#' @param data The dataset to be used for fitting the model.
7
7
#' @param cluster A vector or a formula evaluated on the data that defines the clusters.
8
+
#' @param family as in \code{glm}, but given as a character. Not used if argument \code{summstats_within} is not \code{NULL}.
8
9
#' @param summstats_within A vector of summary statistics model within the data or a function with argument data.
9
10
#' @param ... Other arguments passed to the `flipscores` function.
10
-
#'
11
+
#' @export
11
12
#' @return A jointest object containing the model results. Note that the flipscores models for each coefficient within are also included in the jointest object.
0 commit comments