on-internet
← Community

Problem aligning a table body with title footnotes in a docx file

Stack Overflow ·

I am using the clinify package with flextable to generate a docx file. My issue is lining up the table body with the title footnotes. I tried using: set_table_properties(width = 1, layout = "autofit") to resolve this, but it didn't work. Sample code: # Load packages for program execution pkg.load <- c("tidyverse", "flextable", "officer", "clinify") invisible(lapply(pkg.load, library, character.only = TRUE)) test.df <- iris |> select(Species, Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) |> group_by(Species) |> mutate( grp = cur_group_id(), descr = paste0("Property for Species: ", Speci

Comments

Sign in or sign up to comment and upvote.

No comments yet.