# AMETv14 Soccerplot: Error: unexpected symbol in

**URL:** <https://forum.cmascenter.org/t/ametv14-soccerplot-error-unexpected-symbol-in/2138>\
**Category:** AMET\
**Created:** [March 2, 2021, 8:43pm UTC](https://forum.cmascenter.org/t/ametv14-soccerplot-error-unexpected-symbol-in/2138 "2021-03-02T20:43:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [March 2, 2021, 8:43pm UTC](https://forum.cmascenter.org/t/ametv14-soccerplot-error-unexpected-symbol-in/2138/1 "2021-03-02T20:43:56Z")

</div>

Hello I am trying to run a soccerplot using AMETv1.4. I have successfully ran scatterplot, timeseries plot etc. But using the same settings, I couldn’t run soccerplot. It’s giving me the following error (attached soccerplot script and default R code script [run\_soccerplot.txt](https://forum.cmascenter.org/uploads/short-url/yGuPOPSc9htjo4WpUX4Jydwss3z.txt) (5.2 KB) [AQ\_Soccerplot.R.txt](https://forum.cmascenter.org/uploads/short-url/mYecKT9qIcuEGAK1MUJpszqU8vG.txt) (9.0 KB)

Error: unexpected symbol in:  
"### This script is part of the AMET-AQ system. It plots a unique type of plot referred

### to as a “soccer”

Execution halted

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [March 8, 2021, 3:58pm UTC](https://forum.cmascenter.org/t/ametv14-soccerplot-error-unexpected-symbol-in/2138/2 "2021-03-08T15:58:40Z")

</div>

Hi @wyat.appel  
Would you please help me out from this issue?

Thanks

---

<div class="post-metadata">

**Author:** ![wyat.appel](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@wyat.appel](https://forum.cmascenter.org/u/wyat.appel)\
**Post date:** [March 8, 2021, 4:42pm UTC](https://forum.cmascenter.org/t/ametv14-soccerplot-error-unexpected-symbol-in/2138/3 "2021-03-08T16:42:45Z")

</div>

Hi,

This is my fault. This has to do with the " that appear in the script header. Please change the header in the AQ\_Soccerplot.R file to:

################################ SOCCER GOAL PLOT ##################################

### AMET CODE: R\_Soccerplot.R

### 

### This script is part of the AMET-AQ system. It plots a unique type of plot referred

### to as a soccer goal plot. The idea behind the soccer goal plot is that criteria

### and goal lines are plotted in such a way as to form a soccer goal on the plot area.

### Two statistics are then plotted, Bias (NMB, FB, NMdnB) on the x-axis and error

### (NME, FE, NMdnE) on the y-axis. The better the performance of the model, the closer

### the plotted points will fall within the goal lines. This type of plot is used by EPA

### and other planning organizations as part of their assessment of model performance.

### 

### Last updated by Wyat Appel: June, 2019

######################################################################################

I’ve removed the " that appear in the header. That should solve the issue you’re having. Let me if it does not. Thanks.

Wyat

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [March 8, 2021, 5:08pm UTC](https://forum.cmascenter.org/t/ametv14-soccerplot-error-unexpected-symbol-in/2138/4 "2021-03-08T17:08:41Z")

</div>

Thank you so much.

It works.
