Re: [R] (no subject)

2023-01-26 Thread Hasan Diwan
Upananda. On Mon, 16 Jan 2023 at 12:55, Upananda Pani wrote: > Greetings! I would like to know how to create the lag variable for my data. > Kindly provide a link to your data, on a publicly accessible page or a means to generate fake data that illustrates your issue. -- H -- OpenPGP:

Re: [R] (no subject)

2022-11-25 Thread Ebert,Timothy Aaron
1) Any HTML content you intended to share did not make it past the filters. All I get is [[alternative HTML version deleted] 2) AIC is for comparing models where lower AIC indicates a better model, though please see a statistics reference for additional details. No models were presented. 3)

Re: [R] (no subject)

2022-11-07 Thread Ivan Krylov
On Sun, 6 Nov 2022 23:34:46 + Nick Wray wrote: > Most of the sets work fine with MICE but with a few I get an error > message: > > This data set, which generated the error message has five columns > > iter imp variable > 1 1 986Error in terms.formula(tmp, simplify = TRUE) : >

Re: [R] (no subject)

2022-10-06 Thread Ivan Krylov
Hi Julie, В Thu, 6 Oct 2022 10:58:51 -0400 Julie Coughlin пишет: > Can you send me a later version of r programming to use on my macos > version 10.12.6? The newest r program is not compatible with my > macbook. Since R 4.0.0, the official builds of R require macOS ≥ 10.13. The Homebrew

Re: [R] (no subject)

2022-10-06 Thread Rui Barradas
Hello, I am not a Mac user but have you tried the official R downloads web site, The Comprehensive R Archive Network - CRAN? Here is the link: https://cran.r-project.org/ Hope this helps, Rui Barradas Às 15:58 de 06/10/2022, Julie Coughlin escreveu: Hi , Can you send me a later version of

Re: [R] (no subject)

2022-05-05 Thread Avi Gross via R-help
; Ariyan Khayer Sent: Thu, May 5, 2022 7:28 pm Subject: Re: [R] (no subject) Sigh. You _do_ have a source... the Internet. But to get off the dime, try https://rstudio-education.github.io/hopr. Once you have some familiarity with basic programming concepts in R, do read the manuals that come with R

Re: [R] (no subject)

2022-05-05 Thread Jeff Newmiller
Sigh. You _do_ have a source... the Internet. But to get off the dime, try https://rstudio-education.github.io/hopr. Once you have some familiarity with basic programming concepts in R, do read the manuals that come with R when you install it... and for contributed packages, vignettes are

Re: [R] (no subject)

2021-11-09 Thread Arnaud FELD
Thanks for your answer. That is helpful even if that is disappointing for me ;) I can see now that, as R (base and recommended packages) has had contributions from a lot of people, it's not like a package, you just can't have a punctual "okay do what you want". I'll have to stick with a slow

Re: [R] (no subject)

2021-11-09 Thread Duncan Murdoch
On 09/11/2021 3:52 p.m., Jeff Newmiller wrote: I understand that, but the reason he gives for copying code from the stats package is to change the license. That decision seems like something that requires a very direct communication with/permission from the maintainer. The stats package

Re: [R] (no subject)

2021-11-09 Thread Jeff Newmiller
I understand that, but the reason he gives for copying code from the stats package is to change the license. That decision seems like something that requires a very direct communication with/permission from the maintainer. On November 9, 2021 12:21:18 PM PST, Duncan Murdoch wrote: >On

Re: [R] (no subject)

2021-11-09 Thread Duncan Murdoch
On 09/11/2021 2:45 p.m., Jeff Newmiller wrote: This question isn't a "how to do package development" question... this is about a specific package so you should send email to the package developer identified by the maintainer() function. I think Arnaud is the package developer; his question

Re: [R] (no subject)

2021-11-09 Thread Duncan Murdoch
On 09/11/2021 8:27 a.m., Arnaud FELD wrote: Hi, I use that mailing list because I’ve tried to send a message to the r-core address and received : "Non-members are typically *NOT* allowed to post messages to this private developers' list. Please use an appropriate mailing list (from

Re: [R] (no subject)

2021-11-09 Thread Jeff Newmiller
This question isn't a "how to do package development" question... this is about a specific package so you should send email to the package developer identified by the maintainer() function. I can't foresee this request finding a positive response from R Core, but email seems the most correct

Re: [R] (no subject)

2021-11-09 Thread Bert Gunter
Questions about package development should be posted to R-package-devel (**not R-devel**). See https://www.r-project.org/mail.html for details. (I am not sure that they get into legal weeds there, but it seems like the right place to try). Bert Gunter "The trouble with having an open mind is

Re: [R] (no subject)

2021-10-06 Thread Bert Gunter
Perhaps it's R packages and the security policies -- checks for malicious software, etc. -- of the repositories on which they reside that Thomas should be concerned with. R, itself, is fine(checksums are provided), but, as you say, can be programmed to do anything. So R packages can certainly do

Re: [R] (no subject)

2021-10-06 Thread Ivan Krylov
On Tue, 5 Oct 2021 22:20:33 + Thomas Subia wrote: > Some co-workers are wondering about how secure R software is. I'm afraid that this question is too hard to answer without their threat model. Secure against what, specifically? > Is there any documentation on this which I can forward to

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-12 01:14 +0500, Anas Jamshed wrote: > On Sat, Dec 12, 2020 at 1:12 AM Rasmus Liland wrote: > > > > Anas Jamshed, > > > > I do not need to explain why I am tired > > at all. Not at all. > > but plz try to help me Once upon a midnight dreary, while I pondered, weak and weary, Over many

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 22:19 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 10:17 PM Rasmus Liland wrote: > > > > Sorry, I think I am too tired atm. I > > took this pneumonia vaccine, and it > > really banged me up you know ... > > > > Maybe someone else can row this ship > > ashore again ... > >

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 22:09 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 9:51 PM Rasmus Liland wrote: > > > > Say, how do I create fit3, eset, design, > > etc. ... > > > > R > > library(oligo) > if (!requireNamespace("BiocManager", quietly = TRUE)) > install.packages("BiocManager") >

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 21:04 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 9:03 PM Anas Jamshed wrote: > > On Fri, Dec 11, 2020 at 8:37 PM Rasmus Liland wrote: > > > > > > I think that's too many unspecific lines > > > and too large files directly here on > > > email (24MiB!). > > > > > > Would you

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 20:14 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 7:49 PM Rasmus Liland wrote: > > > On 2020-12-11 19:16 +0500, Anas Jamshed wrote: > > > On Fri, Dec 11, 2020 at 6:37 PM Rasmus Liland wrote: > > > > On 2020-12-11 18:08 +0500, Anas Jamshed wrote: > > > > > > > > > > > > >

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 19:16 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 6:37 PM Rasmus Liland wrote: > > On 2020-12-11 18:08 +0500, Anas Jamshed wrote: > > > > > > > Anas Jamshed, > > > > I found this > > > > https://support.bioconductor.org/p/130817/ > > > > maybe it helps ... > > still have

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 18:08 +0500, Anas Jamshed wrote: > when I tried to install oligo package by > > if (!requireNamespace("BiocManager", quietly = TRUE)) > > install.packages("BiocManager") > > BiocManager::install("oligo > > It gives me the following eroor: > > Warning messages: > 1: In

Re: [R] (no subject)

2020-10-01 Thread Peter Dalgaard
Then please follow the link in the footer. Other recipients can't help you. > On 1 Oct 2020, at 09:30 , Marte Lilleeng wrote: > > I want to unsubscribe from this list. > > -- > Mvh Marte Synnøve Lilleeng > tlf 97 74 38 12 > > [[alternative HTML version deleted]] > >

Re: [R] (no subject)

2020-05-14 Thread Ivan Krylov
Dear Luigi, These questions (and your previous one about R on Chromebook) are best directed to the R-SIG-Debian mailing list [*], or maybe Ubuntu forums [**]. I think that they are off-topic here on R-help. Here is a short advice: try to make sure that you have the r-recommended package

Re: [R] (no subject)

2020-03-08 Thread Eric Berger
I have no experience with these packages/libraries. I did a Google search on 'R interface for G@RCH' and there seemed to be a number of relevant hits, such as https://faculty.chicagobooth.edu/ruey.tsay/teaching/bs41202/sp2009/G@RCH_info.txt HTH, Eric On Sun, Mar 8, 2020 at 12:42 PM Jim Lemon

Re: [R] (no subject)

2020-03-08 Thread Jim Lemon
Hi Meryem, It seems that OxMetrics is the underlying environment for G@RCH and OxConsole (command line) is free for academic use. (https://www.doornik.com/products.html). A quick glance didn't reveal any interface for R. Jim On Sun, Mar 8, 2020 at 9:27 PM meryem khanniji wrote: > > Hello to all

Re: [R] (no subject)

2020-01-20 Thread Jeff Newmiller
Per the Posting Guide... stop sending HTML-formatted email to this mailing list. The formatting gets stripped out anyway and introduces confusion. Gmail _has_ this option, but you must specify it before you send the email. Also, try to use Reply-all when discussing the same topic to keep

Re: [R] (no subject)

2020-01-20 Thread Jeff Newmiller
Per the Posting Guide... stop sending HTML-formatted email to this mailing list. The formatting gets stripped out anyway and introduces confusion. Gmail _has_ this option, but you must specify it before you send the email. Also, try to use Reply-all when discussing the same topic to keep

Re: [R] (no subject)

2019-11-05 Thread David Winsemius
This question is off-topic for rhelp despite your use of an R package because it is a request for advice for statistical issues, rather than about R coding. You should read the Posting guide where you are advised of this concern. You are also asked to post in plain text and include an

Re: [R] (no subject)

2019-11-04 Thread Kevin Thorpe
Have you read the help pages of the two functions? That is where I would start. -- Kevin E. Thorpe Head of Biostatistics, Applied Health Research Centre (AHRC) Li Ka Shing Knowledge Institute of St. Michael's Assistant Professor, Dalla Lana School of Public Health University of Toronto email:

Re: [R] (no subject)

2019-02-11 Thread Adrian Johnson
Pardon me, I forgot to add subject line. -Adrian. On Sun, Feb 10, 2019 at 3:49 PM Adrian Johnson wrote: > > Dear group, > > I have two large matrices. > > Matrix one: is 24776 x 76 (example toy1 dput object given below) > > Matrix two: is 12913 x 76 (example toy2 dput object given below) > >

Re: [R] (no subject)

2019-02-10 Thread Hasan Diwan
This is spam, right? -- H On Sun, 10 Feb 2019 at 12:36, Diego Miro wrote: > 4 xxx ff > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >

Re: [R] (no subject)

2019-02-03 Thread Rui Barradas
Hello, It is just a guess but I bet that what the OP means is f <- function(x) { 2 + x^2 - x^3 } uniroot(f, lower = 1, upper = 2) To the OP: please learn how to write math in R *before* trying to solve problems. Hope this helps, Rui Barradas Às 16:07 de 02/02/2019, Berend Hasselman

Re: [R] (no subject)

2019-02-02 Thread Berend Hasselman
> On 1 Feb 2019, at 12:41, malika yassa via R-help wrote: > > Please, can you help me I have a equation to solve by newton method but I can > not do it > for example > > f<-function(x) { > > > 2+X2-X3=0} > this equation have un solution in [1,2] > is there a function in R for solve it or

Re: [R] (no subject)

2019-02-02 Thread Hasan Diwan
Look at the rootSolve package[1] for what you need. Hope it helps... -- H On Sat, 2 Feb 2019 at 06:46, malika yassa via R-help wrote: > Please, can you help me I have a equation to solve by newton method but I > can not do it > for example > > f<-function(x) { > > > 2+X2-X3=0} > this equation

Re: [R] (no subject)

2019-01-10 Thread Bert Gunter
Please post on R-package-devel, not here. That list is specifically devoted to such issues. This list is about R programming help. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his

Re: [R] (no subject)

2018-12-03 Thread Jeremie Juste
Hello, Can you provide more information? What is your operating system? What is your database management system (sqlite, mySQL,...) What package do you use to import the data in R from the database? What is the default language on your computer? Are the variables not in farsi fine? My guess is

Re: [R] (no subject)

2018-12-02 Thread Jeff Newmiller
It is possible that this is not an RStudio-specific issue in spite of the initial phrasing. Mahboobe: If when you use Rgui (Windows) or R.app (Mac) or plain R at the command line (any OS) you still have problems, then you may need to ask for help here or in R-sig-mac or R-sig-debian or

Re: [R] (no subject)

2018-12-02 Thread Duncan Murdoch
On 02/12/2018 6:51 AM, mahboobe akhlaghi wrote: Hi, I have a question about R Studio. I have a database in SQL. now, I combined SQL and R Studio. the levels of a variable is in farsi. so when I want to read some variables, in R Studio are "???" . I want to show them in farsi. what should I

Re: [R] (no subject)

2018-10-22 Thread PIKAL Petr
Hi first of all few comments Does your email client have subject line? If yes please use it, if not, change the client. Please do not post in HTML, such emails have big chance to be scrambled. # this gives you 10 random numbers x<-rnorm(10,0,1) f<-fuction(u,x) {exp(x- u)} # you probably ment

Re: [R] (no subject)

2018-10-20 Thread Bert Gunter
Jeremie's suggestion of course will fail if some of the off-diagonal elements are the same as those on the diagonals. The request doesn't make a lot of sense to me, but if "m" is the matrix, m[row(z) != col(z)] reliably extracts the vector of non-diagonal entries, which can then be dimensioned

Re: [R] (no subject)

2018-10-20 Thread Jeremie Juste
Hello, Be sure to include the mailing list, when you reply. In this way to improve your chances of obtaining a good answer and everyone benefits. May be something like this ? aa <- matrix(1:9,3,3) matrix(as.numeric(aa)[!as.numeric(aa) %in% diag(aa)],2,3) [,1] [,2] [,3] [1,]24

Re: [R] (no subject)

2018-10-20 Thread Jeremie Juste
malika yassa via R-help writes: Hello, Can you specify what you mean by deleting exactly? Do you want to have zero in the diagonal or do you want to extract the non-diagonal part? Besides your matrix is not a square matrix. Do you really want to extract the non-diagonal part of a non square

Re: [R] (no subject)

2018-08-07 Thread Jim Lemon
Hi malika, You don't seem to have defined your functions correctly. For example: H<-function(u,x1) would define an empty function H if that command worked, but it doesn't Jim On Tue, Aug 7, 2018 at 3:51 PM, malika yassa via R-help wrote: > hellothis is my programmeyou can help me, i cann't

Re: [R] (no subject)

2018-07-30 Thread Bert Gunter
How can one possibly answer this without knowing the structure of your dataset? -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Jul 30, 2018 at

Re: [R] (no subject)

2018-07-21 Thread Rui Barradas
Hello, Please always write to r-help, not to me personally, even if I was able to be of assistance in the past. As for your question, your code has several problems. 1) rowSums and colSums return vectors, not matrices. Even if they did, see point 3) below. 2) You define K = 0 then in

Re: [R] (no subject)

2018-07-16 Thread Rui Barradas
Hello, Please repost in plain text, NO HTML formating. Also, you are missing an open parenthesis right after while: while( sum(abs(Sb-D-Sc-t(Pi))>1E-5)){ Hope this helps, Rui Barradas Às 14:25 de 15-07-2018, Atanasio Alberto Tembe Tembe escreveu: Hello! Is there anyone who can help me to

Re: [R] (no subject)

2018-07-16 Thread Thierry Onkelinx
Dear Laura, I came across the anipaths package (https://cran.r-project.org/web/packages/anipaths/vignettes/anipaths.html) It might be useful for you. Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK

Re: [R] (no subject)

2018-07-15 Thread Jeff Newmiller
I think you are missing a parenthesis around your condition [1][2]. For future reference: a) You should post the code you ran as well as the error message... it is unusual for the error message alone to be enough to figure out the problem. In fact, try to make a "reproducible example"

Re: [R] (no subject)

2018-07-11 Thread MacQueen, Don via R-help
Maybe I missed it, but I didn't see anyone suggest a visit to the CRAN Spatial task view. This would be a good place to start learning how to work with spatial data in R. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell

Re: [R] (no subject)

2018-07-10 Thread Werning, Jan-Philipp
Hi, thanks a lot! Now it works. Yours Jan Am 10.07.2018 um 09:00 schrieb PIKAL Petr mailto:petr.pi...@precheza.cz>>: Hi see in line -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Werning, Jan- Philipp Sent: Monday, July 9, 2018 9:42 PM To:

Re: [R] (no subject)

2018-07-10 Thread PIKAL Petr
Hi see in line > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Werning, Jan- > Philipp > Sent: Monday, July 9, 2018 9:42 PM > To: r-help@r-project.org > Subject: [R] (no subject) > > Dear all, > > > In the end I try to run a system dynamics

Re: [R] (no subject)

2018-07-09 Thread Jim Lemon
Hi Laura, Here's a basic method: lsdf<-read.table(text="Bird Date Latitude Longitude eb80976 16/07/2012 50.99 -5.85 eb80976 17/07/2012 52.09 -4.58 eb80976 18/07/2012 49.72 -5.56 eb80976 19/07/2012 51.59 -3.17 eb80976 20/07/2012 52.45 -2.03 eb80976 21/07/2012

Re: [R] (no subject)

2018-07-09 Thread Jeff Newmiller
perhaps geom_path rather than geom_line? On July 9, 2018 12:40:15 PM PDT, Hasan Diwan wrote: >https://imgur.com/a/0f72Fsz results from the following code: > >ggplot()+borders("world", colour="gray50", >fill="gray50")+geom_line(aes(x=Longitude, y=Latitude), birds) > >It's ugly, but it will give

Re: [R] (no subject)

2018-07-09 Thread Hasan Diwan
https://imgur.com/a/0f72Fsz results from the following code: ggplot()+borders("world", colour="gray50", fill="gray50")+geom_line(aes(x=Longitude, y=Latitude), birds) It's ugly, but it will give you a starting point. -- H On Mon, 9 Jul 2018 at 10:53, Laura Steel wrote: > > I am a beginner to R

Re: [R] (no subject)

2018-07-09 Thread Bert Gunter
Laura: 1. We generally do not do code for you; we expect you to show your efforts first. 2. You might want to post this on the r-sig-geo list instead. They specialize in such issues, so that you are more likely to find helpful advice there. 3. There are many good R tutorials on the web. e.g.

Re: [R] (no subject)

2018-07-09 Thread Dylan Distasio
You'll probably get a more detailed reply from someone with more expertise, but have you looked at something like what this article proposes: https://medium.com/fastah-project/a-quick-start-to-maps-in-r-b9f221f44ff3 On Mon, Jul 9, 2018 at 1:53 PM Laura Steel wrote: > I am a beginner to R and I

Re: [R] (no subject)

2018-05-13 Thread David Winsemius
> On May 13, 2018, at 9:35 AM, David Winsemius wrote: > > >> On May 12, 2018, at 9:42 AM, malika yassa via R-help >> wrote: >> >> >> hello >> for exampl, i have this programme >> # Generating data which are right truncated >> library(DTDA) >>

Re: [R] (no subject)

2018-05-13 Thread David Winsemius
> On May 12, 2018, at 9:42 AM, malika yassa via R-help > wrote: > > > hello > for exampl, i have this programme > # Generating data which are right truncated > library(DTDA) > library(splines) > library(survival) > n<-25 > X<-runif(n,0,1) > V<-runif(n,0.75,1) > for (i in

Re: [R] (no subject)

2018-05-12 Thread John Kane via R-help
Thanks I think that may help but it is outside my small area of knowledge. With any luck, someone will be along soon to give some help. Why are using attach(res)? I don't see the need. Good luck. On Saturday, May 12, 2018, 12:50:24 p.m. EDT, malika yassa wrote:

Re: [R] (no subject)

2018-05-12 Thread malika yassa via R-help
hello for exampl, i have this programme # Generating data which are right truncated library(DTDA) library(splines) library(survival) n<-25 X<-runif(n,0,1) V<-runif(n,0.75,1) for (i in 1:n){ while (X[i]>V[i]){ X[i]<-runif(1,0,1) V[i]<-runif(1,0.75,1) }} res<-lynden(X=X,U=NA, V=V, boot=TRUE)

Re: [R] (no subject)

2018-05-10 Thread John Kane via R-help
We need some idea of the problem. http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example http://adv-r.had.co.nz/Reproducibility.html On Thursday, May 10, 2018, 11:07:30 a.m. EDT, malika yassa via R-help wrote: Hello Do You

Re: [R] (no subject)

2017-09-13 Thread David Brayford
Hi Duncan, The output of gsl-config --version 2.3 The output of gsl-config --cflags -I/lrz/sys/libraries/gsl/2.3/include The output of gsl-config --libs -L/lrz/sys/libraries/gsl/2.3/lib -lgsl -lgslcblas -lm gsl_version.h cat output #define GSL_VERSION "2.3" #define GSL_MAJOR_VERSION 2 #define

Re: [R] (no subject)

2017-09-13 Thread Peter Dalgaard
> On 13 Sep 2017, at 16:01 , Duncan Murdoch wrote: > > On 13/09/2017 9:10 AM, David Brayford wrote: >> Hi Duncan, >> The output of gsl-config --version >> 2.3 >> The output of gsl-config --cflags >> -I/lrz/sys/libraries/gsl/2.3/include >> The output of gsl-config

Re: [R] (no subject)

2017-09-13 Thread Duncan Murdoch
On 13/09/2017 9:10 AM, David Brayford wrote: Hi Duncan, The output of gsl-config --version 2.3 The output of gsl-config --cflags -I/lrz/sys/libraries/gsl/2.3/include The output of gsl-config --libs -L/lrz/sys/libraries/gsl/2.3/lib -lgsl -lgslcblas -lm gsl_version.h cat output #define

Re: [R] (no subject)

2017-09-13 Thread Duncan Murdoch
On 13/09/2017 5:23 AM, Brayford, David wrote: When I try to install gsl in R I get the error Need GSL version >= 1.12 . However, I have version 2.3 of gsl installed on the system, which is picked up earlier in the configure process (see below). Is it possible for someone to fix this error in

Re: [R] (no subject)

2017-09-13 Thread Suzen, Mehmet
Hello David, As error message says you have a version dependency not satisfied. "error: Need GSL version >= 1.12". If you are using Ubuntu for example you could do; sudo apt-get install libgsl2 Or you can compile by yourself, I am sure there are people in LRZ can help you on this:) Best, Mehmet

Re: [R] (no subject)

2017-09-13 Thread Berend Hasselman
> On 13 Sep 2017, at 11:23, Brayford, David wrote: > > When I try to install gsl in R I get the error Need GSL version >= 1.12 . > However, I have version 2.3 of gsl installed on the system, which is picked > up earlier in the configure process (see below). Is it

Re: [R] bootstrap subject resampling: resampled subject codes surface as list/vector indices

2017-08-19 Thread Aleksander Główka
Thank you and apologies for not having posted the data along with the code. After poking some more, I found the bug. I first initialize sample.subjects as an an empty list: sample.subjects = list() And then I try to the first element of that empty list. sample.subjects[1] =

Re: [R] bootstrap subject resampling: resampled subject codes surface as list/vector indices

2017-08-19 Thread Bert Gunter
I din't have the patience to go through your missive in detail, but do note that it is not reproducible, as you have not provided a "data" object. You **are** asked to provide a small reproducible example by the posting guide. Of course, others with more patience and/or more smarts may not need

Re: [R] (no subject)

2017-06-17 Thread Jeff Newmiller
You desperately need to read the Posting Guide... A) There is a no homework policy on this list. If this is for a class, stop now and go use the assistance resources offered by your educational institution. B) This is a plain text mailing list so the table formatting you saw when you sent

Re: [R] (no subject)

2017-06-15 Thread David Winsemius
> On Jun 15, 2017, at 3:05 PM, oussama bouldjedri > wrote: > > Hi every one I am working on shiny app using bnlearn for Bayesian networks > and using r studio I get a fatal error and when I use R GUI I get this error > > ** caught segfault *** > > address

Re: [R] (no subject)

2017-05-30 Thread David Winsemius
> On May 30, 2017, at 11:18 AM, Pedro páramo wrote: > > I have seen that the vector of dates could be: > > itemizeDates(startDate="12-30-11", endDate="1-4-12") > > How can I say "today" without having to declare the endDate? > > Finally, if you can help mi with the

Re: [R] (no subject)

2017-05-30 Thread Pedro páramo
I have seen that the vector of dates could be: itemizeDates(startDate="12-30-11", endDate="1-4-12") How can I say "today" without having to declare the endDate? Finally, if you can help mi with the plot would be very helpfull 2017-05-30 19:41 GMT+02:00 Pedro páramo :

Re: [R] (no subject)

2017-03-24 Thread Bert Gunter
Please read and follow the directions at the bottom of your email. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Mar 23, 2017 at 9:55 AM,

Re: [R] (no subject)

2017-03-23 Thread Jim Lemon
Hi Munevver, Go here: https://stat.ethz.ch/mailman/listinfo/r-help which is probably where you subscribed, and UNSUBSCRIBE Jim On Fri, Mar 24, 2017 at 3:55 AM, munevver kaya wrote: > Dear Sir/Madam, > I do not want to receive any email by r-help. Can you delete me

Re: [R] (no subject)

2017-03-23 Thread Peter Dalgaard
The recipe for unsubscribing is in the footer of every r-help message. General readers of the list can not do it for you. -pd > On 23 Mar 2017, at 17:55 , munevver kaya wrote: > > Dear Sir/Madam, > I do not want to receive any email by r-help. Can you delete me in

Re: [R] (no subject)

2017-03-05 Thread Bert Gunter
Well, this is your 3rd post to appear here with no replies. At what point will you stop posting and realize that no one here is able or willing to answer your almost incomprehensible post? However, you might try to contact the package maintainer to see if this is a bug ( -- you **have the latest

Re: [R] (no subject)

2017-01-31 Thread PIKAL Petr
.pi...@precheza.cz> Cc: Jeff Newmiller <jdnew...@dcn.davis.ca.us>; r-help@r-project.org Subject: Re: [R] (no subject) Upon trying this method, I get an error ; Error in `$<-.data.frame`(`*tmp*`, "MEImeans", value = c(0.313162987462034, : replacement has 442 rows, data has

Re: [R] (no subject)

2017-01-30 Thread Jeff Newmiller
t;> d3 <- embed( dta$MEI, 3) >> >> Cheers >> Petr >> >> > -Original Message- >> > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of >Jeff >> > Newmiller >> > Sent: Monday, January 30, 2017 4:19 PM >

Re: [R] (no subject)

2017-01-30 Thread Kwesi Quagraine
Thanks for your suggestion. I am much grateful. Kwesi On Mon, Jan 30, 2017 at 4:23 PM, Robert Sherry wrote: > Here is one thought. Assign each month a value of 0, 1 or 2. Then do a > simple linear regression analysis where the value of the month > is the independent

Re: [R] (no subject)

2017-01-30 Thread Kwesi Quagraine
To: r-help@r-project.org; Kwesi Quagraine <starskykw...@gmail.com> > > Subject: Re: [R] (no subject) > > > > How you proceed depends on how consistent the data are and on what you > > want to do with those sets of three months after you have identified > them

Re: [R] (no subject)

2017-01-30 Thread Kwesi Quagraine
Hello Eric, thanks for the code, it seems to do something closer to what I want. I generate JFM, FMA and so on, but it does not create the DJF at the beginning. Any thoughts on that? Kwesi On Mon, Jan 30, 2017 at 6:01 PM, Erich Subscriptions < erich.s...@neuwirth.priv.at> wrote: > Using dplyr

Re: [R] (no subject)

2017-01-30 Thread Erich Subscriptions
Using dplyr and magrittr you could do the following -=-=-=-=- library(dplyr) library(magrittr) mydata <- read.table(text=" era...1.Node_freq MEI 1 1980-01-01 -0.389855332 0.3394196488 2 1980-02-01 -0.728019153 0.2483738232 3 1980-03-01 -1.992457784 0.3516954904 4

Re: [R] (no subject)

2017-01-30 Thread PIKAL Petr
tarskykw...@gmail.com> > Subject: Re: [R] (no subject) > > How you proceed depends on how consistent the data are and on what you > want to do with those sets of three months after you have identified them. > > One approach is to create a matrix where each row contains the valu

Re: [R] (no subject)

2017-01-30 Thread Jeff Newmiller
How you proceed depends on how consistent the data are and on what you want to do with those sets of three months after you have identified them. One approach is to create a matrix where each row contains the values corresponding to the "second previous", "previous", and "current" months data,

Re: [R] (no subject)

2017-01-30 Thread Robert Sherry
Here is one thought. Assign each month a value of 0, 1 or 2. Then do a simple linear regression analysis where the value of the month is the independent variable. You can also do multiple linear regression with the value you assigned to the month plus the other factors that you believe are

Re: [R] (no subject)

2016-12-06 Thread John Kane via R-help
No attachment.  R-help; is very fussy about the type of file it will accept. Try a text document with .txt extention or just put the code and the sample data in the actual email. Use dput(), see ?dput for details, to provide the data. On Tuesday, December 6, 2016 6:51 AM, michael tsagris

Re: [R] (no subject)

2016-10-13 Thread Jim Lemon
The crucial thing is probably: "... they are translated to UTF-8 before comparison." Although the first 127 characters seem to be identical to ASCII, in which punctuation marks sorted before digits or letters, the encoding to UTF-8 may make that impractical. Jim On Thu, Oct 13, 2016 at 8:55

Re: [R] (no subject)

2016-10-13 Thread peter dalgaard
Collating orders are a weird and wooly bunch... My hunch is that you have one of those that ignore punctuation and sorts AaBbCc, so that you are seeing Modis{d-F-F-h-P}. ?Comparison for details. -pd > On 13 Oct 2016, at 10:29 , Bob O'Hara wrote: > > I've just come across

Re: [R] (no subject)

2016-10-13 Thread Bob O'Hara
Yes, thanks. That seems to be it: thing <- c("M1", "M2", "M.1", "M.2") > sort(thing) [1] "M1" "M.1" "M2" "M.2" The only documentation I can find is from ?Comparison: "Collation of non-letters (spaces, punctuation signs, hyphens, fractions and so on) is even more problematic." Indeed. Bob On

Re: [R] (no subject)

2016-10-13 Thread PIKAL Petr
Hi Just a wild guess. Dot is ignored and the output is alphabetically sorted. You could try sort it yourself by sort(ls()) Cheers Petr > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Bob > O'Hara > Sent: Thursday, October 13, 2016 10:29 AM > To:

Re: [R] (no subject)

2016-10-07 Thread John Dougherty
On 6 Oct 2016 07:55:28 - "abhishek pandey" wrote: > kindly solve my problem sir. > > The answer obviously is 42. JWDougherty __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] (no subject)

2016-10-06 Thread David Winsemius
> On Oct 6, 2016, at 4:22 PM, Jeff Newmiller wrote: > > The OP sent a separate email which was slightly less obscure. Taken together > with this email, they suggest more a lack of familiarity with the concept of > an email thread and with the time scale and features

Re: [R] (no subject)

2016-10-06 Thread Jeff Newmiller
The OP sent a separate email which was slightly less obscure. Taken together with this email, they suggest more a lack of familiarity with the concept of an email thread and with the time scale and features of email support, rather than a presumption of mind reading skills. One can hope that

Re: [R] (no subject)

2016-10-06 Thread Dalthorp, Daniel
The answer is 42 (in base 13). The question is "What do you get when you multiply six by nine?" On Thu, Oct 6, 2016 at 3:54 PM, Jim Lemon wrote: > No, I'm quite certain that the answer is: > > 7*6 = 3*2^4 - 36/6 > > but I don't know the question > > Jim > > On Fri, Oct 7,

Re: [R] (no subject)

2016-10-06 Thread Jim Lemon
No, I'm quite certain that the answer is: 7*6 = 3*2^4 - 36/6 but I don't know the question Jim On Fri, Oct 7, 2016 at 9:48 AM, Dalthorp, Daniel wrote: > Question and answer: > > 6*9 = (4)*13^1 + (2)*13^0 > > On Thu, Oct 6, 2016 at 3:26 PM, Jim Lemon

Re: [R] (no subject)

2016-10-06 Thread Dalthorp, Daniel
Question and answer: 6*9 = (4)*13^1 + (2)*13^0 On Thu, Oct 6, 2016 at 3:26 PM, Jim Lemon wrote: > It certainly does. As we are often confronted with requests for > solutions of problems so minimally defined as to challenge the most > eminent mindreader, this excels. We

Re: [R] (no subject)

2016-10-06 Thread Jim Lemon
It certainly does. As we are often confronted with requests for solutions of problems so minimally defined as to challenge the most eminent mindreader, this excels. We have a meta-problem as the supplicant him- (or her-, I cannot even ascertain this) does not appear to know what it is. Thus me are

  1   2   3   4   5   6   >