r - 如何执行以下任务
问题描述
使用数据集 msleep,针对 bodywt 和 sleep_total 因子绘制 qplot,并使用 geo_smooth 添加一条线。使用 qplot 绘制一条线,应用线性回归模型以消除标准误差。按核心分组。通过 vore 将模型分成多个方面。
qplot(bodywt,sleep_total,data=msleep)+geom_smooth(method="lm")+geom_path(aes(group=vore))+facet_grid(.~vore)
解决方案
推荐阅读
- php - 从供应商文件夹重新生成 composer.lock
- json - pyspark flat csv 到 mongodb 中的嵌套 json
- php - 根据查询结果更改行标题而不进行多次查询
- reactjs - Cellrenderer 和 react-router-dom 链接
- c# - 自定义授权过滤器在 ASP.NET Core 3 中不起作用
- r - 使用 reorder_within 后将轴标签中的项目加粗
- r - R:错误:在 dplyr 中使用 unnest 时长度不兼容
- angular - 在 Angular 哈希之前获取查询参数
- aws-secrets-manager - JMESPath 提取值匹配的键
- node.js - 使用 node.js 和 nginx 从域中删除 /public 的正确方法是什么?