search for: ganges_subbasin

Displaying 1 result from an estimated 1 matches for "ganges_subbasin".

2010 May 16
1
problem with making multiple plots (geom_pointrange) in a loop (ggplot2)
Hello: I am using R 2.10.1 I am trying to make multiple scatter plots with ggplot2, using a for loop to select only certain entries in a dataframe. Here is my code: for(i in 1:length(ganges_subbasin[,1] )){ subbasin_select <- as.character(ganges_subbasin[i, 2]) #print(subbasin_select) subbasin_select <- as.character(ganges_subbasin[i, 2]) p <- ggplot(ganges_subbasin_a2pre_sort ,aes(x = Month, y = med, ymin = min, ymax = max, subset = CATCHMENT_ == subbasin_select...