Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1019 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 1019 Bytes

qwickr

A quick and easy way to summarize clinical trial and other similar data, including hypothesis testing and reporting results in Excel and Word formats

Installation

qwickr is still in development and therefore is not on CRAN yet. However, users may install the development version using

remotes::install_github("qwickmalik/qwickr")

Alternatively, the zip file can be downloaded from the “qwickmalik/qwickr/install” folder

Use

Load the package using

library(qwickr)

The main functions in this package are prefixed with qwickr., while helper functions are prefixed with q.

Example

Summaries for categorical data

group <- rep(c("A", "B"), 10)
gender <- rep(c(1,1,0,0), 5)
time <- rep(1, 10)
df <- data.frame(group, gender, time)

qwickr.cat(x=df, outcomevar="gender", groupvar = "group", timevar = "time")