flextable Questions
3
Solved
Is there a smart way to have a horizontal border table wide when you have merged cells? (In the example below, it is not yet table wide).
Or should I write a function to calculate the correct inde...
4
I am trying to create a 'flexable' object from the R package "flextable". I need to put same column names in more than one columns. When I am putting them in the the "col_key" o...
1
The closest I can get with flextable is this:
What I'd like to achieve is something like this - knocked up with ggplot2:
Any ideas? or is this a feature request?
Code used to generate flextable:
...
4
I create a flextable based on a csv file, I put some style on it, change some cells. Then I would like to remove a specific columns of this flextable before add it to a doc.
Is-there a way to creat...
Billy asked 15/5, 2019 at 11:18
2
I am trying to use flextable to make a nice table that knits into word, with descriptive banners/headers through out
Example data:
trialdata<-structure(list(` ` = c("Number per team", ...
1
Solved
I'm looking for an option to set the the font family and size of equations in a flextable.
In general the font family and size of the table, rows and columns could be set via the sugar functions fl...
3
Solved
I have many tables to create and am trying to create them in a loop. I'm using flextable with rmarkdown inside rstudio. Using print(theFlextable) command in a loop produces a list of text rather th...
Ovine asked 5/10, 2018 at 17:41
3
Solved
Is it possible to bold/color estimate values based on tstat.
For ex - bold estimate values if tstat is more than 1.96
This is in continuation of my previous question and I have to use flextable.
li...
2
I love David Gohel's Officer and Flextable packages and they are really a flexible alternative to write word document reports with complex layouts which are not achievable in R markdown.
I have cr...
2
Solved
I would like to be able to cross-reference a table or figure in a word document using the officer R package.
I have come across these materials so far but they do not seem to have a solution:
http...
1
How could one add a caption to a flextable rendered to docx?
EDIT: The aim is to produce a proper caption which can be referenced within the document to produce a list of tables and inline referen...
Garnes asked 5/4, 2018 at 16:13
3
I'm having an issue installing Flextable, and it seems to be because of the gdtools package. It looks like gdtools relies on a .dylib file? Any ideas?
> install.packages("flextable")
There is...
3
Solved
Hi I am trying to use flextable in an Rmarkdown .doc document to format my tables. I like the simple formatting options that flextable gives (but open to other similar packages) but have found some...
Ferocity asked 24/7, 2019 at 4:37
1
How can I make table cross-references work in a bookdown document with all of the output formats pdf, docx, and html? Or maybe more specifically, how can I get table cross-references working for fl...
1
Solved
I have a flextable that I am trying to conditionally format percentage numbers based if they are > or less than a certain %. It's a simple conditional format so I'm not sure why it's not working...
Banda asked 4/7, 2020 at 14:7
3
Solved
I am trying to combine (in a single chart) a regular ggplot chart with a table obtained with flextable.
Consider the following example:
library(tidyverse)
library(patchwork)
mydf <- tibble(a ...
4
Solved
I'm trying to use the package flextable to get some nicely formatted tables in my Rmarkdown (going to word file). The tables work just fine in general but if I put it within an if statement, if the...
Alleyn asked 31/5, 2019 at 3:3
1
Solved
I was wondering if it might be possible to display more than one flextable in the HTML format (on a single page) using flextable and officer?
library('flextable')
library('officer')
dat1 <- ...
1
Solved
I am trying to change the bg color of some cells in a flextable based on whether the values in the rows labeled Act (for actual) exceed the values in the corresponding rows (that is, same KPI) labe...
Liquefy asked 3/11, 2019 at 2:57
2
Solved
I've been having great luck with customizing flextable tables in my R Markdown documents. However, I am struggling to change the location of a table on the page. It seems the tables are centered on...
1
Solved
I want to know if it's possible to group a flextable/regulartable, a ggplot, a text and an image together into a grid object, and then put that grid in a PowerPoint slide?
This could be very usefu...
Onieonion asked 19/7, 2018 at 10:3
2
Solved
The flextable help details describes adding new headers as manually typing each existing header name against each new header name, like this:
library(flextable)
ft_1 <- regulartable(head(iris))...
1
Solved
I read a similar question that helped me get to the point I'm at now, but am struggling with the next step. I have a dataframe similar to below -
Product = c("Apple", "Apple", "Banana", "Banana", ...
1
I'm trying to apply a Word style (table or paragraph) to a flextable object. My motivation is to find a way to stop a flextable from splitting across rows at a page break when outputted to a Word ....
1
Solved
Is it possible to format multiple columns with one line of script using flexitable?
The example includes variables of two different types of double. I'd like to:
round variables greater than 1000 ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.