[R] Function with large nested list

2023-12-18 Thread Emily Bakker
act. But I can provide additional information if helpful. Thanks it advance for thinking along!! Kind regards, Emily The code: decision_algorithm <- function(AB_list, dataset_ab = data.frame(), diagnose = 'cystitis', diabetes_status = "nee", katheter_status = "nee"

[R] Split String in regex while Keeping Delimiter

2023-04-12 Thread Emily Bakker
= “(?=[\\+-]{1,3}\\s)+, perl=TRUE)   Which results in: c(“leucocyten “, “+”,  “gramnegatieve staven “, “+”, “+”, “+”,  “grampositieve staven ++”) c(“leucocyten “, “–“, “grampositieve coccen +”)     Is there a function or regular expression that will make this possible?   Kind regards, Emily

Re: [R] Error with install.packages using R v 3.5.1 and 3.5.2

2019-01-16 Thread Emily Wan
This could > be related to (1) above or be unrelated. You might confirm on this > discussion thread whether this function runs okay for you. > > > > For future reference, use CRAN packages for examples on this mailing > list to clarify that the problem is relevant here. > >

Re: [R] Error with install.packages using R v 3.5.1 and 3.5.2

2019-01-16 Thread Emily Wan
packages. > > [1] https://support.bioconductor.org > > On January 15, 2019 11:51:16 AM PST, Emily Wan > wrote: > >Hi - > >I am working with R on a Window Server 2012 R2 - I had originally > >installed > >R (v3.5.1) in September/October 2018 and have used multiple packages >

[R] Error with install.packages using R v 3.5.1 and 3.5.2

2019-01-15 Thread Emily Wan
Hi - I am working with R on a Window Server 2012 R2 - I had originally installed R (v3.5.1) in September/October 2018 and have used multiple packages without incident. However, last week, when attempting to install additional packages (using install.packages() or Bioconductor's

[R] Using R Markdown for creating reproducible manuscripts – new blog post from eLife Labs

2017-04-06 Thread Emily Packer
/elife-news/composing-reproducible-manuscripts-using-r-markdown?utm_source=Labs_campaign=Rhelp If you’d like more information, please don’t hesitate to contact me. Kind regards, Emily -- *eLife's early-career researcher travel grants 2017 are now open for applications. Visit https

[R] Issue replacing dataset values from read data

2016-05-06 Thread Chang, Emily
I was wondering what the issue is here, so as to look out for and avoid it in the future. Apologies for the lack of reproducible code; I haven't yet reproduced the problem with generated data. Much thanks in advance. Best regards, Emily [[alternative HTML version deleted]] _

[R] How do you add the x-bar (mean of x) symbol and show a calculated mean in the title of a histogram?

2013-10-11 Thread Emily Jean Fales
I am trying to get the calculated mean and the symbol of x-bar to show in the title of multiple histograms in R. Here is the code I have for one of the histograms: hist(outcome[,11], main= Heart Attack (expression(bar(x))) = (mean(outcome[,11])), xlab =30-day Death Rate, xlim = c(min(hist_min),

[R] Male and female signs as subscript in plot

2013-07-01 Thread Emily Weiser
. the symbol is not displayed. How can I make the male symbol show as a subscript? Many thanks for any suggestions! Cheers, Emily [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Log scales

2013-05-21 Thread Emily Gleeson
) rect(0, y[1:(n-1)], 1, y[2:n], col=cols) axis(4, at=y, labels=mylevels) } Many thanks, Emily Uwe Ligges wrote: On 17.05.2013 13:34, Emily Gleeson wrote: Dear All, I have a query about using log scales for filled.contour plots. I have used log values on the x and y axes but labelled

[R] Log scales

2013-05-17 Thread Emily Gleeson
1000 to the % values before taking the log. I'd like the original % values to appear on the contour lines and in the contour colourbar labelling. I'd appreciate any suggestions you have. Many thanks, Emily Gleeson

Re: [R] Text Encoding

2013-04-09 Thread Emily Ottensmeyer
(test, JAVA, UTF-8) [1] 4.5µg of cDNA was used This may also impact anyone using JSON with R. Posting here in case it helps anyone else. =) -Emily On Sat, Apr 6, 2013 at 10:37 AM, David Winsemius dwinsem...@comcast.netwrote: On Apr 5, 2013, at 11:30 AM, Emily Ottensmeyer wrote: Dear R-Help

[R] Text Encoding

2013-04-05 Thread Emily Ottensmeyer
Encoding, to see if I could figure that out, but it returns unknown on my string. Encoding(test) [1] unknown Anyone have any ideas on how to correct/convert the text encoding? Thanks! -Emily [[alternative HTML version deleted]] __ R-help@r

[R] scan not working

2013-01-27 Thread Emily Sessa
Hi all, I am trying to use the scan function in an R script that I am calling from the command line on a Mac; at the shell prompt I type: $ Rscript get_q_values.R LRT_codeml_output in the hope that LRT_codeml_output will get passed to the get_q_values R script. The first line of that

Re: [R] scan not working

2013-01-27 Thread Emily Sessa
it append that to the output file names, so they are, for example: qvalues_cro and pvalues_cro? Thank you very much, Emily On Jan 27, 2013, at 4:34 AM, peter dalgaard pda...@gmail.com wrote: On Jan 27, 2013, at 08:33 , Emily Sessa wrote: Hi all, I am trying to use the scan function

Re: [R] scan not working

2013-01-27 Thread Emily Sessa
Thank you all - these suggestions have been very helpful! I've got it doing what I wanted know, and I appreciate the help! Emily On Jan 27, 2013, at 1:18 PM, Rui Barradas ruipbarra...@sapo.pt wrote: Hello, Try the following. Create a file called test.R with these instructions: cmd

[R] Lavaan Package - How to Extract Residuals in Data Values

2012-07-09 Thread Emily Zimmerman
also tried to manipulate some other codes, but I can't get it. I may have missed something as I am relatively new to R, but it is not clear to me how to do this. Any help would be very much appreciated. Thank you, Emily Zimmerman [[alternative HTML version deleted

[R] Changing many csv files using apply?

2012-06-18 Thread Chang, Emily@OEHHA
a little slow though, so I would like to get rid of the for loop but preserve its function. Would it be possible to use sapply() or something similar? Any insight would be appreciated! Best regards, Emily __ R-help@r-project.org mailing list https

[R] How to delete rows from dataframe that sum to zero

2012-04-26 Thread Emily O'Connor
Hello, I am trying to figure out how to delete all rows which sum to zero from a dataframe. I do not have a column with the sum of each column yet, so perhaps that would need to be done first? Thank you for any help anyone can offer with this. Emily PS sorry if this question has already been

[R] Equation as a character string

2012-03-15 Thread Emily Weiser
. given x - 6, what is the result of the equation). Thanks in advance for any insight anyone may be able to offer. Emily [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] glm or transformation of the response?

2012-01-07 Thread emily
and any help would be greatly valued! -Emily Bellush q...@iup.edu Indiana University of Pennsylvania [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] R 2.14 png X11

2011-12-06 Thread M. Emily Merrill
very much for your time! -Emily From script: (if I substitute in, say, outFilePath=~/test.png, I can get the same error from the command line) PNG Config section # png(outFilePath, width=1200, height=1200) Error in X11(paste(png::, filename, sep = ), g$width, g$height, pointsize

[R] Broken link on daba.lv

2011-10-18 Thread Emily
Hello , I was taking a look at your website and I noticed that one of the links you suggest in http://www.daba.lv/Adreses/RS_GPS.shtml isn't working properly. The link in question is this one: http://instruct1.cit.cornell.edu/~agl1/Hexagone.html. You'll find a similar resource published

[R] CCF of two time series pre-whitened using ARIMA

2011-06-30 Thread Emily C
Method 2 is the correct method since it gives the peak correlation at the correct lag (lag 3), but I'm wondering why Method 1 does not work. Could anyone explain this? Thanks in advance! Emily [[alternative HTML version deleted]] __ R-help@r

[R] parallel processing for bridge and blasso

2011-03-25 Thread Emily Deomano
? That is, is parallel processing possible for the bridge and blasso functions by using the multicore package? Kind Regards Emily Deomano BSES Limited  Q Australia Internet e-Mail Disclaimer PRIVILEGED - PRIVATE AND CONFIDENTIAL: This email and any files

Re: [R] R error using Survr function with gcmrec

2010-11-15 Thread Emily C
, Nov 11, 2010 at 3:50 PM, Emily C lia.bede...@gmail.com wrote: Sorry for the lack of context - I found a forum ( http://r.789695.n4.nabble.com/R-help-f789696.html) that I thought was easier to navigate and was using it for the first time. Hit the reply button, but forgot that the mailing list

Re: [R] R error using Survr function with gcmrec

2010-11-11 Thread Emily
I'm having the same problem and was wondering whether you ever found a solution? It gives me the error Error in Survr(id, time, event) : Data doesn't match. Every subject must have a censored time even though all my subjects are right-censored, and to be sure, I've even used the addCenTime

Re: [R] R error using Survr function with gcmrec

2010-11-11 Thread Emily C
...@comcast.netwrote: On Nov 11, 2010, at 2:50 PM, David Winsemius wrote: On Nov 11, 2010, at 2:09 PM, Emily wrote: I'm having the same problem (???: from a three year-old posting for which you didn't copy any context.) and was wondering whether you ever found a solution? It gives

[R] newbie question on importing and parsing file by row

2010-11-05 Thread Emily Wong
row calculate a p value using the fisher test. Using each p value I will do multiple a correction. I am unsure how to automate this process. Many thanks, Emily [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] what is the NOT IN operator

2010-10-06 Thread Emily Deomano
not find function error. Kind Regards Emily Deomano | Biometrician BSES Limited | ABN 29 103 760 005 | PO Box 86 | 50 Meiers Road | Indooroopilly Q 4068 Australia P: +61 7 3331 3304 | M: +61 408 656 452 | F: +61 7 3871 0383 | E: edeom...@bses.com.aumailto:edeom...@bses.com.au

[R] legend outside plot area

2010-08-15 Thread Emily Forbes
Hi, please can you help me. When I add a legend to a boxplot it appears inside the plot area, how do you get it into the margins? I have already changed the parameters so there is space for it on the margin on the right hand side of the graph. Thanks, Emily

[R] running aov() and lme() on 64-bit

2009-10-27 Thread Emily Deomano
Regards, Emily Emily Deomano Biometrician BSES Limited Postal Address: PO Box 86 Street Address: 50 Meiers Road Indooroopilly QLD 4068 Australia Ph: +61 (0) 7 3331 3306 Mobile: +61 (0) 408 656 452 Fax: +61 (0) 7 38710383 Email: edeom...@bses.org.aublocked::mailto:jstrin...@bses.org.au Web

[R] Interpretation of residual variance components and scale parameters in GLMMs

2007-10-01 Thread Emily H. DuVal
parameter, as in lmer? Thanks for any insight you can offer! Emily DuVal Postdoctoral Fellow, Max Planck Institute for Ornithology __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http