Dedicated page on use of leaflet in R provides a very useful example on generating random latitude and longitude values for Central Europe:
cbind(rnorm(40) * 2 + 13, rnorm(40) + 48)
which results in neatly distributed points:
(Source: Leaflet official page)
I'm interested in generating a similar set of randomly generated points by, broadly, corresponding to the UK. For instance, how can I use the latitude and longitude map available through Maps of World to arrive at the
Z values in the formula below so the generated dots would, roughly, fell across the British Isles?
cbind(rnorm(40) * X + Y, rnorm(40) + Z)
I'm interested in a rough approximation, if some points will fall in the see or outside the UK that's fine.