r - Legend with Radarchart in loop -


As part of a loop I am making several radarcars. Each chart is a country, the information displayed in the cube is data for many years (line of different colors). I am trying to add a legend which will make it clear which line (color) is related to that year. As far as I could see, the help file on RadarCart is silence on this. (I saw the last in this case, but I do not think it is applicable because I am working in the loop here). I would be grateful for any indication.

Here is the data related to a trend of the loop:

  required (fmsb) radar tap & lt; One ???? List (COC = C ("0", "0", "GIM", "GIM", "GIM", "GIM", "GIM", "GIM", "GIM", "GIM", "GIM" "GIM", "GIM", "GIM", "GIM", "GIM"), Year = C (0, 0, 1996, 1998, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 200 9, 2010, 2011, 2012), ROL. Estimate = C (2.5, -2.5, -0.82, -0.71, -1.33, -1.59, -1.68, -1.76, -1.77, -1.73, -1.78, -1.77 , - 1.84, -1.81, -1.7 9, -1.62), Gft. Estimum = C (2.5, -2.5, -0.23, -0.37, -0.78, -0.9, -0.95, -0.95, -1.29, -1.3 , -1.27, -1.5, -1.52, -1.5, -1.36, -1.21), Regual. Estam = C (2.5, -2.5, -0.98, -0.7 9, -1.46, -1.97, -2, -2.03, -2.21, -1.96, -2.16, -2.11, -2.1, -2.05, -1.92, -1.83), control communication Estimate = C (2.5, -2.5, -0.25, -0.65, -0.95, -1.21, -1.25, -1.31, - 1.28, -1.33, -1.36, -1.31, -1.32, -1.31, -1.38, -1.27 ), Polystab.Astemem = C (2.5, -2.5, -0.53, -0.88, -1.42, -1.6, -1.14, -1.26, -1.24, -0.91, -1.11, -1.2, -1.16, -1.12, -0.95, -0.79), VoiceAccount. Estimated = C (2.5, -2.5, -0.62, -0.82, -1.11, -1.41, -1.44, -1.55, -1.66, -1.54, -1.57, -1.54, - 1.54, -1.48, -1.47, -1.45)). Name = C ("Coke", "Year", "ROL.Astimate", "GoAf.Astamate", "Reg. Estimate", "Control Concern.Estimate", "PolStab.Estimate", "VoiceAccount.Estimate"), Row.Name = C (1L, 2L, 268L, 2690L, 269 L, 26 9 L L, 26 9 L L, 26 9 49, 269559, 26 9 L , 26 9 7 L, 2698, 2699 L, 2700 L, 2701 L, Command for Redcarcart:  
  RadarCart (radar TMP [, C ("ROL") .Assistip = 2, SEG = 10, PAcc = 1: 8, "Everest", "GOFF Estate", "Regucl.Estamate", "Control Concern.As This graph is called "Tomato", "Pollestab Estimate", "VoiceAcc Esteem" pty = 16, plty = 1, maxmin = TRUE, axislabcol = "gray", title = c)   

Time looks like: Enter image details here

Note that the number of years (numbers) I will know that there will be some serious drawbacks for radarcharts, but they will ask you to keep them aside for a moment.

Many thanks for any tips / advice!

Enter image details here What I was looking for:

  Legend (1.5,1, Legend = Unique (Radar TCP $ Year), Seg.Len = 0.5, Title = "Year", pp = 1, bti = "n", lwd = 3, y.intersp = 0.5, horizon = falls, coal = exclusive (radar.TMP $ years))    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -