File talk:NZ opinion polls 2009-2011 -parties.png

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

R script[edit]

I can't make the R script work for any of the other parties except for ACT. There must be something wrong with the data in the table for ther other parties. I can see that some have blanks, which probably aren't coming through as zeroes, but I can't see why it won't graph the Maori party for me. So if we did want the NZ First line on the chart, we would need a new and/or improved R script from Trevva. The loess smoother lines for ACT as so small as to be almost invisible; their line doesn't approach the Greens, of course, but would probably be entwined with NZ First, Maori Party and others. Ridcully Jack (talk) 09:11, 13 August 2011 (UTC)[reply]

Figured it out, on my final "if this doesn't work, I don't know what I'll do" attempt. Not a blanks-in-the-data error, but spaces in the party names. Change to "NZFirst" &c, and it works just fine. Ridcully Jack :(talk) 09:20, 13 August 2011 (UTC)[reply]
For what it's worth, it looks like this: Ridcully Jack (talk) 00:40, 14 August 2011 (UTC)[reply]
Graph including NZFirst for 14/08/2011 opinion polling.