Closed eusebe closed 7 years ago
Hi David
Yes, set no row header with header.columns = FALSE
then use addHeaderRow
:
MyFTable <- FlexTable( data = iris[46:55, ], header.columns = FALSE )
MyFTable <- addHeaderRow( MyFTable, value = c("A", "B", "C", "D", "E") )
David
So, it means that it is impossible to remove header after the creation of the FlexTable object?
yes
Hi,
I would like to replace the default header names of a FlexTable object (after its creation).
I tried
But the result is not exactly what I expected;
agegpA
alcgpB
tobgpC
ncasesD
ncontrolsE
25-34
0-39g/day
0-9g/day
0
40
25-34
0-39g/day
10-19
0
10
Is it possible to obtain the following?
A
B
C
D
E
25-34
0-39g/day
0-9g/day
0
40
25-34
0-39g/day
10-19
0
10
Best, David