Re: [R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread Jim Lemon
Hi rain1290, I have recently been working on a similar project, building a grid of event densities for geographic coordinates. If you are stuck, I may be able to provide some assistance. Jim On Sun, Feb 17, 2019 at 10:49 PM rain1290--- via R-help wrote: > > Hello there, > > I am trying to

Re: [R] Weather station data

2019-02-17 Thread Sarah Goslee
The VFS package has tools to process GHCN data (https://www.ncdc.noaa.gov/data-access/land-based-station-data/land-based-datasets/global-historical-climatology-network-ghcn). Sarah On Sun, Feb 17, 2019 at 10:02 AM Bernard Comcast wrote: > > Is anyone aware of any R capability to access data at

Re: [R-es] convertir char a double

2019-02-17 Thread Javier Marcuzzi
Estimada Victoria López Lo que dice Carlos está bien, el problema suele estar en los tipos de datos de un lenguaje informático a otro, yo en lo personal para aprender y luego durante mucho tiempo y aún hoy luego de varios años con R, se escribir str(mis_datos), porque me pasó muchas veces el

Re: [R] Question about bindata

2019-02-17 Thread إيمان إسماعيل محمد
Thanks a lot Jeff I sent to authors and I hope can find these function or even alternatives On Sun, 17 Feb 2019 at 17:11, Jeff Newmiller wrote: > I would guess in an archived version of the package [1], though they may > have been moved to another package. Such an old package probably will not

Re: [R] Learning to Write R Packages (Libraries) with Documentation

2019-02-17 Thread Jeff Newmiller
Wow. Did you consider reading the Posting Guide, which indicates that this is not the right list for these questions? Please follow up in the right mailing list, but maybe this will get you started. Your missive is full of value judgements... I can only suppose that is what you get for

Re: [R] Learning to Write R Packages (Libraries) with Documentation

2019-02-17 Thread Bert Gunter
Oh, I also would assume that the authoritative, current doc for R package development is "Writing R Extensions," which of course is part of all R distros. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka

Re: [R] Learning to Write R Packages (Libraries) with Documentation

2019-02-17 Thread Bert Gunter
This is off topic for this list. Post to r-package-devel for questions about writing r packages, package docs, etc. Note especially the use of namespaces to avoid name clashes. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into

Re: [R] Remove cases with -Inf from a data frame

2019-02-17 Thread Ek Esawi
This is a similar versions of other answers. df[apply(apply(df,2,is.finite),1,sum)==4,] BOL---EK On Sat, Feb 16, 2019 at 10:07 AM AbouEl-Makarim Aboueissa wrote: > > Dear All: good morning > > > I have a log-transformed data frame with some *-Inf* data values. > > *my question: *how to remove

[R] Learning to Write R Packages (Libraries) with Documentation

2019-02-17 Thread Ivo Welch
I would like to put together a set of my collected utility functions and share them internally. (I don't think they are of any broader interest.) To do this, I still want to follow good practice. I am particularly confused about writing docs. * for documentation, how do I refer to '@'-type

Re: [R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi: > On Feb 16, 2019, at 9:33 AM, rain1290--- via R-help > wrote: > >> ggplot()+geom_point(aes(x=nc_lon,y=nc_lat,color="onedaymax"), > size=0.8)+borders("world", > colour="black")+scale_color_viridis(name="onedaymax")+theme_void()+coord_quickmap() > *Error: Aesthetics must be either length 1

Re: [R] Weather station data

2019-02-17 Thread Bert Gunter
Search! "r-package weather station data" immediately brought up what looked like several relevant hits. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun,

Re: [R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread Bert Gunter
The r-sig-geo list would probably be a better place to post this, as they specialize in this sort of thing. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On

Re: [R] Question about bindata

2019-02-17 Thread Jeff Newmiller
I would guess in an archived version of the package [1], though they may have been moved to another package. Such an old package probably will not work on a modern version of R... you can extract the functions and see if they still run. Note that those functions may have theoretical issues or

[R] Weather station data

2019-02-17 Thread Bernard Comcast
Is anyone aware of any R capability to access data at weather stations around the globe? An R package perhaps? Thanks Bernard Sent from my iPhone so please excuse the spelling!" __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

[R] Question about bindata

2019-02-17 Thread إيمان إسماعيل محمد
Hi all, I am wondering that I can't find the following functions: - higher.cor - input.cor - pairprob - pdef in bindata lib as mentioned in the following paper: http://epub.wu.ac.at/486/1/document.pdf How can I reach these functions?? Thanks [[alternative HTML version

Re: [R] Remove cases with -Inf from a data frame

2019-02-17 Thread AbouEl-Makarim Aboueissa
Dear Rui and All: thank you very much for your very helpful responses. with many thanks abou __ *AbouEl-Makarim Aboueissa, PhD* *Professor, Statistics and Data Science* *Graduate Coordinator* *Department of Mathematics and Statistics* *University of Southern Maine* On

[R] Problems trying to place a global map with Ncdf data plot

2019-02-17 Thread rain1290--- via R-help
Hello there, I am trying to overlay a global map with ncdf data of precipitation for a particular location (using specific coordinates). The file is in ncdf format (commonly used to store away climate data), and I am currently attempting to place a global map on plotted precipitation values.