英文: ggplot2 not recognising column names in function 问题 我的目标是创建一个函数,该函数可以输入特定的列名和数据框名称,以便以一致的格式输出图形。...
如何制作小提琴图?
英文: How to make a violin plot? 问题 我正在尝试制作一个小提琴图,用于展示岩石海岸上不同动物的覆盖百分比。我以前从未使用过小提琴图,所以理解这些图应该是什么样子或如何工作...
How to create a function in R to add NBER recession shades to different facets in ggplot?
英文: How to create a function in R to add NBER recession shades to different facets in ggplot? 问题 让我们...
strip.text在labeller中无法正常工作 – facet_wrap ggplot2
英文: strip.text does not work with labeller - facet_wrap ggplot2 问题 我正在使用facet_wrap,并需要在标题中使用表达式,所以我正...
使用ggdag和ggplot的标签。
英文: Use labels with ggdag and ggplot 问题 我正在使用ggdag创建一个有向无环图(DAG),如下所示: test <- dagify("a"...
用`ggeffects::ggpredict`控制网格。
英文: Controlling the grid with `ggeffects::ggpredict` 问题 假设我拟合了一个具有连续预测变量的线性模型,该变量已被分组化。现在我想绘制均值结果作为连...
在ggplot2中,确保矩形和直方图图形的宽度完全匹配。
英文: Having a rectangle and histogram plot in ggplot2 match up exactly in width 问题 我尝试在ggplot中制作一个与上面...
如何使用 ggplot 绘制 F 统计量和 p 值
英文: How to plot F statistics and p-value with ggplot 问题 在ggplot中,如何在图下方嵌入F统计量和p值信息,就像以下示例图中所示: 英文: I...
“geom_dotplot_interactive() 移除点的堆叠。”
英文: geom_dotplot_interactive() removes stacking of points 问题 geom_dotplot_interactive() 允许使用 ggiraph...
计算两个曲线边界之间的观察次数。
英文: Count the number of observations between two curving boundaries 问题 我有一个包含N个观测值和两个不重叠边界(一个更高,另一个更...
49