mmtable2: ggplot2 for tables.

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 30

  •  3 года назад +6

    Just run the code and I had to replace 'table_data' for 'cells', in line 30. Thanks for the video!

  • @jgeise
    @jgeise 3 года назад +1

    Matt, thanks for the quick intro to mmtable2!

  • @locomotion91
    @locomotion91 3 года назад +1

    Thank you so much! grettings from Lima, Peru.

  • @pcsksa5
    @pcsksa5 3 года назад +1

    Great staff Matt. Thank you.

  • @KalmeshHiremath
    @KalmeshHiremath 3 года назад +1

    Significantly helpful

  • @thomaswalden8504
    @thomaswalden8504 3 года назад +1

    Great Video! Thanks

    • @BusinessScience
      @BusinessScience  3 года назад

      Absolutely Thomas. I really enjoyed learning mmtable2. I just found out it's only 3-weeks old!

  • @CanDoSo_org
    @CanDoSo_org 2 года назад

    Thanks, man. Could you introduce how to get a pretty regression outcome table?

  • @Mustapha989
    @Mustapha989 3 года назад +2

    Really cool stuff. Is it possible to export this as a LaTeX table?

    • @BusinessScience
      @BusinessScience  3 года назад +2

      I’m not sure about latex table. The gt table works in Rmarkdown documents- html, word, and pdf.

  • @tame1999
    @tame1999 3 года назад +1

    Are you from Philly?

    • @BusinessScience
      @BusinessScience  3 года назад

      Hi no, we are located in Pennsylvania though!

  • @jz1973
    @jz1973 2 года назад

    somehow I just couldn't save the table in a pdf file. awesome table but couldn't use it!

  • @StephenDeckerT
    @StephenDeckerT 3 года назад

    I tried making my own table based on your example, but I keep getting this: 'Error in !sym(temp_value_var) %>% as.character() : invalid argument type'. I also get this same error when I try to use my own data.
    Any ideas on how to fix it?

    • @BusinessScience
      @BusinessScience  3 года назад +2

      Hi Stephen, I'd file a reproducible example on the author's GitHub Repo. github.com/ianmoran11/mmtable2/issues

    • @ian.moran11
      @ian.moran11 3 года назад +1

      Hi Stephen, it most likely relates to what you are providing the table_data argument. Perhaps you're using a string or a variable name that isn't in the data frame. Would be happy to look at a reproducible example. GitHub Repo: github.com/ianmoran11/mmtable2/issues

    • @StephenDeckerT
      @StephenDeckerT 3 года назад +1

      @@ian.moran11 Thanks to you both! I think it seems to have something to do with another package that was loaded at the time I was running my own data. When I try to run the example in the video with only mmtable2, gt, and tidyverse packages loaded, the issue is gone. I haven't identified the other package that was creating the issue, though.

  • @leifmarkthaler7809
    @leifmarkthaler7809 3 года назад

    why is it not on CRAN?

    • @BusinessScience
      @BusinessScience  3 года назад

      It's a very new package. I'd reserve this question for the package author. You can ask him here: github.com/ianmoran11/mmtable2/issues

  • @TheOttozone1
    @TheOttozone1 3 года назад

    Does this package allow for cell coloring?

    • @sarahollis2419
      @sarahollis2419 3 года назад

      Thanks for the really good video + info. Same question - I find myself still always going back to *formattable* b/c of the color_bar; color_tile. Would be cool if this had coloring too!.

    • @BusinessScience
      @BusinessScience  3 года назад

      @@sarahollis2419 I believe you can color cells because it leverages the `gt` package. See this reference: gt.rstudio.com/reference/data_color.html