Re: [R] R code for Batch forecasting

2018-03-15 Thread Bert Gunter
Use a for loop or something else, e.g. lapply() with predict(). To get a better answer, read and follow the posting guide linked below. -- 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 hi

[R] cubic complete Scheffe mixture models

2018-03-15 Thread Cleber N.Borges via R-help
Hello everyone I'm trying to use Scheffe's complete cubic model (mixture design). In the bibliographies, they indicate that the term is of the type: A * B * (A-B). But I see that trying to adjust the three cubic terms results in singularities. I know this implies not having the inverse matrix:

[R] R code for Batch forecasting

2018-03-15 Thread Manish Mukherjee
Hi All, Is there was where we can predict the time series for multiple items in one go - i mean can we run the code for any time series model over multiple columns using for loop or something else . If someone can provide some example it will be helpfull. Thanks & Regards Manish Mukherjee

Re: [R] Adjusting OHCL data via quantmod

2018-03-15 Thread Joe O
Took out snippet of problematic code: ### library(quantmod) #AV data. Supply your own api key getSymbols("AAPL",src = "av" ,api.key = my_api_key , adjusted = TRUE, output.size = "full") #Manual adjustments for splits, and split-adjusted dividends close_av <- Cl(AAPL) splits <- getSpli

Re: [R] stats 'dist' euclidean distance calculation

2018-03-15 Thread Bert Gunter
and I believe this whole thread may fit better at the Bioconductor list rather than here. Cheers, 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 Th

Re: [R] R 3.4.4 is released

2018-03-15 Thread Rich Shepard
On Thu, 15 Mar 2018, Peter Dalgaard via R-help wrote: The build system rolled up R-3.4.4.tar.gz (codename "Someone to Lean On") this morning. Peter, My thanks to all developers for the work you do. Best regards, Rich __ R-help@r-project.org mai

[R] jointModel error messages

2018-03-15 Thread HaviM
Dear Graham. Any updates regarding your message about JointModel error messages? I am encountering similar errors. Thank you. Havi [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] stats 'dist' euclidean distance calculation

2018-03-15 Thread S Ellison
> 3x3 subset used > Locus1 Locus2 Locus3 > Samp1 GG GG > Samp2 AG CA GA > Samp3 AG CA GG > > The euclidean distance function is defined as: sqrt(sum

[R] Adjusting OHCL data via quantmod

2018-03-15 Thread Joe O
Hello, I'm trying to do two things: -1. Ensure that I understand how quantmod adjust's OHLC data -2. Determine how I ought to adjust my data. My overarching-goal is to adjust my OHLC data appropriately to minimize the difference between my backtest returns, and the returns I would get if I was tr

Re: [R] stats 'dist' euclidean distance calculation

2018-03-15 Thread Eric Berger
Hi Cheyenne, I noticed one thing that might be helpful to you. First, I took a shortcut to the case of interest: > m <- matrix(c(2,1,1,0,1,1,NA,1,1,NA,1,1,2,1,2,0,1,0),nrow=3) > colnames(m) <- c("1.G","1.A","2.C","2.A","3.G","3.A") > m # 1.G 1.A 2.C 2.A 3.G 3.A # [1,] 20 NA

[R] [R-pkgs] New package ridittools

2018-03-15 Thread Eric Bohlman
A new package, ridittools, is available on CRAN Description: Functions to compute ridit scores of vectors, compute mean ridits and their standard errors for vectors compared to a reference vector,as described in Fleiss (1981, ISBN:0-471-06428-9), and compute means/SEs for multiple groups in mat

[R] R 3.4.4 is released

2018-03-15 Thread Peter Dalgaard via R-help
The build system rolled up R-3.4.4.tar.gz (codename "Someone to Lean On") this morning. This is intended to be the last of the 3.4.x release series. The list below details the changes. You can get the source code from http://cran.r-project.org/src/base/R-3/R-3.4.4.tar.gz or wait for it to be