Six approaches to rounding numbers in R (CC253)
Автор: Riffomonas Project
Загружено: 2022-10-03
Просмотров: 1866
Описание:
Pat compares and contrasts six approaches to rounding numbers in R using the round, floor, ceiling, trunc, signif, and as.integer functions. Then he applies this type of information to a dataset he is analyzing. Along the way he reviews how to use read_fwf to read in a fixed-width formatted text file. The overall goal of this project is to highlight reproducible research practices using a number of tools. The specific output from this project will be a map-based visual that shows the level of drought across the globe.
You can find my blog post for this episode at https://www.riffomonas.org/code_club/....
#round #bash #Rstats #R
Support Riffomonas by becoming a Patreon member!
/ riffomonas
Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights.
If you're interested in taking an upcoming 3 day R workshop be sure to check out our schedule at https://riffomonas.org/workshops/
You can also find complete tutorials for learning R with the tidyverse using...
Microbial ecology data: https://www.riffomonas.org/minimalR/
General data: https://www.riffomonas.org/generalR/
0:00 Introduction
1:47 Rounding numbers in R
10:03 Reading in a fixed-width formatted file
13:10 Round latitude and longitude values
14:59 Assign stations to regions with cur_group_id
17:35 Integrating into Snakemake pipeline
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: