show,SampleSize-method {mcradds} | R Documentation |
Show Method for Objects
Description
A show method that displays essential information of objects.
Usage
## S4 method for signature 'SampleSize'
show(object)
## S4 method for signature 'MCTab'
show(object)
## S4 method for signature 'BAsummary'
show(object)
## S4 method for signature 'RefInt'
show(object)
## S4 method for signature 'tpROC'
show(object)
## S4 method for signature 'Desc'
show(object)
Arguments
object |
( |
Value
None (invisible NULL
), only used for the side effect of printing to
the console.
Examples
# Sample zie calculation
size_one_prop(p1 = 0.95, p0 = 0.9, alpha = 0.05, power = 0.8)
size_ci_corr(r = 0.9, lr = 0.85, alpha = 0.025, alternative = "greater")
# Get 2x2 Contingency Table
qualData %>% diagTab(formula = ~ CandidateN + ComparativeN)
# Bland-Altman analysis
data("platelet")
blandAltman(x = platelet$Comparative, y = platelet$Candidate)
# Reference Interval
data("calcium")
refInterval(x = calcium$Value, RI_method = "nonparametric", CI_method = "nonparametric")
# Comparing the Paired ROC when Non-inferiority margin <= -0.1
data("ldlroc")
aucTest(
x = ldlroc$LDL, y = ldlroc$OxLDL, response = ldlroc$Diagnosis,
method = "non-inferiority", h0 = -0.1
)
data(adsl_sub)
# Count multiple variables by treatment
adsl_sub %>%
descfreq(
var = c("AGEGR1", "SEX", "RACE"),
bygroup = "TRTP",
format = "xx (xx.x%)",
addtot = TRUE,
na_str = "0"
)
# Summarize multiple variables by treatment
adsl_sub %>%
descvar(
var = c("AGE", "BMIBL", "HEIGHTBL"),
bygroup = "TRTP",
stats = c("N", "MEANSD", "MEDIAN", "RANGE", "IQR"),
autodecimal = TRUE,
addtot = TRUE
)
[Package mcradds version 1.1.0 Index]