Code Monkey home page Code Monkey logo

Comments (6)

larmarange avatar larmarange commented on July 19, 2024

So far, the header rows label is equal to the variable label.
So, if you specify the variable label with tidy_add_variable_labels() before applying tidy_add_header_rows(), it will be taken into account.

Do you have any case where the header row label should be different from the variable label ?

from broom.helpers.

larmarange avatar larmarange commented on July 19, 2024

I have updated the example of tidy_add_header_rows() : 3a9eac4

from broom.helpers.

larmarange avatar larmarange commented on July 19, 2024

https://larmarange.github.io/broom.helpers/reference/tidy_add_header_rows.html

from broom.helpers.

larmarange avatar larmarange commented on July 19, 2024

Do you think it would be enough? Or is any change required?

from broom.helpers.

ddsjoberg avatar ddsjoberg commented on July 19, 2024

this is all great....i was accidentally using the terms label function and got confused! Sorry!

from broom.helpers.

ddsjoberg avatar ddsjoberg commented on July 19, 2024

it's amazing that these 4 functions will replace soooooo many lines of code in gtsummary (and these are more robust). I can't wait! 🕺

lm(mpg ~ Hmisc::rcspline.eval(hp) + factor(cyl) * am, mtcars) %>%
  tidy_and_attach() %>%
  tidy_add_variable_labels() %>%
  tidy_add_reference_rows() %>%
  tidy_add_header_rows() 

from broom.helpers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.