Тёмный

Add any Plot to your {gt} table 

R for the Rest of Us
Подписаться 2,1 тыс.
Просмотров 3,5 тыс.
50% 1

You can spice up any {gt} table by adding small visual elements like plots to it. In this video, I show you how to combine the powers of {gt} and {ggplot} to make this work.
You can find the full blog post (including all the code) at rfortherestofus.com/2023/10/g...
#rprogramming #datavisualization #ggplot2
If you want to receive emails to help you on your R journey, sign up for the R for the Rest of Us newsletter: rfortherestofus.com/newsletter

Опубликовано:

 

25 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@khaledf3977
@khaledf3977 2 месяца назад
Amazing thanks
@muhammedhadedy4570
@muhammedhadedy4570 9 месяцев назад
Wow, you are a naturally talented person. Not only in writing codes, but also in teaching how to code. Please, keep up the great work.
@rfortherestofus
@rfortherestofus 9 месяцев назад
Wow, thank you for your kind words. I am a strong believer in growth instead of talent. My coding and teaching style is a result of lots of practice and not something that necessarily came natural to me. So I am really glad that you find my teaching style enjoyable :)
@haraldniederstatter4068
@haraldniederstatter4068 5 месяцев назад
Thanks for this outstanding video!!!
@albertocabrera4297
@albertocabrera4297 9 месяцев назад
I have the latest edition of R for Data Science, GGPLOP2, Tidy Modeling with R and R Graphics Codebook. None of of those sources showcases the power of R as this 15 minutes workshop does. I just wish Albert Rapp would publish his own book. It would be the best practical book on the topic. My only advice is for Rapp to spend a little bit more time explaining the function() command and how it is linked with the fn = function() in gt().
@rfortherestofus
@rfortherestofus 9 месяцев назад
Hi Alberto, glad that you like the content. Albert also has some free e-books if you want to try them. Just head to his website. As for the function() command, it is just like any other function that you would create in R. You know, you would write something like my_fct
@charleydublin7304
@charleydublin7304 3 месяца назад
Excellent video, thank you - really powerful
@albertocabrera4297
@albertocabrera4297 9 месяцев назад
Many thanks for the clear explanation linking the function() operator with the fn argument.
@ViweTyibilika
@ViweTyibilika 8 месяцев назад
Probably one of the most brilliant ideas, videos, and codes I've seen. Exceptionally clear and simple explanation of the code too. Definitely going to use this, especially for one of my data presentations with my supervisors (maybe look for any excuse to present some of my data as a table lol). Bravo and thanks for sharing
@rfortherestofus
@rfortherestofus 8 месяцев назад
Wow, thank you for your kind words :) Glad that you liked the way I structure my educational content.
@niceday2015
@niceday2015 8 месяцев назад
Thank you very much that is wonderful
@elcheff
@elcheff 8 месяцев назад
simple and brilliant
@rfortherestofus
@rfortherestofus 8 месяцев назад
Thank you :)
@caty863
@caty863 11 дней назад
woow, this is neat. I will use this in my shiny apps. By the way, what is the advantage of using the *.by* parameter inside summarize() as opposed to using plain old *group_by()* ???
@user-ql7ex5ri2r
@user-ql7ex5ri2r 8 месяцев назад
Big thanks.
@rfortherestofus
@rfortherestofus 8 месяцев назад
You're welcome!
@CanDoSo_org
@CanDoSo_org 7 месяцев назад
Thanks. Could you please have a tutorial to plot with gt() in pdf format? I found many setting does not work in PDF.
@kaffeekanne
@kaffeekanne 7 месяцев назад
Thank you for the tutorial! I have a question regarding the export of a gt table as png. I just use gtsave(filename.png). The export works but a part of the table is just cut out in the png. I tried several options, but I am struggling to find a solution. Does anyone know how to solve that? I would be very grateful for that :))
@kelvinwong4804
@kelvinwong4804 8 месяцев назад
Hey, how can I use |> instead of %>% to pipe my script? I just tried using |> to pipe a dataframe in my R studio and it seems like my R studio cannot recognize the |>
@rfortherestofus
@rfortherestofus 8 месяцев назад
The native pipe was added in R 4.1. You probably have an earlier version of R. Just update R and you should be good to go!
@kelvinwong4804
@kelvinwong4804 8 месяцев назад
@@rfortherestofus Ok, thanks. Well, my company is still using the R version in 2021. Since it is a Rstudio workbench maintained by the IT department, I am not sure how much I can change or update it.
@ambhat3953
@ambhat3953 3 месяца назад
Is this possible in flextable package ?
@rfortherestofus
@rfortherestofus 3 месяца назад
Yes! See davidgohel.github.io/flextable/reference/plot_chunk.html
@ambhat3953
@ambhat3953 3 месяца назад
@@rfortherestofus Thnx
Далее
Maybe a little TOO much gel 😂
00:12
Просмотров 7 млн
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
How to Make 250+ Plots at the Same Time with R
6:09
Просмотров 1,4 тыс.
Data Viz Summary Tables in R with gtExtras
11:06
Просмотров 3,2 тыс.
How to Create Your Own Table Theme with the gt Package
12:25
How to Split Up Columns in Your Data
10:54
Просмотров 466
Maybe a little TOO much gel 😂
00:12
Просмотров 7 млн