Re: [R] "for" loop does not work with my plot_ly command

2021-03-30 Thread Rachida El Ouaraini
the loop: > > for(filename in filenames) { > nextfile<- read.table(filename, header = TRUE, sep = "\t" , dec = > ",", skip = 0) > # do whatever you want with the resulting data frame here > # or perhaps save it into a list for processing later > } >

Re: [R] "for" loop does not work with my plot_ly command

2021-03-30 Thread Rachida El Ouaraini
umber of > dimensions”? What happens if you substitute in the end instead of CPM[i,1] > this: > > > > file.copy("C:/Users/pc/Downloads/Evolution Tmoy.png", > paste("C:/MONOGRAPHIE/Resultats/Evolution Tmoy_",CPM[i],".png",sep="") > > >

[R] "for" loop does not work with my plot_ly command

2021-03-29 Thread Rachida El Ouaraini
options(viewer = NULL) plot_ly() %>% htmlwidgets::onRender( "function(el, x) { var gd = document.getElementById(el.id); Plotly.downloadImage(gd, {format: 'png', width: 1000, height: 700, filename: 'AnomalieRR_EcartTmoy'}); }" )%>% add_tra

Re: [R] How to understand the mentality behind tidyverse and ggplot2?

2020-11-18 Thread el
RTFM, perhaps? Or even worse, buy his book? el — Sent from Dr Lisse’s iPad Mini 5 On 18 Nov 2020, 20:39 +0200, Ben Tupper , wrote: > Hi, > > I feel your pain. As you have likely discovered yourself, there are > just about 10^14 tutorials/posts/tips out there on ggplot2. See > ht

[R] R code required

2019-12-23 Thread Salwa El-Aty
Dear Sir I want to help me about to send the R Code of paper which title Inference of Generalized endpoint inflated binomial regression . In . 2017 Best Regards Salwa. A.Mousa Sent from my Samsung device [[alternative HTML version deleted]] __

[R] plotting gam plots from mgcv package

2017-04-05 Thread Husam El Alqamy
tps://www.for.gov.bc.ca/bcts/> | GIS Requests <https://spc-bcts.gov.bc.ca/BCTSNGG/SitePages/TPG%20Prince%20George.aspx> | Profile <https://www.linkedin.com/in/husam-el-alqamy-82212b6a/> [image: BC FLNRO] [[alternative HTML version deleted]] _

[R] Help using Rwinsteps

2014-06-11 Thread El Samuels, Ph.D.
;entry", "measure")) : Missing or misnamed variables:entry, measure There's some jag in the function, but I'm not sure what or how to troubleshoot/overcome it. Thank you in advance! El --- W. Ellery Samuels, Ph.D. College of Staten Island The City Universit

[R] GCV=0 in gam fitting

2014-02-06 Thread Husam El Alqamy
dom: 3.77 2.91 total = 7.68 GCV score: 0 Plotting the curves of the predictor variables also gives a straight horizontal line along the zero value of the y axis. I really couldn't interpret whats going wrong. Appreciate it if anyone can comment Husam El Alqamy, B.Sc, M.Phil. S

[R] GCV=0

2014-02-04 Thread Husam El Alqamy
dom: 3.77 2.91 total = 7.68 GCV score: 0 Plotting the curves of the predictor variables also gives a straight horizontal line along the zero value of the y axis. I really couldn't interpret whats going wrong. Appreciate it if anyone can comment Husam El Alqamy, B.Sc, M.Phil. Sr. B

[R] FW: sourcing scripts

2014-01-29 Thread Ahmed M. El-Kenawy
, January 29, 2014 12:10 PM To: Ahmed M. El-Kenawy Cc: r-help@r-project.org Subject: Re: [R] sourcing scripts On Wed, Jan 29, 2014 at 9:26 AM, Ahmed M. El-Kenawy wrote: > Error in memory.size(min = TRUE) : unused argument (min = TRUE) It looks like you've simply typed 'min=TRUE' in

Re: [R] sourcing scripts

2014-01-29 Thread Ahmed M. El-Kenawy
...@lancaster.ac.uk] Sent: Wednesday, January 29, 2014 12:10 PM To: Ahmed M. El-Kenawy Cc: r-help@r-project.org Subject: Re: [R] sourcing scripts On Wed, Jan 29, 2014 at 9:26 AM, Ahmed M. El-Kenawy wrote: > Error in memory.size(min = TRUE) : unused argument (min = TRUE) It looks like you've simply ty

[R] sourcing scripts

2014-01-29 Thread Ahmed M. El-Kenawy
Hi I am extensively using R to process large amount of data. I tried to source my scripts to run sequentially in R, instead of running them seperately. However, I always receive an error message related to the memory size although I upgraded my RAM from 8GB to 16GB. i do not think this is the

[R] R course in Boston December 19-20

2013-12-04 Thread el...@xlsolutions-corp.com
XLSolutions R course in Boston December 19-20. Please email me for registration. Check out other cities at http://www.xlsolutions-corp.com/courselistlisting.aspx Ask for group discount and reserve your seat Now - Earlybird Rates. Payment due after the class! Email Sue Turner: sue at xlsolutions

[R] replacing Na's with values on different records

2013-09-09 Thread El-Tahtawy, Ahmed
I'm sure I'm missing something really obvious in the "for loop"... Here is simplified data for 3 patients, we need filling in Na's with same WT for each patient, AUC halved for visit 3, doubled for visit 5 for the same patient, based on visit 4 for(i in unique(u3s$ID)){

[R] help

2012-08-22 Thread Yanis El Omari
where I want to write the degree of each node for week i indeg<-degree(g) #degree calculation for each node of the network write(indeg, "indeg[i]".txt, sep="\n") } Is there some obvious mistake in my program, or does anyone have a solution to do this? Thanks a lot ,

[R] RODBC connection to locked Excel2010 files

2012-07-16 Thread JW EL
Hi, I am trying to connect to an Excel2010 file while another user is entering data. (Obviously it would be better to set up a SQL database, but this is not an option at this point.). Typically we are not working on the same sheets. However, if possible I like to read the most current excel file in

[R] RODBC connection to locked Excel2010 files

2012-07-16 Thread JW EL
Hi, I am trying to connect to an Excel2010 file while another user is entering data. (Obviously it would be better to set up a SQL database, but this is not an option at this point.). Typically we are not working on the same sheets. However, if possible I like to read the most current excel file in

[R] Help on the multivariate interpolation with R

2011-09-07 Thread Rachida El Mehdi
x'i2, ..., x'i7) in IR^7 and I need f(x'i1, x'i2, ..., x'i7) in IR by interpolation. So x is a (n,7) or a (7,n) matrix and x’ is also a matrix with the same format as x. Can someone help me? Thank you in advance. Rachida El Mehdi _

[R] Help on the multivariate interpolation with R

2011-09-06 Thread Rachida El Mehdi
x'i2, ..., x'i7) in IR^7 and I need f(x'i1, x'i2, ..., x'i7) in R by interpolation. So x is a (n,7) or a (7,n) matrix and x’ is also a matrix with the same format as x. Can someone help me? Thank you in advance. Rachida El Mehdi _

Re: [R] predictive accuracy

2011-05-31 Thread El-Tahtawy, Ahmed
area of using R to solve challenging issues. Best Regards Ahmed -Original Message- From: Mike Marchywka [mailto:marchy...@hotmail.com] Sent: Thursday, May 26, 2011 8:55 PM To: gunter.ber...@gene.com; El-Tahtawy, Ahmed Cc: r-help@r-project.org Subject: RE: [R] predictive accuracy

Re: [R] predictive accuracy

2011-05-26 Thread El-Tahtawy, Ahmed
...@me.com] Sent: Thursday, May 26, 2011 10:54 AM To: El-Tahtawy, Ahmed Cc: r-help@r-project.org Subject: Re: [R] predictive accuracy On May 26, 2011, at 7:42 AM, El-Tahtawy, Ahmed wrote: > I am trying to develop a prognostic model using logistic regression. I > built a full , approximate model

[R] predictive accuracy

2011-05-26 Thread El-Tahtawy, Ahmed
I am trying to develop a prognostic model using logistic regression. I built a full , approximate models with the use of penalization - design package. Also, I tried Chi-square criteria, step-down techniques. Used BS for model validation. The main purpose is to develop a predictive model for

[R] plot3d crashes R

2011-04-12 Thread el . romaro
Hi Duncan, I've just read the help for the plot3d function you've written and tried out the example code given at the bottom of the page. I then modified the function by adding an aspect ratio of 0.1 and ran it again, which crashed my R. I am using 2.12.2 on Windows, if that tells you anything.

[R] stratified Wilcoxon's rank sum test with the locally best weights

2010-09-14 Thread El-Tahtawy, Ahmed
Hello, I have been informed that there is no R package for the stratified Wilcoxon's rank sum test (Van Elteren's test) with the locally best weights. I need to use the alternative test to a clinical endpoint where the distribution approximate normal distribution, and compare to the regular ANOVA

Re: [R] Data reconstruction following PCA using Eigen function

2010-05-24 Thread Julia El-Sayed Moustafa
Hi Thomas, Thanks very much for your reply. I used svd and it worked perfectly for my purposes! Thanks again, Julia -- View this message in context: http://r.789695.n4.nabble.com/Data-reconstruction-following-PCA-using-Eigen-function-tp2226535p2229191.html Sent from the R help mailing list arc

[R] Data reconstruction following PCA using Eigen function

2010-05-21 Thread Julia El-Sayed Moustafa
Hi all, As a molecular biologist by training, I'm fairly new to R (and statistics!), and was hoping for some advice. First of all, I'd like to apologise if my question is more methodological rather than relating to a specific R function. I've done my best to search both in the forum and elsewhere

Re: [R] Calling R functions into C# or C++

2010-03-30 Thread Fayssal El Moufatich
aluation); Console.WriteLine("Press any key to continue ..."); Console.ReadKey(); //----- } } } You would also need to reference the Interop.STATCONNECTORSRVLib.dll assembly. Here is snapshot of my references list: http://n4.nabble.com/file/

[R] duplicating records

2010-02-05 Thread El-Tahtawy, Ahmed
Dear friends, I need to fill in (duplicate the whole record) the missing days with the same record values as long as AE is the same value (i.e. "1"), once AE value changes, the process of duplication should proceed with the new AE value till it changes again. e.g. I need to fill in records: day

[R] ecdf error

2010-02-05 Thread El-Tahtawy, Ahmed
Dear friends, Ecdf used to work nicely before. e.g. ecdf(df1v[,c(1:6)],group=df1v$trt,q=.5,col=1:2,label.curves=list(keys="l ines"), datadensity="rug") but now it does not work at all, even for a simpler code??? By the way, I used the same libraries. Thanks for your help. Ahmed

[R] package documentation of S4 methods

2009-09-17 Thread El Gorgonzola
Hi, I'm new to this mailing list and to R-programming so if the question is stupid I apologize. I have to create a package, which includes an S4-class called "BList". For objects of this class I implemented a method "show", which displays the first 15 data-lines of the object. I further imple