DORSETRIGS
Home

purrr (13 post)


posts by category not found!

Problem using select and filter when used in purrr::compose with purrr::partial in R

Understanding the Problem of Using select and filter with purrr compose and purrr partial in R When working with the R programming language especially in the co

2 min read 25-09-2024 52
Problem using select and filter when used in purrr::compose with purrr::partial in R
Problem using select and filter when used in purrr::compose with purrr::partial in R

Using purrr::map with a user defined function - how to pass arguments

Using purrr map with a User Defined Function How to Pass Arguments The purrr package in R is a powerful tool for functional programming particularly when it com

3 min read 23-09-2024 56
Using purrr::map with a user defined function - how to pass arguments
Using purrr::map with a user defined function - how to pass arguments

Rendering Quarto document with multiple gt tables printed via purrr::map

Rendering Quarto Documents with Multiple GT Tables Using purrr map Creating professional reports and documents with tables can sometimes be a challenging task e

3 min read 19-09-2024 43
Rendering Quarto document with multiple gt tables printed via purrr::map
Rendering Quarto document with multiple gt tables printed via purrr::map

`purrr` mapping of `st_intersects()` using inputs from across two lists

Efficient Spatial Analysis with purrr Mapping of st intersects In the world of spatial analysis in R efficiently managing and comparing datasets is key to obtai

2 min read 17-09-2024 51
`purrr` mapping of `st_intersects()` using inputs from across two lists
`purrr` mapping of `st_intersects()` using inputs from across two lists

Mutate in dplyr / purrr using an external table / dataframe

Understanding the mutate Function in dplyr and purrr with External Data In the world of data manipulation in R the dplyr package is a powerhouse for transformin

2 min read 16-09-2024 46
Mutate in dplyr / purrr using an external table / dataframe
Mutate in dplyr / purrr using an external table / dataframe

purrr and map: how to save intermediate computations?

Understanding purrr and map How to Save Intermediate Computations In the world of R programming handling data efficiently is crucial especially when working wit

3 min read 16-09-2024 42
purrr and map: how to save intermediate computations?
purrr and map: how to save intermediate computations?

Using Apache Arrow or DuckDB inside a map function in R

Leveraging Apache Arrow and Duck DB Inside a Map Function in R When working with large datasets in R performance and efficiency are often at the forefront of an

3 min read 14-09-2024 53
Using Apache Arrow or DuckDB inside a map function in R
Using Apache Arrow or DuckDB inside a map function in R

Row-wise iteration like apply with purrr

Row wise Iteration with purrr A More Elegant Approach In data analysis you often need to perform operations on each row of a data frame individually While the a

2 min read 05-09-2024 52
Row-wise iteration like apply with purrr
Row-wise iteration like apply with purrr

Filter list of lists with purrr::keep

Filtering Lists of Lists with purrr keep A Practical Guide Filtering data within nested lists can be a common task in data analysis especially when working with

2 min read 01-09-2024 41
Filter list of lists with purrr::keep
Filter list of lists with purrr::keep

Function works with plan(sequential) but not plan(multisession)

Debugging Parallel Execution with future map dfr A Case Study This article explores a common issue encountered when parallelizing code using the future map dfr

2 min read 31-08-2024 55
Function works with plan(sequential) but not plan(multisession)
Function works with plan(sequential) but not plan(multisession)

Convert a list into a tibble with nested columns

Transforming Lists into Tibbles with Nested Columns in R This article explores how to convert a list containing nested lists into a tibble with nested columns a

2 min read 29-08-2024 47
Convert a list into a tibble with nested columns
Convert a list into a tibble with nested columns

additional arguments to purrr:map don't work as expected

Why Additional Arguments Dont Work As Expected With purrr map When using purrr map with additional arguments you might encounter unexpected behavior where those

2 min read 29-08-2024 56
additional arguments to purrr:map don't work as expected
additional arguments to purrr:map don't work as expected

Exporting summary.betareg and summary.gam from list to csv

Extracting and Exporting summary betareg and summary gam Results to CSV This article will address a common challenge faced by data scientists working with Gener

3 min read 29-08-2024 49
Exporting summary.betareg and summary.gam from list to csv
Exporting summary.betareg and summary.gam from list to csv