vega-scales.RdVega scales
scale_x( v, name = zap(), domain = zap(), type = "linear", breaks = zap(), orient = "bottom", ... ) scale_y( v, name = zap(), domain = zap(), type = "linear", breaks = zap(), orient = "left", ... ) scale_color(v, name = zap(), range = zap(), scheme = zap(), guide = TRUE, ...) scale_colour(v, name = zap(), range = zap(), scheme = zap(), guide = TRUE, ...) scale_size(v, name = zap(), range = zap(), type = "linear", guide = TRUE, ...) scale_shape(v, name = zap(), guide = TRUE, ...)
| v | A |
|---|---|
| name | A string for an axis label. |
| domain | A vector of two elements to define the range. |
| type | One of "linear", "log", "sqrt", "temporal", "band", "category" scale types. |
| breaks | One of:
|
| orient | One of "bottom" and "top" for |
| ... | Other parameters passed to vega specs. |
| range | Custom range specification for colour, opacity, and size. |
| scheme | Colour scheme. |
| guide | If |