-
Notifications
You must be signed in to change notification settings - Fork 83
/
_pkgdown.yml
228 lines (218 loc) · 5.51 KB
/
_pkgdown.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
url: https://davidgohel.github.io/flextable/
title: flextable
development:
mode: auto
template:
bootstrap: 5
theme: breeze-light
bootswatch: simplex
bslib:
pkgdown-nav-height: 100px
base_font:
google: "Open Sans"
home:
links:
- text: 'Visit <a href="https://www.ardata.fr"><img alt="ardata" src="https://www.ardata.fr/img/ardata-logo.svg" width="70"></a> website'
href: https://www.ardata.fr
reference:
- title: Create flextable
desc: >
These functions create 'flextable' objects that can be modified later.
contents:
- flextable
- qflextable
- as_flextable
- flextable-package
- title: Global options
desc: >
Reduce homogenization efforts and the number of functions to be called by
defining formatting properties such as font, border color, number of
decimal places displayed that should be applied by default.
contents:
- set_flextable_defaults
- get_flextable_defaults
- init_flextable_defaults
- title: Output functions
contents:
- print.flextable
- knit_print.flextable
- body_add_flextable
- ph_with.flextable
- plot.flextable
- save_as_image
- save_as_html
- save_as_docx
- save_as_rtf
- save_as_pptx
- htmltools_value
- gen_grob
- plot.flextableGrob
- to_html.flextable
- rtf_add.flextable
- flextable_to_rmd
- df_printer
- use_df_printer
- use_model_printer
- body_replace_flextable_at_bkm
- title: Change visual properties
desc: >
Modify the visual properties of the components of a 'flextable' such
as font color, font size, word highlighting or cell background color.
contents:
- style
- align
- bg
- font
- fontsize
- italic
- bold
- color
- line_spacing
- highlight
- padding
- valign
- rotate
- tab_settings
- empty_blanks
- title: Management of borders
desc: >
The border system is based on vertical and horizontal lines which can be
easily specified. Some additional tools are provided for specific needs.
contents:
- fp_border_default
- starts_with("hline")
- starts_with("vline")
- border_inner
- border_inner_h
- border_inner_v
- border_outer
- border_remove
- surround
- title: Flextable themes
desc: Apply theme functions
contents:
- starts_with("theme_")
- title: Add headers and footers
desc: >
Add header titles, comments in footers and new rows in body
with the following functions, remove rows and columns.
contents:
- add_header_row
- add_footer_row
- add_header_lines
- add_footer_lines
- add_header
- add_footer
- separate_header
- set_header_labels
- set_header_df
- set_footer_df
- add_body
- add_body_row
- delete_part
- delete_rows
- delete_columns
- title: Cell merging
contents:
- starts_with("merge_")
- title: flextable dimensions
contents:
- starts_with("height")
- set_table_properties
- paginate
- keep_with_next
- width
- hrule
- autofit
- fit_to_width
- dim.flextable
- dim_pretty
- flextable_dim
- dim.flextableGrob
- nrow_part
- ncol_keys
- title: Define how to display the content
desc: >
Simple tools for formatting the content of cells such as managing the
number of decimals, adding suffixes or prefixes and defining the
thousands separator.
contents:
- starts_with("colformat_")
- starts_with("set_formatter")
- labelizor
- title: Mixed and complex content
desc: >
How to define complex paragraphs with mixed content or to
add images or chunks of text in existing cells.
contents:
- compose
- as_paragraph
- append_chunks
- prepend_chunks
- footnote
- fp_text_default
- title: Elements for mixed content
desc: >
Functions that can be called to create rich, formatted content. They are to be used
within calls to `mk_par()`, `append_chunks()`, `prepend_chunks()` and
possibly `set_caption()` functions.
contents:
- as_chunk
- as_image
- gg_chunk
- plot_chunk
- grid_chunk
- as_b
- as_i
- as_sub
- as_sup
- as_highlight
- colorize
- minibar
- linerange
- lollipop
- as_bracket
- hyperlink_text
- as_equation
- as_word_field
- title: Caption
contents:
- set_caption
- title: miscellaneous
contents:
- starts_with("fmt_")
- before
- void
- title: Transform objects into flextables with 'as_flextable'
desc: >
The `as_flextable()` function is used to transform specific objects
into flextable objects. For example, you can transform a crosstab produced
with the 'tables' package into a flextable which can then be formatted,
annotated or augmented with footnotes.
contents:
- tabulator
- tabulator_colnames
- summarizor
- starts_with("as_flextable")
- continuous_summary
- as_grouped_data
- proc_freq
- shift_table
navbar:
title: flextable
type: default
left:
- text: Function reference
href: reference/index.html
- text: User Documentation
href: https://ardata-fr.github.io/flextable-book/
footer:
structure:
left: legal
components:
legal: proudly brought to you by <a href="https://www.ardata.fr"><img alt="ardata" src="https://www.ardata.fr/img/ardata-logo.svg" width="70"></a>
authors:
David Gohel:
href: https://www.ardata.fr
Rémi Thériault:
href: https://remi-theriault.com