Bubble plot (generic)
The function allows to generate a bubble plot of a given variable. If the parameter range
is not provided, the function estimates the coordinate range of the plot using the points' coordinates extension.
bubbleplot(x, y, data, variable, range = NA,inches=0.1, interval = "equal", land=countries, d1 = depth_1, d2= depth_2, d3 = depth_3)
x |
the x coordinates (longitude) of points in the plot. |
y |
the y coordinates (latitude) of points in the plot. |
data |
data frame containing thae variable to be plotted |
variable |
character value of the variable name in |
range |
vector of the coordinates limits of the plot in the form of |
inches |
maximum dimension of the circles expressed in inches. |
interval |
character variable indicating the type of breaks to be computed for the five value levels. Allowed values: |
land |
shapefile of the world's land |
d1 |
shapefile of the 50m bathymetrical line |
d2 |
shapefile of the 200m bathymetrical line |
d3 |
shapefile of the 800m bathymetrical line |
The function returns the bubble plot map of a given variable in a selected range of coordinates.
Walter Zupa
library(MEDITS) m <- MEDITS.to.dd(TA) bubbleplot(x=m$SHOOTING_LONGITUDE, y=m$SHOOTING_LATITUDE, m, "SHOOTING_DEPTH",interval="quantiles", range=c(12,17,38,42))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.