I used this code to produce a boxplot:
x1 <- rnorm(500)
y1 <- sample(c("a", "b", "c"), 500, replace=T)
boxplot(x1 ~ y1)
我想在图表中添加一张表格,但是我不确定我可以用来执行此操作的代码:
A B
1 26 63
2 64 64
3 54 26
4 98 82
5 95 3
> dput(temp)
structure(list(A = c(26, 64, 54, 98, 95), B = c(63, 64, 26, 82,
3)), .Names = c("A", "B"), class = "data.frame", row.names = c(NA,
5L))
是执行此操作的函数,因为我在箱线图文档中没有看到它?