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:

[R] (no subject)

2023-01-16 Thread Upananda Pani
Dear Members, Greetings! I would like to know how to create the lag variable for my data. # Load data and create time series object oil <- read_xlsx("crudefinal.xlsx") pricet=ts(oil$price, start = c(2020, 22), frequency = 365)

Re: [R] (no subject)

2022-11-25 Thread Ebert,Timothy Aaron
ntile function." Please clarify the question. Tim -Original Message- From: R-help On Behalf Of ASHLIN VARKEY Sent: Friday, November 25, 2022 1:34 AM To: r-help@r-project.org Subject: [R] (no subject) [External Email] How to calculate AIC , when the distribution have only quantil

[R] (no subject)

2022-11-25 Thread ASHLIN VARKEY
How to calculate AIC , when the distribution have only quantile function [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

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) : >

[R] (no subject)

2022-11-06 Thread Nick Wray
Hello - I am using the MICE package to impute missing values - the input data are up to six vectors of parallel hourly temperature measurements for Scottish weather stations across a calendar year. None of the vectors have more than 5% NAs as I have filtered ones with more out. Most of the sets

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

[R] (no subject)

2022-10-06 Thread Julie Coughlin
Hi , 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. Thank you, Julie :) [[alternative HTML version deleted]] __ R-help@r-project.org mailing list --

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

[R] (no subject)

2022-05-05 Thread Ariyan Khayer
Hello.i was interested in learning about programming.(Especially R) but I do not have any source to study and learn from.can you help me with that? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

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

[R] (no subject)

2021-11-09 Thread Arnaud FELD
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 >http://www.r-project.org/mail.html). For R packages,

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

[R] (no subject)

2021-10-06 Thread Thomas Subia
Colleagues, Some co-workers are wondering about how secure R software is. Is there any documentation on this which I can forward to them? All the best, Thomas Subia Quality Engineer __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

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

[R] (no subject)

2020-12-11 Thread Anas Jamshed
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 file.copy(savedcopy, lib, recursive = TRUE) : problem copying

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]] > >

[R] (no subject)

2020-10-01 Thread Marte Lilleeng
I want to unsubscribe from this list. -- Mvh Marte Synnøve Lilleeng tlf 97 74 38 12 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] (no subject)

2020-06-05 Thread Aimin Yan
I want the stacked bar and its legend following the order as tr from left to right like the following: "100.0.250ng_CellLine_0" "75.25.250ng_CellLine_0" "50.50.250ng_CellLine_0" "10.90.250ng_CellLine_0" "1.99.250ng_CellLine_0" "0.100.250ng_CellLine_0" "100.0.500ng_CellLine_0"

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

[R] (no subject)

2020-05-14 Thread Luigi Marongiu
Dear all, I am trying to upgrade from ubuntu 19 to 20 but I got some R stuff that stop the process: ``` $ apt list --upgradable Listing... Done r-cran-kernsmooth/xenial 2.23-15-3xenial0 amd64 [upgradable from: 2.23-15-3build2] r-cran-nnet/xenial 7.3-12-2xenial0 amd64 [upgradable from:

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

[R] (no subject)

2020-03-08 Thread meryem khanniji
Hello to all R users' , I need to get the Ox interface in R, can anyone help me to know if the garchOxfit is still working . Also i want to know if there is a way to get G@RCH package. Thanks in advance [[alternative HTML version deleted]] __

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

[R] (no subject)

2020-01-20 Thread Paul Bernal
Example of conversion to decimal of a signed binary number in two's complement representation Let's convert to decimal the following signed binary number: 10110010 10110010 = -1×27 + 0×26 + 1×25 + 1×24 + 0×23 + 0×22 + 1×21 + 0×20 = -128 + 32 + 16 + 2 = -78. that operation ilvoves base 2 raised

[R] (no subject)

2019-11-16 Thread imran damkar
I want to check if boot strapping can prove helpful in improving homogeneity of variance. If it does so, I would like to perform hypothesis testing on same transformed data( bootstrapped data),by using non-parametric anova . How can I store new bootstrapped data set in data frame? Data is 5 point

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

[R] (no subject)

2019-11-05 Thread imran damkar
Greetings, I have collected the data based on 5 point likert scale(very low, low, neutral, high,very high) on the factor considered by individual before making investment decision. There are five factors (D.Vs) Influencing investment decisions. I am interested in knowing whether there is

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:

[R] (no subject)

2019-11-04 Thread imran damkar
Hi, I would like to know what is the difference between function oneway_test and independence_test of coin package. You will highly appreciated Regards [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE

[R] (no subject)

2019-09-05 Thread pusuluri madhu
Please unsubscribe me -- *Madhu Pusuluri, Ph D* *Visiting Scientist* *Genomics & Trait discovery- Genetic Gains* *International Crops Research Institute for the Semi-Arid Tropics (ICRISAT)* *Patancheru, Hyderabad, Telangana 502324, INDIA.* *E-mail: **m.pusul...@cgiar.org **;

[R] (no subject)

2019-08-05 Thread Mangalani Makananisa
Dear all, I have been reading some documentations including Latent variable Modeling using R and I am confronted with some challenges. Could you please direction/guidance me with the following problem? If I am given continuous time series ‘quarterly data’ with three indicators (Y1, Y2 and Y3)

[R] (no subject)

2019-04-30 Thread Haddison Mureithi
Hello guys this problem was never answered and I happened to come across the same problem , kindly help. This is a simple R program that I have been trying to run. I keep running into the "singular matrix" error. I end up with no sensible results. Can anyone suggest any changes or a way around

[R] (no subject)

2019-04-29 Thread mahboobe akhlaghi
Hello. I have a question from kamila package. I run this package on my data and the database is on SQL server. now, I have an error that I don't know what should I do. kamrespresc<-kamila(conVarsPresc,catVarsFacPresc,numClust=3,numInit=10) Error in matrix(data = log(gtools::rdirichlet(n =

[R] (no subject)

2019-04-24 Thread Mahnoor Malik
[[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

[R] (no subject)

2019-04-23 Thread Abs Spurdle
Note that your post has no subject line. I can't find it in my emails, which may explain why no one else has replied. > fo<-h~a+b*log(dbh)+c*(log(dbh))^2+1.3 I'm assuming that you want to fit a model with three parameters, a, b and c. This would be a linear model (linear in the parameters). I'm

[R] (no subject)

2019-04-18 Thread Catalin Roibu
Dear R users, I want to compute a nlm for each plot an species and after that to save the regression coef for each species and plot. Thanks for your help! I tried something like this s<-data.frame(unique(ah$sp)) pl<-data.frame(unique(ah$plot)) z<-data.frame(matrix(nrow=0, ncol=5)) for(i in

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) > >

[R] (no subject)

2019-02-10 Thread Adrian Johnson
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) Column names of both matrices are identical. My aim is: a. Take each row of toy2 and transform vector into UP (>0) and DN

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 >

[R] (no subject)

2019-02-10 Thread Diego Miro
4 xxx ff [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and

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

[R] (no subject)

2019-02-02 Thread malika yassa via R-help
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 i have to programme it [[alternative HTML version deleted]]

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

[R] (no subject)

2019-01-10 Thread Sam Albers
Hello all, I am experience some issues with building a package that we are hosting on GitHub. The package itself is quite large. It is a data package with a bunch of spatial files stored as .rds files. The repo is located here: https://github.com/bcgov/bcmaps.rdata If we clone that package to

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

[R] (no subject)

2018-12-02 Thread mahboobe akhlaghi
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 do to have right words in R Studio? Thanks. --

Re: [R] (no subject)

2018-10-22 Thread PIKAL Petr
Sent: Saturday, October 20, 2018 3:04 PM > To: r-help@r-project.org > Subject: [R] (no subject) > > hello > please you help mei have this functionx<-rnorm(10,0,1)f<-fuction(u,x) > {exp((x- > u)}I want to calculate the integral of this function for each value of

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

[R] (no subject)

2018-10-20 Thread malika yassa via R-help
hello please you help mei have this functionx<-rnorm(10,0,1)f<-fuction(u,x)  {exp((x-u)}I want to calculate the integral of this function for each value of x{for(i in 1:lenght(x) integrate(f,lower=1,upper=4) }but I can not find the vector of resulatwhere is the errorthinks

[R] (no subject)

2018-10-20 Thread malika yassa via R-help
hellowplease,do you help mei have this matrixm<-matrix(( 1:12, nrow = 3 ) I want to delete the diagonal values of this matrix can anyone do thisthinks [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

[R] (no subject)

2018-08-21 Thread jsebastiantello
hi R https://goo.gl/G8X41r __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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,

[R] (no subject)

2018-08-21 Thread Giuseppa Cefalu
Hello, I have a list of lists. The lists in the list of lists are file names. I use lapply to read and merge the contents of each list in the list of lists (3 merged contents in this case which will be the content of 3 files). Then, I have to change the name of the 3 resulting files and

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

[R] (no subject)

2018-08-06 Thread malika yassa via R-help
hellothis is my programmeyou can help me, i cann't found a solution for H  and this  function i calculate for all value for x1thank you x<-rexp(N,2) z<-rnorm(0,1,n) g=k)-k*(Z-m<=-k)} k1<-function(u,x1){-1/(2*pi)exp((x1-u)/h1} for (i in 1:n)

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

[R] (no subject)

2018-07-30 Thread Baojun Sun
The book "Introduction to Statistical Learning" gives R scripts for its labs. I found a script for ridge regression that works on the dataset the book uses but is unusable on other datasets I own unless I clean the data. I'm trying to understand the syntax for I need for data cleaning and am

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"

[R] (no subject)

2018-07-15 Thread Atanasio Alberto Tembe Tembe
Hello! Is there anyone who can help me to this the error bellow? Ijust started using R recently. Thank you while sum(abs(Sb-D-Sc-t(Pi))>1E-5{Error: unexpected symbol in "while sum"> > k=K+1> > for(i in 1:nrow(c1)){+ + for(j in 1:ncol(c1)){+ +

[R] (no subject)

2018-07-15 Thread Nelson Sibanda via R-help
UNSCRIBE [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and

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
To: r-help@r-project.org<mailto:r-help@r-project.org> Subject: [R] (no subject) Dear all, In the end I try to run a system dynamics simulation in R using the package deSolve. Therefore I need an auxiliary list (auxs) the model can refer to when it the functions need an auxiliary value. I u

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 e

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

[R] (no subject)

2018-07-09 Thread Werning, Jan-Philipp
Dear all, In the end I try to run a system dynamics simulation in R using the package deSolve. Therefore I need an auxiliary list (auxs) the model can refer to when it the functions need an auxiliary value. I used a manual list: auxs <- c( aSplitSN=0.4 , aSplitLN=0.6, aSplitSR1=0 ,

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

[R] (no subject)

2018-07-09 Thread Laura Steel
I am a beginner to R and I need to map some Atlantic puffin migration routes onto a map of the Northern Hemisphere. I have a latitude and longitude point per bird, per day. I would like to be able to plot the routes of all my birds on one map and ideally so that I can see at which date they are at

[R] (no subject)

2018-05-14 Thread malika yassa via R-help
hello > p(X ≤ V) diffetente zero > look this > Let X and V be two independent random variables with unknow >  distribution functions (d.f.’s) F and G respectively. Under truncation from >the right we observe (X, Z) only if X ≤ Z > I simulate X and Z and I use Lynden bell estimation > I need now

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:

  1   2   3   4   5   6   7   8   9   10   >