开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
purrr

purrr

go

使用map()和map2()来运行回归并将拟合值添加到数据框中。

英文: Use map() and map2() to run regressions and add fitted values to data frame 问题 我想在数据框的一部分列上对同一数据...
huangapple 2023年7月23日138评论dataframe r
go

计算嵌套/分割对象上的基尼指数

英文: Compute Gini Index on a nested/rsplit object 问题 我使用了rsample::bootstraps函数来创建一个嵌套对象,就像下面这样: Sampl...
huangapple 2023年7月17日123评论purrr r
go

提取所选列中的第一个非NA值。

英文: Extract first not NA value from selected columns 问题 我想从一组列中提取第一个非 NA 值。 "第一个" 的定义是根据列的...
huangapple 2023年7月17日138评论dplyr r
go

使用purr或map对因子变量的总百分比进行汇总。

英文: Summarising with purr or map the percentage of the total of a factor variable 问题 我正在尝试为列表的每个变量执行...
huangapple 2023年7月13日134评论dplyr r
go

使用dbplyr如何删除所有只包含NA的列?

英文: How do I delete all columns that contain NA only with dbplyr? 问题 我想删除一个数据框中所有只包含NA值的列,在`dbplyr`语...
huangapple 2023年7月4日130评论purrr r
go

如何在purrr的map2中使用嵌套匿名函数?

英文: How to use nested anonymous functions in purrr map2? 问题 以下是您要翻译的内容: 我想遍历一个数据框的列表,并给所有列名添加后缀。我希望后...
huangapple 2023年6月29日134评论purrr r
go

How can I create colum names in a custom function, pass it to dplyr's select and use purrr's pmap to recycle the custom function?

英文: How can I create colum names in a custom function, pass it to dplyr's select and use purrr&#...
huangapple 2023年6月26日134评论dplyr r
go

如何将函数列表的输出进行索引以在另一个函数中使用?

英文: How to index a function list output for use in another function? 问题 我正在使用lapply()来处理一个包含2个文件的列表,...
huangapple 2023年6月26日137评论indexing r
go

将向量列表转换为列表列表。

英文: List of vectors to list of lists 问题 我有一个这样结构化的列表: x <- list(id = c("a", "b&quo...
huangapple 2023年6月12日147评论list r
go

如何正确使用tidyverse包中的map()函数在添加矩阵计算层时?

英文: How to use the map() function from the tidyverse package correctly in adding layers of matrix ca...
huangapple 2023年6月12日159评论matrix r

文章导航

1 2 3 4
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17065223

热门标签

html node.js spring android c# c++ typescript java pandas flutter go javascript reactjs arrays json spring-boot css sql python r

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码