You can create a scatter plot in R using plot() function and adjust the size of the markers on the plot according to the values of z column using the cex parameter. Here is an example:
main.r609 chars19 lines
In the above example, we first create sample data for x, y, and z columns. Then we create the scatter plot using plot() function and set the size of the markers using cex parameter. In this case, we divide z column by 10 to scale the size of the markers appropriately. Finally, we add labels to the plot including a legend for z column.
gistlibby LogSnag