library(MASS)
library(gMRPP)
library(knitr)
library(ggplot2) 
data(AMLclin)
data(AMLex)
data(vsets)
opts_chunk$set(
  comment = "#>",
  collapse = TRUE,
  digits = 3,
  tidy = FALSE,
  background = "#FFFF00",
  fig.align = 'center',
  warning = FALSE,
  message = FALSE
  )
options(width = 55, digits = 3)
theme_set(theme_bw())
getInfo <- function(what = "Suggests") {
  text <- packageDescription("gMRPP")[what][[1]]
  text <- gsub("\n", ", ", text, fixed = TRUE)
  text <- gsub(">=", "$\\\\ge$", text, fixed = TRUE)
  eachPkg <- strsplit(text, ", ", fixed = TRUE)[[1]]
  eachPkg <- gsub(",", "", eachPkg, fixed = TRUE)
  #out <- paste("\\\**", eachPkg[order(tolower(eachPkg))], "}", sep = "")
  #paste(out, collapse = ", ")
  length(eachPkg)
}

The gMRPP package (short for Generalized Multi-Response Permutation Procedure) contains functions to to carry out the generalized multi-response permutation procedure (GMRPP) and all of it variants for categorical, quantitative, and censored event-time variables. gMRPP loads packages as needed and assumes that they are installed.

Install gMRPP using

devtools::install_github('nsahr/gMRPP', dependencies = c("Depends", "Suggests"))


nsahr/gMRPP documentation built on Nov. 4, 2019, 10:10 p.m.