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
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:
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
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 <-
Buenas a todos,
Ayer realizamos un Meetup conjunto con el grupo de "Machine Learning Spain".
Parte del material ya está subido a nuestro portal.
http://madrid.r-es.org/50-miercoles-14-de-marzo-2018/
Estamos a la espera de que nos compartan los videos. Por si queréis ir
viendo la parte de
Creo que una vez creada tu función, puedes llamarla como un source
source("...myfunction.R") #llama a función creada en tu espacio de trabajo.
El 15 de marzo de 2018, 15:06, Javier Valdes Cantallopts (DGA) <
javier.val...@mop.gov.cl> escribió:
> Eso podría ser una alternativa también, pero
Si no me equivoco (no tengo el ordenador delante) si usas R Studio
automáticamente al guardar un scrpt te lo pone con la extensión .R
Si usas R y el script lo tienes en un txt lo que tienes que haces es
guardarlo cambiando la extensión de archivo a .R
Un saludo
El jue., 15 mar. 2018 19:06,
Eso podría ser una alternativa también, pero como lo hago?
[Descripción: FIRMA3]
De: Pedro Herrero Petisco [mailto:pedroherreropeti...@gmail.com]
Enviado el: jueves, 15 de marzo de 2018 15:04
Para: Freddy Omar López Quintero
CC: Javier Valdes Cantallopts (DGA); Lista R
Asunto: Re: [R-es] hacer
Quizás me equivoco, pero creo que para lo que tú quieres sería más fácil
que guardases su script con funciones en un documento .R y después cuando
quieras usar esas funciones simplemente llames a tu documento con la
función load de la siguiente forma:
load("misfunciones.r")
Un saludo
El jue.,
Hola.
Algunas fuentes son:
1. https://cran.r-project.org/doc/contrib/Leisch-CreatingPackages.pdf
2.
https://support.rstudio.com/hc/en-us/articles/200486488-Developing-Packages-with-RStudio
3. https://www.youtube.com/watch?v=9PyQlbAEujY
4.
Hola a todos:
Tengo un modelo que logré construir en R. Sin embargo, me gustaría que dicho
modelo pusiese funcionar como un paquete de R, en el sentido que todas los
pasos y fórmulas estén contenidas en un solo "paquete" y no como está
desplegada ahora, en donde se observan casi sesenta líneas
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
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
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
> 3x3 subset used
> Locus1 Locus2 Locus3
> Samp1 GG GG
> Samp2 AG CA GA
> Samp3 AG CA GG
>
> The euclidean distance function is defined as:
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
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
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
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
Hello,
I am working with a matrix of multilocus genotypes for ~180 individual snail
samples, with substantial missing data. I am trying to calculate the pairwise
genetic distance between individuals using the stats package 'dist' function,
using euclidean distance. I took a subset of this
20 matches
Mail list logo