Closed matt-dray closed 1 year ago
Also, when grid
is FALSE
:
click_pixels(n_rows = 1, grid = FALSE) # then click the plot
# Error in if (next_state > n - 1L) { : argument is of length zero
click_pixels(n_cols = 1, grid = FALSE) # then click the plot
# Error in if (next_state > n - 1L) { : argument is of length zero
Dimension of 1 provided to
click_pixels()
results in error.Because
Inf
.Consider the impact of the reversing/transposing of the matrix for the `image(), given an x or y dimension of 1.
Force
abline()
toc(-1, 1)
if dimension is 1.