脚本可能有语法问题,我找不到

问题描述 投票:0回答:1

[我仍在学习R,但是我把我认为是一个简单的脚本放在一起,但是我不断收到以下错误,Rstudio似乎在第5行和第7行发现了我没有的问题

错误:出现意外符号:”打印“

我的脚本在下面:

library(ggplot2)

p <- ggplot(FM_2013, aes(x = bioindicator, y = value)) +
  labs(x = NULL, y = "No. individuals") +
  geom_boxplot(aes(fill = impact) +
      theme_gray(base_size = 14) +
      facet_wrap( ~ bioindicator, scales = free)

    print(p)
r syntax
1个回答
0
投票

此处缺少)

geom_boxplot(aes(fill = impact))
© www.soinside.com 2019 - 2024. All rights reserved.