Re: [R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-16 Thread Jeff Newmiller
Read up on S3 object orientation[1]. If you have an object x of class "xmean.ordinaly" then writing plot(x) will end up invoking the plot.xmean.ordinaly function rather than the plot.default function in base graphics. This is broadly true throughout R. [1] http://adv-r.had.co.nz/S3.html On Ma

Re: [R] Problems trying to make a time series using NetCDF file

2019-03-16 Thread David W. Pierce
Hi there, the reason it's doing this is because there is no variable named "time" in the file. Obviously I need to patch the ncdf4 package so that it issues an/ understandable error message in this case instead of dying with a weird R error message. That is probably happening because there is a di

Re: [R] Problems trying to make a time series using NetCDF file

2019-03-16 Thread Jeff Newmiller
You might have better luck on the R-sig-spatial mailing list. If you had provided a reproducible example ("reprex") then I might have tried to answer the question but I don't use these tools often enough to grasp the source of your problem based only on diagnostics. And even though they might ha

[R] Modularity Analysis in R, bipartite or rnetcarto package?

2019-03-16 Thread Chelsea Hinton
Hello, I have constructed a plant-pollinator network and would like to conduct a modularity analysis using the algorithm developed by Guimera and Amaral (2005) and the thresholds assigned by Olesen et al. (2007). In researching functions to accomplish this in R, I found the netcarto function in 'r

[R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-16 Thread Kim Jacobsen
Would anyone be able to explain what the difference is between plot.xmean.ordinaly and plot() in the "rms" package? (for the purposes of testing the proportional odds assumption in ordinal models). In the package document (https://cran.r-project.org/web/packages/rms/rms.pdf) they seem both to be us

[R] Problems trying to make a time series using NetCDF file

2019-03-16 Thread rain1290--- via R-help
Hi there, I am using climate model data in attempt to create a time series for a specific location. Getting longitude and latitude is fine. However, I am receiving the following error when using the "ncvar_get" function in trying to derive the "time" dimension: Error in nc$dim[[idobj$list_index]

Re: [R] density vs. mass for discrete probability functions

2019-03-16 Thread Rui Barradas
Hello, Yes, there is even an old discussion on this on r-devel, dated August, 10 2013. See [1]. [1] https://r-project.markmail.org/search/?q=broken-link-in-docs-for-Binormial-functions#query:broken-link-in-docs-for-Binormial-functions+page:1+mid:rf6tbiokcdyai6el+state:results Hope this he

Re: [R] density vs. mass for discrete probability functions

2019-03-16 Thread Stefan Schreiber
Thank you Peter and Spencer. That clears things up. Also since no one responded the second part of my question, I'm still wondering if it was noted that there is a hyperlink in the dbinom help file (?dbinom) that isn't directing correctly? Stefan On Fri, Mar 15, 2019, 07:37 peter dalgaard, wrote

Re: [R] Help with gsub function

2019-03-16 Thread Bill Poling
Good morning Peter, yes that works fine. My attempt was based on a google search that looked promising but was obviously more complicated than it needed to be. Thank you. WHP From: Peter Langfelder Sent: Friday, March 15, 2019 3:53 PM To: Bill Poling Cc: r-help (r-help@r-project.org) Subjec