r - Need help on how to sort a tibble column by keyword in R
问题描述
I need help trying to figure out how to sort a tibble column by a keyword. I run the code and it returns a blank table. I want to keep the entries in the column containing "County" and remove the other entries.
countypop %>%
select(county) %>%
filter(county=="County")
解决方案
推荐阅读
- java - 碰到边框时如何更改对象的大小?
- javascript - 在 PHP 中通过表单发送 base64 图像时 $_POST 为空
- java - 我们可以使用 swagger-generator 在模型变量上生成 @JsonFormat 吗?
- bash - 比较“n”个纯文本文件并打印每个文件的唯一行数
- web-scraping - 异步循环混合元项目
- amazon-web-services - 如何从 RDS 生成 AWS CloudFormation 模板
- swift - 如何在 Test Bundle swift 中包含文件?
- python - Python中的可迭代对象
- javascript - 具有多个模板/HTML 文件的 Angular 组件
- android - 使用 `Theme.MaterialComponents.Light.NoActionBar` 主题的 Android 菜单项不可见