Re: [R] R Gigs

2023-10-06 Thread Fred Kwebiha
Thanks Bert. I have Subscribed now to that list. *Best Regards,* *FRED KWEBIHA* *+256-782-746-154* On Fri, Oct 6, 2023 at 11:36 PM Bert Gunter wrote: > May be an age gap here, but I assume "gigs" = freelance jobs. If so, > https://stat.ethz.ch/mailman/listinfo/r-sig-jobs &

[R] R Gigs

2023-10-06 Thread Fred Kwebiha
Dear Community, Where Can I get Gigs related to R programming language? Thanks in Advance for your help. *Best Regards,* *FRED KWEBIHA* *+256-782-746-154* [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

[R] Unnesting JSON using R

2020-09-15 Thread Fred Kwebiha
Source=https://jsonformatter.org/e038ec The above is nested json. I want the output to be as below dataElements.name,dataElements.id,categoryOptionCombos.name,categoryOptionCombos.id Any help in r? *Best Regards,* *FRED KWEBIHA* *+256-782-746-154* [[alternative HTML version deleted

Re: [R] how to save a heatmap.2 in png /jpeg /tiff

2012-09-10 Thread Fred
ons : 1) Do I need to play with the "pointsize = " 2) What is the higher quality picture I can make ? When I try with more pixels "R " tends to crash... THANKS Fred -- View this message in context: http://r.789695.n4.nabble.com/how-to-save-a-heatmap-2-in-png-jpeg-tif

Re: [R] how to save a heatmap.2 in png /jpeg /tiff

2012-09-09 Thread Fred
working on mac with MAC OS X (v.10.8.1).!! It is not a problem of having a picture editor open when I try to create this file. Any other idea ?? Thanks Fred -- View this message in context: http://r.789695.n4.nabble.com/how-to-save-a-heatmap-2-in-png-jpeg-tiff-tp4642607p4642617.html Sent f

Re: [R] how to save a heatmap.2 in png /jpeg /tiff

2012-09-09 Thread Fred
b picture which is > useless in my case (edit and work on it in photoshop) Fred -- View this message in context: http://r.789695.n4.nabble.com/how-to-save-a-heatmap-2-in-png-jpeg-tiff-tp4642607p4642615.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Problem with duplicates in row.names

2012-09-09 Thread Fred
Thanks Arun, I can manage something with that, just need then to delete the first raw with photoshop ! Thanks Fred -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-duplicates-in-row-names-tp4642518p4642604.html Sent from the R help mailing list archive at

Re: [R] Regular Expressions + Matrices

2012-08-10 Thread Fred G
6 Chicago Blacksox 1701 made up > 7 7 Chicago Cubs 1702 made up > 8 8 Chicago Whitesox 1703 made up > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > > > > -Original Message- > > From: r-help-boun...@r-project.

Re: [R] Regular Expressions + Matrices

2012-08-10 Thread Fred G
My code doesn't predict a point you've made clear in this post. Inline. > Em 10-08-2012 19:05, Fred G escreveu: > > Thanks Arun. The only issue is that I need the code to be very >> generalizable, such that the grep() really has to be if the first string >> up >>

Re: [R] Regular Expressions + Matrices

2012-08-10 Thread Fred G
LSE) > > index<-grep("New York.*",dat1$NAME) > dat1[index,] > # ID NAME YEAR SOURCE > #1 1 New York Mets 1900ESPN > #2 2 New York Yankees 1920 Cooperstown > > A.K. > > > > - Original Message - > From: Fred G

[R] Regular Expressions + Matrices

2012-08-10 Thread Fred G
Hi all, My code looks like the following: inname = read.csv("ID_error_checker.csv", as.is=TRUE) outname = read.csv("output.csv", as.is=TRUE) #My algorithm is the following: #for line in inname #if first string up to whitespace in row in inname$name = first string up to whitespace in row + 1 in in

Re: [R] Regular Expression

2012-07-24 Thread Fred G
Thank you! :) On Tue, Jul 24, 2012 at 1:42 PM, Sarah Goslee wrote: > To delete everything from the beginning of the string to and including > the hyphen, use > sub("^.*-", "", tmp) > > Sarah > > On Tue, Jul 24, 2012 at 1:36 PM, Fred G wrote: > >

[R] Regular Expression

2012-07-24 Thread Fred G
Hi-- I have three columns in an input file: MONTH QUARTER YEAR 2012-07 2012-32012 2001-07 2001-32001 2002-01 2002-12002 I want to make output like so: MONTH QUARTER YEAR 07 32012 07 32001 01 1

[R] regular expression

2012-02-29 Thread Fred G
Computer Friends, with the following example lines: [107] "98-610: Cell type: S; Surv(months): 6; STATUS(0=alive, 1=dead): 1" [108] "99-625: Cell type: S; Surv(months): 21; STATUS(0=alive, 1=dead): 1" i want to be able to isolate the number of months of survival for each row. is there a regula

[R] rbind()

2012-01-20 Thread Fred G
Hello there, Much thanks in advance for any help. I have a few questions: 1) Why do I keep getting the following error: File1 <- read.csv("../RawData/File1.csv",as.is=TRUE,row.names=1) Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : c

Re: [R] Loops

2011-09-15 Thread Fred
Thank you so much! foreL<-8 b0f<-matrix(nrow=9, ncol=foreL) ct<-1 ### use this as the index of b0f for(ar.ord in 1:3){ for(ma.ord in 1:3){ b0f[ct,]<-c(predict(arima(para_qtr[1:(n-8),1],order=c(ar.ord,1,ma.ord)), n.ahead=foreL)$pred) ct<-ct+1 ### increment the counter } } this one works! Best rega

[R] Loops

2011-09-14 Thread Fred
} } sure- this one doesn't work. the matrix b0f only consists of the forecast of the ARIMA(3,1,3)-model. I need the forecasts of ARIMA(1,1,1), ARIMA(2,1,1) ARIMA(3,1,1), ARIMA(3,1,2) and so on ad nauseam in the lines of the b0f matrix. I would be glad if someone could help me. best regards, fred

[R] trouble with library(FrF2)

2011-04-19 Thread Fred Schenkelberg
ole works fine, just am not able to use the functions in FrF2... I'm on a Mac and have latest OS and R installed. cheers, Fred f...@garlic.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read t

Re: [R] plot and lines with time series data

2011-04-18 Thread Fred
Figure it out. Just make predicted value "ts" object as well. On Apr 18, 9:20 pm, Fred wrote: > Dear all, > > I am doing some time series analysis with R now. The problem is, when > I create a time series object using "ts" function, then after fitting > the mo

[R] plot and lines with time series data

2011-04-18 Thread Fred
Dear all, I am doing some time series analysis with R now. The problem is, when I create a time series object using "ts" function, then after fitting the model, the predicted values cannot be plotted with "ts" object together using "lines". ie. ts.series<-ts(x,start, end) plot(ts.series) lines(pr

[R] Cannot access to PDF manuals from R console

2011-04-15 Thread Fred
I recently installed version 2.13, however when I click the manual from the console, the error message appears Error: 'doc\manual\refman.pdf' not found Error: 'doc\manual\R-intro.pdf' not found Does anyone know about what's happening? Thank you very much __

[R] Difference between the S-plus influence and R empinf functions

2011-03-07 Thread The r newbie Fred
, strata = mydata[, 2]) [1] -1.5 -0.5 0.5 1.5 0.0 # ==> NOT OK So I have a few questions: - has anyone already experienced the same kind of problem with the influence function ? - is it possible to mimic the use of the "group" argument in empinf() ? I have looked for answers on the w

[R] summary of arima in R

2010-05-25 Thread Fred
Hi, I want to know how to summary "arima" model in R just as in "lm" by summary(lm.fit). Then I can assess the model fit of each component, especially when I include regressors in the model. Thanks __ R-help@r-project.org mailing list https://stat.eth

[R] summary of arima model in R

2010-05-25 Thread Fred
of time series by linear regression, but want to see whether arima model works for the data first. "summary", "anova" do not work for "arima", any alternatives ??? Thank you very much. Fred __ R-help@r-project.org mailin

[R] Minimization problem

2010-05-20 Thread Fred
Dear R users, I am trying to minimize two function simultaneously in R, function(x) minimize x[1],x[2],x[3] mean(distribution(x1,x2,x3) ) - observed mean std(distribution(x1,x2,x3)) - observed std What I want to achieve is that simulated mean and standard deviation of distribution related to