powered by
coordinates methods
charlatan::BareProvider -> CoordinateProvider
charlatan::BareProvider
CoordinateProvider
CoordinateProvider$lon()
CoordinateProvider$lat()
CoordinateProvider$position()
CoordinateProvider$clone()
Inherited methods charlatan::BareProvider$bothify() charlatan::BareProvider$lexify() charlatan::BareProvider$numerify() charlatan::BareProvider$print() charlatan::BareProvider$random_digit() charlatan::BareProvider$random_digit_not_zero() charlatan::BareProvider$random_digit_not_zero_or_empty() charlatan::BareProvider$random_digit_or_empty() charlatan::BareProvider$random_element() charlatan::BareProvider$random_element_prob() charlatan::BareProvider$random_int() charlatan::BareProvider$random_letter() charlatan::BareProvider$randomize_nb_elements()
charlatan::BareProvider$bothify()
charlatan::BareProvider$lexify()
charlatan::BareProvider$numerify()
charlatan::BareProvider$print()
charlatan::BareProvider$random_digit()
charlatan::BareProvider$random_digit_not_zero()
charlatan::BareProvider$random_digit_not_zero_or_empty()
charlatan::BareProvider$random_digit_or_empty()
charlatan::BareProvider$random_element()
charlatan::BareProvider$random_element_prob()
charlatan::BareProvider$random_int()
charlatan::BareProvider$random_letter()
charlatan::BareProvider$randomize_nb_elements()
lon()
a latitude value
lat()
a longitude value
position()
a position, of form [longitude,latitude]
[longitude,latitude]
CoordinateProvider$position(bbox = NULL)
bbox
optionally, specify a bounding box for the position to be in, of the form [west,south,east,north] - checks that the bbox has valid values for lat and long
[west,south,east,north]
clone()
The objects of this class are cloneable with this method.
CoordinateProvider$clone(deep = FALSE)
deep
Whether to make a deep clone.
z <- CoordinateProvider$new() z$lon() z$lat() z$position() z$position(bbox = c(-120, 30, -110, 60))
Run the code above in your browser using DataLab