Formatting Values

Functions related to applying formats to values

format_value()

Converts a (possibly compound) value into a string using the format information

round_fmt()

Round and prepare a value for display

is_valid_format()

Check if a format is supported

is.wholenumber()

is.wholenumber

list_valid_format_labels()

List with currently support 'xx' style format labels grouped by 1d, 2d and 3d

sprintf_format()

Specify text format via a sprintf format string

Generics Interface For Pagination

Generics requried for pagination machinery

make_row_df()

Make row and column layout summary data.frames for use during pagination

pagdfrow()

Create row of pagination data frame

nlines nlines,list-method nlines,NULL-method nlines,character-method

Number of lines required to print a value

divider_height()

Divider Height

main_title() `main_title<-`() subtitles() `subtitles<-`() page_titles() `page_titles<-`() main_footer() `main_footer<-`() prov_footer() `prov_footer<-`() all_footers() all_titles()

General title/footer accessors

Generics Interface for ASCII Rendering

Generics required for rendering table-like object to ASCII

matrix_form()

Transform rtable to a list of matrices which can be used for outputting

basic_matrix_form()

Create spoof matrix form from a data.frame

MatrixPrintForm

MatrixPrintForm class and constructor

MatrixPrintForm() matrix_print_form()

Matrix Print Form - Intermediate Representation for ASCII Table Printing

ASCII Rendering of MatrixPrintForm objects

ASCII rendering-related functions which operate on MatrixPrintForm objects

toString()

toString

spans_to_viscell()

Transform vectors of spans (with dupblication) to Visibility vector

propose_column_widths()

Propose Column Widths based on an object's `MatrixPrintForm` form

padstr()

Pad a string and align within string

spread_integer()

spread x into len elements

is.wholenumber()

is.wholenumber

default_hsep()

Default horizontal Separator

Pagination

Pagination functionality

pag_indices_inner()

Find Pagination Indices From Pagination Info Dataframe

vert_pag_indices()

Find Column Indicies for Vertical Pagination

pagdfrow()

Create row of pagination data frame

basic_pagdf()

Basic/spoof pagination info dataframe

Variable Labels

Functions for Assigning Labels to Variables In Data

`var_labels<-`()

Set Label Attributes of All Variables in a data.frame

var_labels()

Get Label Attributes of Variables in a data.frame

var_labels_remove()

Remove Variable Labels of a data.frame

var_relabel()

Copy and Change Variable Labels of a data.frame

with_label()

Return an object with a label attribute

General Accessors

General accessors

obj_name() `obj_name<-`() obj_label() `obj_label<-`() obj_format() `obj_format<-`()

Label, Name and Format accessor generics

Data

Data included with the package

ex_adsl ex_adae ex_adaette ex_adtte ex_adcm ex_adlb ex_admh ex_adqs ex_adrs ex_advs

Simulated CDISC Alike Data for Examples

DM

DM data

Miscellany

Other documented functions not interesting to end users

print(<ANY>)

Print

`%||%`

'%||%' If length-0 alternative operator