Code
scale_x_discrete(breaks = 1:3, labels = 1:2)
Condition
Error in `scale_x_discrete()`:
! `breaks` and `labels` must have the same length.
Code
scale_x_continuous(breaks = 1:3, labels = 1:2)
Condition
Error in `scale_x_continuous()`:
! `breaks` and `labels` must have the same length.
Continuous limits supplied to discrete scale.
i Did you mean `limits = factor(...)` or `scale_*_continuous()`?
Code
scale_x_date(breaks = NA, limits = lims)$get_breaks()
Condition
Error in `scale_x_date()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
scale_x_date(labels = NA, limits = lims)$get_labels()
Condition
Error in `scale_x_date()`:
! Invalid `labels` specification. Use `NULL`, not `NA`.
Code
scale_x_date(minor_breaks = NA, limits = lims)$get_breaks_minor()
Condition
Error in `scale_x_date()`:
! Invalid `minor_breaks` specification. Use `NULL`, not `NA`.
Code
scale_x_datetime(breaks = NA, limits = lims)$get_breaks()
Condition
Error in `scale_x_datetime()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
scale_x_datetime(labels = NA, limits = lims)$get_labels()
Condition
Error in `scale_x_datetime()`:
! Invalid `labels` specification. Use `NULL`, not `NA`.
Code
scale_x_datetime(minor_breaks = NA, limits = lims)$get_breaks_minor()
Condition
Error in `scale_x_datetime()`:
! Invalid `minor_breaks` specification. Use `NULL`, not `NA`.
Code
sxc$get_breaks()
Condition
Error in `scale_x_continuous()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
sxc$get_breaks_minor()
Condition
Error in `scale_x_continuous()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
syc$get_breaks()
Condition
Error in `scale_y_continuous()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
syc$get_breaks_minor()
Condition
Error in `scale_y_continuous()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
sac$get_breaks()
Condition
Error in `scale_alpha_continuous()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
ssc$get_breaks()
Condition
Error in `scale_size_continuous()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
sfc$get_breaks()
Condition
Error in `scale_fill_continuous()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Code
scc$get_breaks()
Condition
Error in `scale_colour_continuous()`:
! Invalid `breaks` specification. Use `NULL`, not `NA`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.