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
Copy file name to clipboardExpand all lines: R/per_sd_metrics.R
+25-5Lines changed: 25 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
#' @param prs_col Name of PRS column (character).
5
5
#' @param seed A random number to be set as a seed for the training and testing sampling to be reproducible.
6
6
#' @param recipe_var A recipe from recipes::recipe() object, to be provided optionally, in case the recipe originally included in the model (status ~ prs + scaled_centered_pc(1:10) + age_analysis) is not what you need for your PRS.
7
+
#' @param split_var Name of column with two categories that define split between training and testing sets (character).
7
8
#'
8
9
#' @return A list with OR, AUC, delta AUC, and ROC curve for AUC with and without PRS.
0 commit comments