Home
News
Feed
search engine
by
freefind
advanced
adding labels to a scatterplot in R
2013-12-01
azim58 - adding labels to a scatterplot in R see http://rtutorialseries.blogspot.com/2010/09/r-tutorial-series-labeling-data -points.html and "C:\kurt\storage\CIM Research Folder\DR\2013\3-9-13\work on paper\example_plot_labelingPoints.txt" Here's an example program =========================================================================== #Basically load data with a command like enrollmentData <- read.csv("C:/kurt/storage/CIM Research Folder/DR/2013/3-9-13/work on paper/dataset_plot_labelingPoints.csv") #plot the data plot(enrollmentData$YEAR, enrollmentData$UNEM) #load the necessary library library(calibrate) #add labels to datapoints textxy(enrollmentData$YEAR, enrollmentData$UNEM, enrollmentData$ROLL)
azim58wiki: