我正在尝试在“R”上制作一个非常基本的条形图,但似乎无法让它工作。这些数据只是为我们将为我在大学的动物生理学论文做的一项实验提案而组成的数据。我只想要一个条形图来显示果蝇幼虫在不同条件下孵化的天数。
Condition 1: 11 days
Condition 2: 11 days
Condition 3: 11 days
Condition 4: 10 days
Condition 5: 8 days
Condition 6: I don't expect to go anywhere so just do it as no days or something.
所以我首先将数据导入 Rcmdr。
然后我加载了 sciplot 包并输入了代码:
bargraph.CI (Treatment, Days, data = Bargraph,
xlab = "Condition", ylab = "Number of days")
它提出了这个错误:
Warning in arrows(xvals, if (lc) CI.L else mn.data, xvals, if (uc) CI.H else mn.data, :
zero-length arrow is of indeterminate angle and so skipped
Warning in arrows(xvals, if (lc) CI.L else mn.data, xvals, if (uc) CI.H else mn.data, :
zero-length arrow is of indeterminate angle and so skipped
Warning in arrows(xvals, if (lc) CI.L else mn.data, xvals, if (uc) CI.H else mn.data, :
zero-length arrow is of indeterminate angle and so skipped
Warning in arrows(xvals, if (lc) CI.L else mn.data, xvals, if (uc) CI.H else mn.data, :
zero-length arrow is of indeterminate angle and so skipped
Warning in arrows(xvals, if (lc) CI.L else mn.data, xvals, if (uc) CI.H else mn.data, :
zero-length arrow is of indeterminate angle and so skipped
Warning in arrows(xvals, if (lc) CI.L else mn.data, xvals, if (uc) CI.H else mn.data, :
zero-length arrow is of indeterminate angle and so skipped