Re: [R] [FORGED] help using ggplot for contour plot

2016-12-18 Thread Jatin Kala
provided. This blog post looks like it contains some useful information ... http://www.exegetic.biz/blog/2013/12/contour-and-density-layers-with-ggmap/ Paul On 16/12/16 19:03, Jatin Kala wrote: Hi R community, I am trying to do a contour plot of (longitude, latitude, concentration). This is

Re: [R] matrix manipulation question

2015-03-27 Thread Jatin Kala
Thanks Richard, This works, rather obvious now that i think of it! =) On 27/03/2015 4:30 pm, Richard M. Heiberger wrote: just reverse what you did before. newdata <- data newdata[] <- NA newdata[,!apply(is.na(data), 2, any)] <- myfunction(data_no_NA) On Fri, Mar 27, 2015 at 1:13

[R] matrix manipulation question

2015-03-26 Thread Jatin Kala
Hi, I've got a rather large matrix of about 800 rows and 60 columns. Each column is a time-series 800 long. Out of these 60 time series, some have missing values (NA). I want to strip out all columns that have one or more NA values, i.e., only want full time series. This should do the