qwickr.pkfe: Generate Fixed Effects Tables for PK Parameters

View source: R/qwickr.pkfe.R

qwickr.pkfeR Documentation

Generate Fixed Effects Tables for PK Parameters

Description

Run descriptive summaries and generate fixed effects tables

Usage

qwickr.pkfe(x, outcomevar, groupvar,  design="", assume.normal.dist=F)

Arguments

x

Data frame

outcomevar

Name of outcome variable (string)

groupvar

Name of the group variable (string)

design

specify the study design. Options: c("parallel", "crossover"). Default: "crossover"

assume.normal.dist

assume that the data is normally distributed? (T/F) Default: 'FALSE', the Shapiro Wilk test will be used to assess normality of the data. Data will be ranked if not normally distributed.

Details

Uses linear mixed effects model to compare PK parameters between groups and generate fixed effects tables as per [Health Canada](https://www.canada.ca/content/dam/hc-sc/documents/services/drugs-health-products/drug-products/applications-submissions/guidance-documents/bioavailability-bioequivalence/conduct-analysis-comparative.pdf) format.

Value

Returns a data frame of counts and percentages for each study arm and an associated p-value for each study time point in a repeated measures design.

Author(s)

Abdul Malik Sulley <asulley@uwo.ca> May 7, 2020

See Also

stats::fisher.test(), q.write.to.word, utils::write.csv

Examples

x <- qwickr.pkparams(pkdata)
pkfe.output <- qwickr.pkfe(x[[1]], outcomevar = "AUC", groupvar = "GROUPING")

qwickmalik/qwickr documentation built on March 30, 2022, 2:59 p.m.