All functions

attr_eval()

Sub-criteria attributes.

bys_count() bys_rank() bys_position() bys_val() bys_nval() bys_min() bys_max() bys_sum() bys_prod() bys_cummin() bys_cummax() bys_cumsum() bys_cumprod() bys_lag() bys_lead()

Vectorised approach to group operations.

combi()

Vector combinations

custom_sort()

Nested sorting

delink()

Unlink group identifiers

plot(<d_report>) as.list(<d_report>) as.data.frame(<d_report>)

d_report

encode() decode() rep(<d_label>) `[`(<d_label>) `[[`(<d_label>)

Labelling in diyar

is.epid() as.epid() format(<epid>) unique(<epid>) summary(<epid>) print(<epid_summary>) as.data.frame(<epid>) as.list(<epid>) show(<epid>) rep(<epid>) `[`(<epid>) `[[`(<epid>) c(<epid>)

epid object

episodes() links_wf_episodes() episodes_af_shift()

Group dated events into episodes.

episodes_wf_splits()

Link events to chronological episodes.

links()

Multistage record linkage

links_af_probabilistic() links_wf_probabilistic() prob_score_range()

Record linkage

listr()

Grammatical lists.

make_ids()

Convert an edge list to record identifiers.

sets() make_sets() make_pairs() make_pairs_wf_source()

Combinations and permutations of record-sets.

make_episodes() make_pids()

Create epid and pid objects with index of matching records

merge_ids()

Merge group identifiers

show(<number_line>) rep(<number_line>) `[`(<number_line>) `[[`(<number_line>) `[<-`(<number_line>) `[[<-`(<number_line>) `$`(<number_line>) `$<-`(<number_line>) c(<number_line>) unique(<number_line>) seq(<number_line>) sort(<number_line>) format(<number_line>) as.list(<number_line>) as.data.frame(<number_line>)

number_line object

number_line() as.number_line() is.number_line() left_point() `left_point<-`() right_point() `right_point<-`() start_point() `start_point<-`() end_point() `end_point<-`() number_line_width() reverse_number_line() shift_number_line() expand_number_line() invert_number_line() number_line_sequence()

number_line

overlaps() overlap() none() exact() across() x_across_y() y_across_x() chain() x_chain_y() y_chain_x() aligns_start() x_aligns_start_y() y_aligns_start_x() aligns_end() x_aligns_end_y() y_aligns_end_x() inbetween() x_inbetween_y() y_inbetween_x() overlap_method() include_overlap_method() exclude_overlap_method() overlap_method_codes() overlap_method_names()

Overlapping number line objects

is.pane() as.pane() format(<pane>) unique(<pane>) summary(<pane>) print(<pane_summary>) as.data.frame(<pane>) as.list(<pane>) show(<pane>) rep(<pane>) `[`(<pane>) `[[`(<pane>) c(<pane>)

pane object

partitions()

Distribute events into specified intervals.

staff_records missing_staff_id infections infections_2 infections_3 infections_4 hospital_admissions patient_list patient_list_2 hourly_data Opes episode_unit overlap_methods patient_records

Datasets in diyar package

is.pid() as.pid() format(<pid>) unique(<pid>) summary(<pid>) print(<pid_summary>) as.data.frame(<pid>) as.list(<pid>) show(<pid>) rep(<pid>) `[`(<pid>) `[[`(<pid>) c(<pid>)

pid objects

exact_match() range_match() prob_link() true() false()

Predefined logical tests in diyar

reframe()

Modify sub_criteria objects

schema()

Schema diagram for group identifiers

union_number_lines() intersect_number_lines() subtract_number_lines()

Set operations on number line objects

sub_criteria() attrs() eval_sub_criteria() print(<sub_criteria>) format(<sub_criteria>)

Match criteria

epid_windows() epid_lengths() index_window()

Windows and lengths