nhejazi / txshift
Showing 1 of 5 files from the diff.
Newly tracked file
R/txshift.R changed.
Other files ignored by Codecov

@@ -166,7 +166,6 @@
Loading
166 166
#'   ),
167 167
#'   eif_reg_type = "glm"
168 168
#' )
169 -
#' }
170 169
#'
171 170
#' # construct a TML estimate acconting for two-phase sampling and censoring
172 171
#' ipcwtmle <- txshift(
@@ -189,6 +188,7 @@
Loading
189 188
#'   ),
190 189
#'   eif_reg_type = "glm"
191 190
#' )
191 +
#' }
192 192
txshift <- function(W,
193 193
                    A,
194 194
                    C_cens = rep(1, length(A)),
@@ -210,12 +210,12 @@
Loading
210 210
                    ),
211 211
                    g_cens_fit_args = list(
212 212
                      fit_type = c("glm", "sl", "external"),
213 -
                      glm_formula = "C_cens ~ .",
213 +
                      glm_formula = "C_cens ~ .^2",
214 214
                      sl_learners = NULL
215 215
                    ),
216 216
                    Q_fit_args = list(
217 217
                      fit_type = c("glm", "sl", "external"),
218 -
                      glm_formula = "Y ~ .",
218 +
                      glm_formula = "Y ~ .^2",
219 219
                      sl_learners = NULL
220 220
                    ),
221 221
                    eif_reg_type = c("hal", "glm"),
Files Coverage
R 92.12%
Project Totals (10 files) 92.12%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading