layer_arcs function

27 views
Skip to first unread message

Audrey Lemacon

unread,
May 11, 2015, 3:59:53 PM5/11/15
to gg...@googlegroups.com
Hi,

I can't find the way to use the layer_arcs function.

Here is the command that I've used (r, a data frame containing the following columns : Start, End,, Method) : 
r %>% ggvis() %>% layer_arcs(x = ~Start,, x2 = ~End, color = ~Method)

I've got this error message :
Erreur : Unknown properties: x2.
Did you mean: x?

Could you help me please ?
Thanx a lot

Audrey L.


Hadley Wickham

unread,
May 11, 2015, 4:50:08 PM5/11/15
to Audrey Lemacon, gg...@googlegroups.com
Arcs take x, y, innerRadius, outerRadius, startAngle and endAngle.
Hadley
> --
> You received this message because you are subscribed to the Google Groups
> "ggvis" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ggvis+un...@googlegroups.com.
> To post to this group, send email to gg...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
http://had.co.nz/

Audrey Lemacon

unread,
May 12, 2015, 9:25:38 AM5/12/15
to gg...@googlegroups.com, lemacon...@gmail.com
Hi Hadley,

Thank you for your quick answer. It works :-)

Have a nice day
Audrey 
Reply all
Reply to author
Forward
0 new messages