Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardisation sortie modele Cox #44

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AckaFun
Copy link
Contributor

@AckaFun AckaFun commented Jan 3, 2025

  • Trouver un nom pour xx
  • report_survit
  • ajouter des labels de colonnes
  • faire une jolie flextable
  • ajouter des exemples dans la doc
  • ajouter des tests (enlever les library())

notamment suppression de test_standardisation
@DanChaltiel
Copy link
Member

Fonctions principales dans flextable :

  • flextable() pour faire une flextable
  • bold(), italic(), color(), bg(), etc pour modifier le format
  • border(), vline(), hline() pour les bordures
  • merge_v() et merge_h() pour merger les cellules (aussi fix_border_issues() parfois)
  • set_table_properties(ft, width = .5, layout = "autofit")
  • add_header_row(), voire set_header_df() si header complexe
  • colformat_xxx() si besoin de formattage particulier. Permet de modifier la flextable sans transformer les données en character.
  • les arguments i et j en formule permettent de sélectionner des lignes et colonnes conditionnelement aux données, genre bold(i=~pvalue<0.05, j="pvalue"). Implique que pvalue soit numérique...

Cheat sheet très utile : https://ardata-fr.github.io/flextable-book/static/pdf/cheat_sheet_flextable.pdf

Documentation très très longue: https://ardata-fr.github.io/flextable-book/

@DanChaltiel DanChaltiel linked an issue Feb 17, 2025 that may be closed by this pull request
8 tasks
# On ne lance pas les fonctions on charge le package avec ctrl+shift+l
# Enlever les librarys d'ici

test_that("shit works", {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Watch your mouth young boy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Standardisation des sorties de modeles
3 participants