Re: [R] Error: promise already under evaluation

2023-07-18 Thread Joseph Lucke
(), the standard nonstandard scoping didn't enable access to the global value. I hope this makes sense. In any case, the problem has been solved. Thanks. On Tue, Jul 18, 2023, 10:38 AM Ivan Krylov wrote: > В Tue, 18 Jul 2023 09:28:30 -0400 > Joseph Lucke пишет: > > > Erro

[R] Error: promise already under evaluation

2023-07-18 Thread Joseph Lucke
A repost. R gurus: I have a 10 or so functions that use R’s qnbinom() function. Until now, they have worked without any problems whatsoever. I created a new function, which involved the integration, using R’s integrate(), of a function that in turn uses the qnbinom() function. The function failed b

Re: [R] Off-topic: ChatGPT Code Interpreter

2023-07-18 Thread Joseph Lucke
The near year as Metropolis, 1927. On Tue, Jul 18, 2023, 1:27 AM Rui Barradas wrote: > Às 00:23 de 18/07/2023, Jim Lemon escreveu: > > I haven't really focused on the statistical capabilities of AI, that > > marriage of massive memory and associative learning. I am impressed by > > its ability

Re: [R] foreign package: unable to read S-Plus objects

2023-01-17 Thread Joseph Voelkel
Thank you for the response, and the reasoning behind. I will try to do as you suggested. Joe From: Uwe Ligges Sent: Tuesday, January 17, 2023 10:04 AM To: Viechtbauer, Wolfgang (NP) ; Kevin Thorpe ; Joseph Voelkel Cc: R Help Mailing List Subject: Re: [R

[R] foreign package: unable to read S-Plus objects

2023-01-17 Thread Joseph Voelkel
Dear foreign maintainers and others, I am trying to import a number of S-Plus objects into R. The only way I see how to do this is by using the foreign package. However, when I try to do this I receive an error message. A snippet of code and the error message follows: read.S(file.path(Spath, "

Re: [R] MCMC tools

2022-12-28 Thread Joseph Lucke
MCMCpack, perhaps? On Tue, Dec 27, 2022, 3:32 PM Therneau, Terry M., Ph.D. via R-help < r-help@r-project.org> wrote: > Is there a convenient package that computes standard covergence summaries > for and MCMC > run?This is something that I likely knew once and have now forgotton. > > More de

[R] [R-pkgs] domir: Tools to Support Relative Importance Analysis

2021-03-17 Thread Joseph Luchman
affects functionality in R versions < 4. Working on a patch to revise. Cordially, - Joseph CRAN: <https://cran.r-project.org/package=domir> GibHub: <https://github.com/jluchman/domir> [[alternative HTML version deleted]] ___

[R] using phia with glmmTMB

2017-09-14 Thread Joseph Ciarrochi
e, but I love the speed of glmmTMB. Is there any way to get interactionMeans to work with glmmTMB? best Joseph [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman

[R] R Consortium R Users Survey

2017-07-13 Thread Joseph Rickert
O4NF> and encourage everyone to participate. We intend to make this survey an annual event. We hope that it will become a means to further strengthen the bonds of the R Community. Thank you and best regards, Joseph B. Rickert RStudio R Community Ambassador R Consortium Director Cell:

Re: [R] No reply from CRAN Task View: Graphic Displays & Dynamic Graphics & Graphic Devices & Visualization

2017-01-20 Thread Joseph Gama
Jun 20, 2016, at 12:53, Achim Zeileis wrote: > > On Mon, 20 Jun 2016, Joseph Gama wrote: > > > > > Hi all, > > > > > > I emailed a suggestion to Nicholas Lewin-Koh, the maintainer of the > CRAN > > > Task View: Graphic Displays & Dynamic Graphics &a

[R] No reply from CRAN Task View: Graphic Displays & Dynamic Graphics & Graphic Devices & Visualization

2016-06-20 Thread Joseph Gama
Hi all, I emailed a suggestion to Nicholas Lewin-Koh, the maintainer of the CRAN Task View: Graphic Displays & Dynamic Graphics & Graphic Devices & Visualization. I got no reply, so I wonder, is he still maintaining that view? If not, then who else does or will maintain it? BR, José Gama

Re: [R] cross correlation of filtered Time series

2016-01-13 Thread Sudheer Joseph
Thank you Giorgio With best regards, Sudheer From: Giorgio Garziano [giorgio.garzi...@ericsson.com] Sent: Wednesday, January 13, 2016 1:50 PM To: Sudheer Joseph; r-help@r-project.org Subject: RE: [R] cross correlation of filtered Time series I used

Re: [R] cross correlation of filtered Time series

2016-01-12 Thread Sudheer Joseph
which I am not understanding in this case. With best regards, Sudheer From: Giorgio Garziano [giorgio.garzi...@ericsson.com] Sent: Tuesday, January 12, 2016 9:38 PM To: r-help@r-project.org Cc: Sudheer Joseph Subject: Re: [R] cross correlation of filtered

[R] cross correlation of filtered Time series

2016-01-10 Thread Sudheer Joseph
Dear Experts, I have been trying to find lagged correlation between two time series which are band pass filtered for 30-90 day band. I would like to understand the lagged correlation between these 2 series in this band. The issue is that auto-correlations exist in both series and( also both h

Re: [R] virus/trojan in contributed package: 'svs'

2015-10-23 Thread Bijoy Joseph
managed to find a Windows machine to scan the file (using MS System center Endpoint), and it detected no threat! False positive, as you suggested. Thanks, Bijoy Joseph On 2015-10-23 12:23, peter dalgaard wrote: Virus scanners generate a fair amount of false positives. Does it persist if you

[R] virus/trojan in contributed package: 'svs'

2015-10-23 Thread Bijoy Joseph
Hello, I came across the following when I was installing the 'svs' package: $ clamscan svs_1.0.3.zip svs_1.0.3.zip: BAT.CMDFlood FOUND --- SCAN SUMMARY --- Known viruses: 4035827 Engine version: 0.98.7 Scanned directories: 0 Scanned files: 1 Infected files: 1 clamscan finds th

[R] Please Help how to execute R via php script

2015-08-18 Thread Joseph Mbowe
Dear R members, I want to call my R script thorough php but no I am not getting output When I call my r script by bat file works fines also when run by Rstudio it works fines but when i cant call via php here is the php code: ' ; ?> here is R script args=(commandArgs(TRUE)) library(ggplot2) l

[R] question on waveletcomp plot image

2015-04-03 Thread Sudheer Joseph
ng arguments to min; returning Inf 2: In max(x) : no non-missing arguments to max; returning -In with best regards Sudheer ****** Dr. Sudheer Joseph Scientist, INCOIS, MoES, Govt. of India. "OCEAN VALLEY" ,

[R] FW: R demos or tutorials

2014-12-30 Thread Joseph Racine
gain some familiarity, please pass those on as well. Best regards and happy new year. Joe Racine Joseph K. Racine Data Scientist MDA Information Systems LLC Client Site: (434) 995-4454 Cell: (571) 213-4236 www.mdaus.com<http://www.mdaus.com/> joseph.rac...@mdaus.com <mailto:joseph.rac

Re: [R] R-help Digest, Vol 126, Issue 34

2013-08-31 Thread Sudheer Joseph
Hi, I was using R arima and the results are stored. If I need to print , is there a way to print the coeficient names spd.ar2ma1=arima(spd_a,order=c(2,0,1)) write.table(sprintf("%s,%6.3f",spd.ar2ma1$coef),file='arma_results.txt',eol ="\n",append=FALSE,quote=FALSE,col.names=FALSE,row

Re: [R] Daily Time series setting

2013-08-28 Thread Sudheer Joseph
Thank you it works, With best regards Sudheer On Wednesday, August 28, 2013, Pascal Oettli wrote: > Hello, > > Use "zoo" instead. > > Regards, > Pascal > > > 2013/8/28 Sudheer Joseph 'sjo.in...@gmail.com');>> > >> Also, i

Re: [R] calendar axis for forecasts

2013-08-28 Thread Sudheer Joseph
://docs.google.com/file/d/0B3heUQNme7G5Y19DR3FLOHFKOVk/edit?usp=sharing On Wed, Aug 28, 2013 at 5:22 PM, Sudheer Joseph wrote: > Hi, >I was trying to get calender axis for a arima time series > forecast.I could not succeed even though I used zoo time series object. > Please suggest

[R] calendar axis for forecasts

2013-08-28 Thread Sudheer Joseph
** Dr. Sudheer Joseph Scientist INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS) MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA "OCEAN VALLEY" PRAGATHI NAGAR (BO) OPP.JNTU, NIZAMPET SO Andhra Pradesh, India. PIN- 500 090. TEl:+91-40-23044600(R),Tel:+91-

Re: [R] Daily Time series setting

2013-08-27 Thread Sudheer Joseph
Also, if that was the case, in below specification it should take the timeseries properly which so not takesplace. > 1825/365 [1] 5 > ts(ru, start = c(2003, 1, 1), end = c(2007, 12, 30), frequency = 365) On Wed, Aug 28, 2013 at 4:57 AM, Sudheer Joseph wrote: &g

Re: [R] Daily Time series setting

2013-08-27 Thread Sudheer Joseph
u, start = c(2003, 1, 1), end = c(2008, 1, 1), frequency = 365.33) : invalid time series parameters specified On Mon, Aug 26, 2013 at 5:03 PM, Jim Lemon wrote: > On 08/26/2013 12:35 PM, Sudheer Joseph wrote: > >> Hi, >> I am trying to load a daily time series as

Re: [R] matrix into vector with vertex names - shortestpath reshape2

2013-08-27 Thread Joseph J. Bakker
Ok, the problem seems simpler than I thought. It works well if omit two lines: y_s[,1] <- V(y)$name[y_s[,1]] y_s[,2] <- V(y)$name[y_s[,2]] It seems melt creates a data.frame (unlike what it did two years ago?) Joe On Tue, Aug 27, 2013 at 12:35 AM, Joseph J. Bakker wrote: > Two year

Re: [R] Daily Time series setting

2013-08-26 Thread Sudheer Joseph
Thank you let me try my luck, Sudheer On Monday, August 26, 2013, Jim Lemon wrote: > On 08/26/2013 12:35 PM, Sudheer Joseph wrote: > >> Hi, >> I am trying to load a daily time series as a r time series >> object in the script at below link using the data

[R] matrix into vector with vertex names - shortestpath reshape2

2013-08-26 Thread Joseph J. Bakker
> > Two years ago, as shown in the script at the end, I created shortestpaths > using Igraph, then using Melt in Reshape2 I converted the the resulting > matrix into > three column vectors - "vertex1", "vertex2", "shortestpath". It worked > then. > However, in the meantime I have installed new v

Re: [R] Time axis formatting.

2013-08-26 Thread Sudheer Joseph
Thank you. with best regards, Sudheer On Mon, Aug 26, 2013 at 4:36 AM, Jim Lemon wrote: > On 08/26/2013 01:09 AM, Sudheer Joseph wrote: > >> Attached is a plot with a time series. If I have a time series object in >> R. >> How do I get the plot in the attached form

Re: [R] Time axis formatting.

2013-08-26 Thread Sudheer Joseph
plot(x$time, x$val, type = 'l', main = 'Manual Labels', xaxt = 'n') >> >> # create sequence of start of month >> monthTick <- seq(from = as.Date(format(min(x$time), "%Y-%m-1")) >> , to = as.Date(format(max(x$time), "%Y-

[R] Daily Time series setting

2013-08-26 Thread Sudheer Joseph
** Dr. Sudheer Joseph Scientist INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS) MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA "OCEAN VALLEY" PRAGATHI NAGAR (BO) OPP.JNTU, NIZAMPET SO Andhra Pradesh, India. PIN- 500 090. TEl:+91-40-23044600(R),Tel:+91-

[R] Time axis formatting.

2013-08-25 Thread Sudheer Joseph
** Dr. Sudheer Joseph Scientist INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS) MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA "OCEAN VALLEY" PRAGATHI NAGAR (BO) OPP.JNTU, NIZAMPET SO Andhra Pradesh, India. PIN- 500 090. TEl:+91-40-23044600(

Re: [R] how to compute maximum of fitted polynomial?

2013-06-05 Thread Joseph Clark
Thank you all! This approach, using the 'polynom' library, did the trick. > library(polynom) # -6 + 11*x - 6*x^2 + x^3 > p0 <- polynomial(c(-6, 11, -6, 1)) # has zeros at 1, 2, and 3 > p1 <- deriv(p0); p2 <- deriv(p1) # first and second derivative > xm <- solve(p1) # maxima and minima of p0 > xma

[R] how to compute maximum of fitted polynomial?

2013-06-04 Thread Joseph Clark
maximum between 0 <= x <= 1. What's the best way to accomplish that in R? Bonus question: can R give me the derivative or 2nd derivative of the polynomial? I'd like to be able to compute these at that maximum point. Thanks in advance! // joseph w. clark , phd , visiting resea

[R] How to test if something doesn't exist

2013-05-22 Thread Joseph Trubisz
Couldn't exactly explain the subject, so here's the example: idx<-which(blah[,1]=="xyz") idx integer(0) How do I test that idx has a valid value (namely, > 0)? TiA, Joe __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Heterogeneous negative binomial

2013-05-17 Thread Joseph Hilbe
nct package to the COUNT package, which is on CRAN and provides the data sets, functions and a host of scripts for Hilbe, "Negative Binomial Regression", 2nd edition, Cambridge University Press (2011). Best, J. Hilbe ---

Re: [R] interactive visualizations - anyone use SVGAnnotation?

2013-03-01 Thread Joseph Clark
s verson 0.9-0 instead of the latest 0.93-1, but it installed with no problems. Now to see what it can do! I still welcome any recommendations of other tools for interactive presetation graphics with R. And, my apologies for the mangled HTML-email original message! // joseph w. clark , phd , visiti

[R] interactive visualizations - anyone use SVGAnnotation?

2013-03-01 Thread Joseph Clark
es : cannot open compressed file 'SVGAnnotation_0.93-1.tar.gz/DESCRIPTION', probable reason 'No such file or directory' Error in install.packages : cannot open the connection // joseph w. clark , phd , visiting research associate \\ university of nebraska at omaha - college of IS&

[R] Creating dummy variables in r

2013-01-29 Thread Joseph Norman Thomson
Hello, Semi-new r user here and still learning the ropes. I am creating dummy variables for a dataset on stock prices in r. One dummy variable is called prev1 and is: prev1 <- ifelse(ret1 >= .5, 1, 0) where ret1 is the previous day's return. The variable "prev1" is created fine and works in my

[R] Conditional Statistics

2013-01-07 Thread Joseph Norman Thomson
Hello, I am a new user of R. I am coming from SAS and do statistics on stock market data, economic data, and social data. My question is this: How can you get the mean, standard dev, etc. of a variable based on a conditional statement on either the same variable or a different variable in the same

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread Joseph Clark
I don't have any experience with "predict", but if it returns a data frame, just capture that data frame and refer to the columns as vectors. mydata <- predict(...)plotCI( 1:nrow(mydata), y=mydata$fit, ui=mydata$upr, li=mydata$lwr ) That seems easier to me. // joseph w

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread Joseph Clark
In my example code, 'fit' and 'upr' and 'lwr' are just the names of the data vectors you gave as an example. If those names aren't correct, change them to what you're actually using. You can also assign your x values to x. // joseph w. clark , visi

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread Joseph Clark
I typically use the function "plotCI" from the "plotrix" package for confidence intervals or error bars.The code would be: library(plotrix)plotCI( x=1:15, y=fit, ui=upr, li=lwr) // joseph w. clark , visiting research associate \\ university of nebraska at omaha - school o

[R] extract fit values from geom_smooth

2012-10-04 Thread Joseph Tannhuber
: ±3 sigma integral of the two gaussians 3rd: minimum between the two gaussians How can I extract these values from the geom_smooth function? And is there an easy way to find the minimum? Thanks in advance Joseph __ R-help@r-project.org mailing list https://s

Re: [R] outer() or some other function for regression prediction with 2 IVs

2012-07-10 Thread Joseph Clark
I saw the hint but didn't know how to implement it, I learn more every day. Thanks for spelling it out! I knew there had to be a function like "predict"! // joseph w. clark , phd candidate \\ usc marshall school of business &g

Re: [R] outer() or some other function for regression prediction with 2 IVs

2012-07-09 Thread Joseph Clark
Thanks. I was able to get what I wanted by doing this: predxn <- function(s,d) { coef(m3)[1] + coef(m3)[2]*s + coef(m3)[3]*s^2 + coef(m3)[4]*d + coef(m3)[5]*d^2 } But it's not very elegant... // joseph w. clark , phd candidate \\ usc marshall school of

[R] outer() or some other function for regression prediction with 2 IVs

2012-07-09 Thread Joseph Clark
ooks like each variable in my function is using the whole "z" array of s's and d's rather than being calculated for each combination of values one at a time. So, am I using outer() wrong? Or did I write my function badly? Or is there a better way to plot a 3d surfa

Re: [R] heatmaps and layouts

2012-07-09 Thread Joseph Clark
heatmap.2. // joseph w. clark , phd candidate \\ usc marshall school of business > Date: Mon, 9 Jul 2012 15:41:36 -0400 > From: soni.t...@gmail.com > To: r-help@r-project.org > Subject: [R] heatmaps and layouts > > I'm using R to cre

Re: [R] carpet plots

2012-07-02 Thread Joseph Clark
example: (http://www.johannes-hopf.de/wordpress/wp-content/uploads/2009/12/Zufall-300x225.png)? // joseph w. clark , phd candidate \\ usc marshall school of business > Date: Mon, 2 Jul 2012 20:05:12 +0200 > From: mueller.eisb...@googlemail.co

Re: [R] Heat Maps

2012-07-02 Thread Joseph Clark
lt;- outer(x,y,u) a <- ceiling(quantile(z,seq(0,1,0.1))) image(x,y,z,col=heat.colors(10),breaks=a) par(new=TRUE) contour(x,y,z,levels=a[2:10],xaxs="i",yaxs="i") This works without any special packages installed. // joseph w. clark , phd candidate \\ usc marshall school o

Re: [R] Heat Maps

2012-07-02 Thread Joseph Clark
the "image" function should do it, something like this: image( x, y, outer(x,y,u), col=[some vector of colors] ) You can add a "breaks" parameter but you need one more break than you have colors (include the start and end point). Or just let it be automatic.I have used colorpanel() from the gp

[R] dropping variables from a data frame inside a function

2012-06-22 Thread Joseph Boyer
Why doesn't this work? #Drop a variable name from a data frame DropLikeSAS <- function(x,df) { df[[x]] <- NULL 0 } DropLikeSAS("VarName", DataFrameName) Try it. The column VarName

[R] Ranked predictor and response variable analysis

2012-05-07 Thread Joseph Dauer
Hello, I have an experimental design where I would like to use separate ranking events to predict an independent ranking event. I have been using function clmm in the ordinal library but now realize that I am violating one of the assumptions. I have included a subset of the data. I am looking a

Re: [R] "Where" command in ctree (party)

2012-02-17 Thread Joseph Wang
data but is numeric in the validation data even though unique(valid[,88]) shows 0 and 1. -Original Message- From: Achim Zeileis [mailto:achim.zeil...@uibk.ac.at] Sent: Friday, February 17, 2012 10:51 AM To: Joseph Wang Cc: r-help@r-project.org Subject: Re: [R] "Where" command i

[R] Warning When Importing SPSS Files XXXX

2012-02-14 Thread Joseph Gonzalez
reencode = NA, use.missings = to.data.frame) Warning message: In read.spss("human4.sav", use.value.labels = TRUE, to.data.frame = TRUE, : human4.sav: Compression bias (0) is not the usual value of 100 Most Respectfully, Joseph -- Joseph B. Gonzalez _____ Joseph B. Gon

Re: [R] Euler identity with complex exp

2012-01-30 Thread Joseph Park
27;s "interpretation" of > Euler's formula. There's only one way to parse this relationship that > gives mathematical consistency and it's what Peter and I have set out > for you. > > Michael > > ** Not actually true, if x is complex, it of course w

Re: [R] Euler identity with complex exp

2012-01-30 Thread Joseph Park
nd sin(x) as > > cos(x) = ( exp(ix) + exp(-ix) )/2 > and sin(x) = ( exp(ix) - exp(-ix) )/2 > > In any case, plug any complex number into > exp( ix ) > and > cos x + i sin x > > in R and you will get the exact same answers. > > HTH, > > Peter > > On

[R] Euler identity with complex exp

2012-01-30 Thread Joseph Park
Hi, Am i doing something silly here in expecting Euler's formula to be handled by exp? exp( ix ) = cos x + i sin x. The first example below follows this, the others not. Thanks for the education! > exp( complex(real = 0, imag = 2*pi) ) [1] 1-0i > exp( complex(real = pi, imag = 2*pi) ) [1] 23.1

Re: [R] Using !is.na() in a HAVING clause in sqldf() XXXX

2012-01-17 Thread Joseph Magagnoli
> > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>

[R] Package "field" missing from repositories

2011-11-30 Thread joseph . shea
u.ca/, and I've installed the dependencies ('spam'). Any suggestions? Thanks! -- Joseph Shea Post-Doctoral Fellow Departments of Geography University of British Columbia and University of Northern British Columbia Phone: 250-960-5840 Email: joseph.s...@geog.ubc.ca _

Re: [R] Variability plot in R

2011-10-05 Thread Joseph Boyer
Dennis, Thank you for your reply. This is a good start for what I want to achieve. -- Joe -Original Message- From: Dennis Murphy [mailto:djmu...@gmail.com] Sent: Friday, May 20, 2011 10:55 PM To: Joseph Boyer Cc: r-help@r-project.org Subject: Re: [R] Variability plot in R Here'

Re: [R] suggestions argument in rbga function in genalg package

2011-10-03 Thread Joseph Boyer
- From: Enrico Schumann [mailto:enricoschum...@yahoo.de] Sent: Friday, September 23, 2011 12:53 AM To: Joseph Boyer Cc: r-help@r-project.org Subject: Re: [R] suggestions argument in rbga function in genalg package I do not use this package, but a quick look at the code shows this. if (!is.null(s

Re: [R] how to get old packages to work on R 2.12.1

2011-10-03 Thread Joseph Boyer
That works great. Thanks, Rich. From: Richard M. Heiberger [mailto:r...@temple.edu] Sent: Wednesday, September 28, 2011 1:13 PM To: Joseph Boyer Cc: r-help@r-project.org Subject: Re: [R] how to get old packages to work on R 2.12.1 Joe, Most firewall issues can be resolved by entering

Re: [R] how to get old packages to work on R 2.12.1

2011-09-28 Thread Joseph Boyer
Many thanks for all the suggestions. For me, the update.packages command will not work behind the firewall at my workplace. But the respondents have given me more than enough suggestions to work with. __ R-help@r-project.org mailing list https://stat.

Re: [R] Cross Spectrum : Conversion of 2-D spectrum into a single complex array

2011-09-24 Thread Joseph Park
Perhaps this question is inappropriate or posted to the wrong list? Any guidance would be appreciated. Thanks. --- On Fri, 9/23/11, Joseph Park wrote: > From: Joseph Park > Subject: Cross Spectrum : Conversion of 2-D spectrum into a single complex > array > To: r-help@r-projec

[R] Cross Spectrum : Conversion of 2-D spectrum into a single complex array

2011-09-23 Thread Joseph Park
Hi, I'm wondering why the spectrum() phase of quadrature couple isn't purely +/-pi. But mostly, I'm looking for a recommended way to take a 2-D spectrum and convert it into a single complex array. Kindly consider: # 10 Hz sine wave 10 seconds long sampled at 50 Hz deltaT = 1/50 t = seq(0

[R] suggestions argument in rbga function in genalg package

2011-09-22 Thread Joseph Boyer
Would someone be so kind as to provide example code where they use the suggestions argument in the rgba function In genalg? I can't get it to work. The following code works just fine: GenFit <-rbga(Lower, Upper, evalFunc = evaluate) Lower and Upper are each numeric vectors with 7 elements. Eva

Re: [R] S4 vs Reference Classes

2011-09-14 Thread Joseph Park
ve into the Reference Class methods, or perhaps as suggested, hybridize the current app. On 9/14/2011 12:02 PM, Martin Morgan wrote: On 09/14/2011 06:01 AM, Joseph Park wrote: Thanks Martin. What i'm hoping to do is have a class object, with a member method t

Re: [R] S4 vs Reference Classes

2011-09-14 Thread Joseph Park
wondering if i should switch my app from S4 to RC. Fundamentally, I don't clearly understand S4 and what the difference is between creating a SetReplaceMethod vs a SetMethod, since it seems that in either case one has to 'externally' assign the slot value. My limitation, o

[R] S4 vs Reference Classes

2011-09-13 Thread Joseph Park
Hi, I'm looking for some guidance on whether to use S4 or Reference Classes for an analysis application I'm developing. I'm a C++/Python developer, and like to 'think' in OOD. I started my app with S4, thinking that was the best set of OO features in R. However, it appears that o

Re: [R] Problem loading rJava...

2011-08-15 Thread Joseph Magagnoli
lation of package 'rJava' had non-zero exit status > > > > > -- > Brian Lunergan > Nepean, Ontario > Canada > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do

[R] Using get() or similar function to access more than one element in a vector

2011-08-13 Thread Joseph Sorell
know how I could use get() or some other method to access all of the files named in a vector? Many thank for any help you can offer! Joseph __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] keeping output in memory

2011-08-08 Thread Joseph Sorell
In regard to my question Prof. Warren (Victoria University of Wellington, NZ) suggested the line: assign(paste("freq.list",i,sep="."),freq.list) instead of the lines: filename<-paste("freq.list", i, "txt", sep=".") write(freq.list, file=filename[[1]], sep="", append=FALSE)

[R] keeping output in memory

2011-08-08 Thread Joseph Sorell
ot;.") #creates a unique file name for each iteration of this loop write(freq.list, file=filename[[1]], sep="", append=FALSE) #writes the current frequency list to file } Many thanks! Joseph Sorell __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Spectral Coherence

2011-07-12 Thread Joseph Park
Thanks you! I should have realized that without explicitly engaging some form of averaging (which raises a windowing question) that the coh is always 1. On 7/12/2011 4:48 AM, Rolf Turner wrote: On 12/07/11 09:04, Joseph Park wrote: Greetings, I would like to

[R] Spectral Coherence

2011-07-11 Thread Joseph Park
Greetings, I would like to estimate a spectral coherence between two timeseries. The stats : spectrum() returns a coh matrix which estimates coherence (squared). A basic test which from which i expect near-zero coherence: x = rnorm(500) y = rnorm(500) xts = ts(x, frequency

[R] Pulling data from remote MySQL database

2011-06-21 Thread Joseph McPhail
thing there may be a contract job available. Thank you Joseph McPhail [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Analysis of Dispersion

2011-05-30 Thread Joseph Kunkel
/pub/r_scripts/andy/ Joe Rao, C. R. [1965]. Linear Statistical Inference and its Applications. Wiley, New York -·. .· ·. .><º>·. .· ·. .><º>·. .· ·. .><º> .··.· >=- =º}>< Joseph G. Kunkel, Professor Biology Departm

[R] time series comparison

2011-05-26 Thread joseph
effect on fly activity. What is the appropriate R packages to compare the 2 time series? Thank you for your help Joseph [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Variability plot in R

2011-05-20 Thread Joseph Boyer
Is there a package in R that can do a variability plot? A variability plot is a kind of categorized dot plot. (If there is a lot of data in each category, box plots are used rather than dot plots.) Usually, the categories are factor level combinations. All the dot plots appear in the same window

[R] Matrix manipulation

2011-04-01 Thread Joseph N. Paulson
Hi all! I have a vector, let's say for example int <- sample(1:20,10); for now: now I have a matrix... M = m x n where the first column is a "feature" column and most likely shares at least one of the int (interesting) numbers. I want to extract the rows where int[] = M[,1] I thought: rownames(

[R] Unusual slowing of R matrix multiplication version 2.12.1 (2010-10-15) vs 2.12.0

2011-02-07 Thread Joseph Kunkel
R Version 2.12.1 (2010-10-15) vs 2.12.0 has slowed down 8 fold for dual core and 17 fold for dual-core-dual-processor Macs. I have checked this result on 3 different macs using the following R-script: Using Version 2.12.0 on a dual core dual processor Mac: > source("http://www.bio.umass.edu/bi

[R] [R} R install on Unix Server

2011-01-31 Thread Joseph Magagnoli
R" which can be tested on hpux ? " -- Joseph C. Magagnoli [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-g

[R] how to get old packages to work on R 2.12.1

2011-01-19 Thread Joseph Boyer
I just installed R 2.12.1, and when I went to run a few old programs with it, nothing worked. I got a ton of error messages saying such and such package was built before R 2.10.0 and needed to be reinstalled. These were not just warning messages, but error messages that prevent the programs fro

Re: [R] Running scripts in hadoop

2010-12-24 Thread Joseph Regan
Also, in case one was wondering, the output would look something like: 1900 1 1850 1 1800 1 1700 0 1700 1 1680 1 1600 0 1500 0 2000 1 2100 1 2150 1 1750 1 1550 1 ... On Fri, Dec 24, 2010 at 5:28 PM, Joseph Regan wrote: > R-help group, > > I'm looking for some assistance on usi

[R] Running scripts in hadoop

2010-12-24 Thread Joseph Regan
R-help group, I'm looking for some assistance on using an R-script to read STDIN from hadoop. Example, say I have two tables. One is a student table, the other is a class roster table (tables join on student_id). Student SAT score is in the student table, whether the student passed or not is in th

[R] plotting Zipf and Zipf-Mandelbrot curves in R

2010-10-11 Thread Joseph Sorell
Using R, I plotted a log-log plot of the frequencies in the Brown Corpus using plot(sort(file.tfl$f, decreasing=TRUE), xlab="rank", ylab="frequency", log="x,y") However, I would also like to add lines showing the curves for a Zipfian distribution and for Zipf-Mandelbrot. I have seen these in many a

[R] CRAN Mirror definition error.

2010-09-01 Thread Lenart, Joseph
I do not believe this to be a security or firewall-related issue. Ad Astra... Joseph P. Lenart Capacity Management Unit - Non Mainframe THE AETNA 151 Farmington Ave. Mailstop: ASA1 Hartford, CT 06156 Phone - 860-273-7085 Fax - 860-273-5053 "If you hear a voice within you say, '

Re: [R] Linux Editor

2010-08-02 Thread Joseph Magagnoli
In addition, there is SciViews for Komodo edit http://www.sciviews.org/SciViews-K/ Joe On Mon, Aug 2, 2010 at 10:35 AM, alphaace wrote: > > Hi Everyone, > > I recently have started using R again on a Linux box after spending several > years on a Mac. Last I checked, the best way to use R was t

Re: [R] Book on R's Programming Language

2010-07-24 Thread Joseph Magagnoli
project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > -- Joseph C. Magagnoli Doctoral Student Department of Political Science University of North Texas 1155 Union Circle #305340 Dento

Re: [R] C module causing rounding errors?

2010-07-09 Thread Joseph N. Paulson
code? Sorry and thank you very much, On Fri, Jul 9, 2010 at 6:18 AM, Duncan Murdoch wrote: > Joseph N. Paulson wrote: > >> Hi all! >> >> I am currently writing a C-module for a for loop in which I permute >> columns >> in a matrix (bootstrapping) and I sen

[R] C module causing rounding errors?

2010-07-08 Thread Joseph N. Paulson
Hi all! I am currently writing a C-module for a for loop in which I permute columns in a matrix (bootstrapping) and I send a couple of variables into C initially. All of it is working, except the initial values I send to R are rounded/truncated (I believe rounded). I am using a 32 bit machine to

[R] dlm package and Log Likelihoods

2010-06-23 Thread Joseph . Smith
Hello, For this project I have been tasked with emulating an old Dynamic Linear Modelling paper's results in the R programming language with the same data. The majority of the work (creating the model, filtering, smoothing, forecasting, etc.) has been done via the dlm package, and I have been

Re: [R] Curve Fitting/Regression with Multiple Observations

2010-05-02 Thread Kyeong Soo (Joseph) Kim
valuable suggestion. Regards, Joseph On Sat, May 1, 2010 at 12:41 AM, Greg Snow wrote: > I did not understand enough of the rest of your question to give any better > response than others have given. > > Looking back at your previous posts, there is one suggestion that I can make >

Re: [R] Curve Fitting/Regression with Multiple Observations

2010-04-30 Thread Kyeong Soo (Joseph) Kim
could have focused on the topic and provided some technical and practical information which I could learn from and be very thankful for. Regards, Joseph On Fri, Apr 30, 2010 at 11:35 PM, Greg Snow wrote: > >> -Original Message- >> From: r-help-boun...@r-project.org [mai

Re: [R] Curve Fitting/Regression with Multiple Observations

2010-04-30 Thread Kyeong Soo (Joseph) Kim
Dear Keith, I will keep that in mind in my future posting. Again, thanks for your time and advice! Regards, Joseph On Fri, Apr 30, 2010 at 3:54 PM, kMan wrote: > Dear Joseph, > > I have had a similar experience to replies. Andy's assessment about signal to > noise on the l

Re: [R] Curve Fitting/Regression with Multiple Observations

2010-04-30 Thread Kyeong Soo (Joseph) Kim
or system load) and performance measures like delay, throughput, and packet loss. I do appreciate your suggestion and this would be of tremendous help for my current research. Also, thanks for the assessment on this list, which I take as a valuable advice in the future. With Regards, Joseph On Fri

Re: [R] Curve Fitting/Regression with Multiple Observations

2010-04-30 Thread Kyeong Soo (Joseph) Kim
taking means or directly on them? So far I haven't heard anyone even specifically touching my question, although there were several seemingly related suggestions. Regards, Joseph On Fri, Apr 30, 2010 at 4:25 AM, kMan wrote: > Dear Joseph, > > If you do not need to make any infere

Re: [R] Curve Fitting/Regression with Multiple Observations

2010-04-27 Thread Kyeong Soo (Joseph) Kim
d providing examples (always!) are much appreciated, but I am still not sure the use of those regression procedures with the kind of data I described is a right way to do. Again, many thanks for your prompt and kind answers, Joseph On Tue, Apr 27, 2010 at 8:46 PM, Gabor Grothendieck wrote: >

Re: [R] Curve Fitting/Regression with Multiple Observations

2010-04-27 Thread Kyeong Soo (Joseph) Kim
same meaning as "multiple observations" in my case. To me, the manual seems a bit unclear in this regard. Looking at "car" data, I found it has multiple points with the same "speed" but different "dist", which is exactly what I mean by multiple observations, but a

  1   2   3   >