Skip to contents

Package

mcradds mcradds-package
mcradds Package

Classes and Constructors

SampleSize()
SampleSize Class
MCTab()
MCTab Class
BAsummary()
BAsummary Class
RefInt()
Reference Interval Class
tpROC()
Test for Paired ROC Class
Desc()
Descriptive Statistics Class

Internal Helper Functions

cat_with_newline()
Concatenate and Print with Newline
h_factor()
Factor Variable Per Levels
h_summarize()
Summarize Basic Statistics
h_difference()
Compute Difference for Bland-Altman
h_fmt_num()
Format Numeric Data
h_fmt_est()
Format and Concatenate to String
h_fmt_range()
Format and Concatenate to Range
h_fmt_count_perc()
Format count and percent
esd.critical()
Compute Critical Value for ESD Test
tukey_outlier()
Detect Tukey Outlier
dixon_outlier()
Detect Dixon Outlier
robustRI()
Robust Method in Calculation of Reference Interval
nonparRI()
Nonparametric Method in Calculation of Reference Interval

Example Data

platelet
Quantitative Measurement Data
qualData
Simulated Qualitative Data
calcium
Reference Interval Data
nonparRanks
Nonparametric Rank Number of Reference Interval
glucose
Inermediate Precision Data
ldlroc
Two-sampled Paired Test Data
PDL1RP
PD-L1 Reader Precision Data
adsl_sub
CDISC ADSL Subsetting Data

Methods

show(<SampleSize>) show(<MCTab>) show(<BAsummary>) show(<RefInt>) show(<tpROC>) show(<Desc>)
Show Method for Objects
getAccuracy()
Summary Method for MCTab Objects
getOutlier()
Detect Outliers From BAsummary Object
autoplot()
Generate a ggplot for Bland-Altman Plot and Regression Plot

Functions

size_one_prop()
Sample Size for Testing One Proportion
size_ci_one_prop()
Sample Size for Testing Confidence Interval of One Proportion
size_corr()
Sample Size for Testing Pearson's correlation
size_ci_corr()
Sample Size for Testing Confidence Interval of Pearson's correlation
diagTab()
Creates Contingency Table
blandAltman()
Calculate Statistics for Bland-Altman
printSummary()
Print Summary of a Regression Analysis
getCoefficients()
Get Regression Coefficients
mcreg()
Comparison of Two Measurement Methods Using Regression Analysis
calcBias()
Systematical Bias Between Reference Method and Test Method
pearsonTest()
Hypothesis Test for Pearson Correlation Coefficient
spearmanTest()
Hypothesis Test for Spearman Correlation Coefficient
ESD_test()
EDS Test for Outliers
refInterval()
Calculate Reference Interval and Corresponding Confidence Interval
anovaVCA()
ANOVA-Type Estimation of Variance Components for Random Models
VCAinference()
Inferential Statistics for VCA-Results
aucTest()
AUC Test for Paired Two-sample Measurements
descfreq()
Summarize Frequency Counts and Percentages
descvar()
Summarize Descriptive Statistics