View source: R/bucss-internal.R
| print.bucss_plan | R Documentation |
Prints the aligned term/value table (the planned-study
results followed by the rows echoing the planning inputs), then factual
footer lines naming the design, for the regression planners the predictor
frame (random_predictors), the unit the sample size is counted in,
and the largest assurance the prior result can support. Whole numbers
print clean; other values print at getOption("bucss.digits", 3)
significant figures, except that a value below 1 is never shown as 1: it
is given as many more figures as it takes to stay below 1 (a power of
.99957 prints as 0.9996). Only the display is rounded; the stored values
keep full precision.
## S3 method for class 'bucss_plan'
print(x, digits = getOption("bucss.digits", 3L), ...)
x |
An object of class |
digits |
Significant figures for non-integer values; defaults to
|
... |
Further arguments, ignored. |
x, invisibly.
result <- ss_buc_independent_t(t_observed = 3, n = c(50, 55),
assurance = .90)
result
# Display only: the stored values keep full precision.
print(result, digits = 6)
result$value[result$term == "ncp_adjusted"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.