Re: [R] [FORGED] Re: rmgarch: source package installation problem

2020-01-02 Thread Pietro Coretto
rofile was the following q <- function (save="no", ...) { quit(save=save, ...) } Regards Pietro Coretto On 02/01/2020 23.54, Rolf Turner wrote: On 2/01/20 9:51 pm, Pietro Coretto wrote: No problem Rolf. Thanks for you interest. But the problem is still unsolved! I

Re: [R] rmgarch: source package installation problem

2019-12-30 Thread Pietro Coretto
On 30/12/2019 12.11, Duncan Murdoch wrote: On 30/12/2019 5:59 a.m., Pietro Coretto wrote: [...] You didn't show us the command you used to install it. Duncan Murdoch Sorry for this, I used the following: install.packages("rmgarch") from the linux command line, using both

[R] rmgarch: source package installation problem

2019-12-30 Thread Pietro Coretto
end. https://pastebin.com/z7ZwU9iR I hope somebody can tell me what may cause this. Regards Pietro __ 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 gui

[R] No transactions/positions to chart in Quantstrat

2018-07-14 Thread Pietro Fabbro via R-help
Hello. I get the error message that there are no transactions/positions to chart despite the signals and rules that I inserted. Can someone please help? rm(list = ls(.blotter), envir = .blotter) initdate <- "2010-01-01" from <- "2012-01-01" #start of backtest to <- "2017-31-12" #end of backtest

[R] Quantstrat custom indicator colnames error

2018-07-14 Thread Pietro Fabbro via R-help
I apologize if the data I will insert will not be enough. So, I am trying to run a strategy through the package Quantstrat. install.packages("quantstrat") My problem is that I get the following error Error incolnames<-(tmp, value = seq(ncol(tmp_val))) : attempt to set 'colnames' on an object w

[R] Error custom indicator Quantstrat colnames

2018-07-14 Thread Pietro Fabbro via R-help
I will try to be as clear as possible as I have been rebuked by some users. I deleted the last questions and I will try to be sufficiently explicative in this one. I apologize if the data I will insert will not be enough. So, I am trying to run a strategy through the package Quantstrat. install

[R] SARIMA in rpy2

2015-10-22 Thread pietro chen
Hello, Am trying to estimate a seasonal Arima by calling the R forecast package in Rpy2: fit = forecast.Arima(x = h02, order = order, seasonal = seasonal) Strangely I get the estimates of the non-seasonal part, only, even if the model is specified as (3,0,1)x(0,1,2). Can anyone tell me where the

Re: [R] help with xts

2014-05-19 Thread Pietro
Thanks to all for your ideas and inspirations Il 18/05/2014 18.35, Joshua Ulrich ha scritto: Using subset assignment with an array usually doesn't work well with xts/zoo objects. Your case wouldn't even work with a matrix because you have NA in your array. In this case, you can achieve the sam

[R] Help with multiple use of "quantile"

2013-06-08 Thread Parodi, Pietro
orrect form. As you might have imagined, this arises in the context of simulating random variables from different distribution in empirical form that are correlated through a copula. Thanks in advance for your help! Pietro _ ___

Re: [R] data.frame with NA

2013-03-20 Thread Pietro
olumn which does not have any missing values. -- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352 > -Original Message- > From: Pietro [mailto:freeri...@gmail.com] > Sent: Tuesday, March 19, 2013 6:1

Re: [R] data.frame with NA

2013-03-19 Thread Pietro
93.1 ... $ m : num 128 127 126 129 130 ... $ n : num NA NA NA NA NA NA NA NA NA NA ... $ o : num 133 133 133 133 133 ... $ p : num 107 107 107 107 107 ... --- David > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.o

Re: [R] data.frame with NA

2013-03-18 Thread Pietro
Yes, it's true Berend! What i do is simply use read.xlsx function db <- read.xlsx2("c:/mydb.xlsx",1,as.data.frame=T) This is excel file i use: http://dl.dropbox.com/u/102669/mydb.xlsx I can't find a way to import as numeric. My objective is to be able to work (in R) with my NA's At 18.46 1

Re: [R] Counting number of common elements between the rows of two different matrices

2011-11-04 Thread Parodi, Pietro
Jim I tried that and it works. Thank you very much for your help! Regards Pietro -Original Message- From: jim holtman [mailto:jholt...@gmail.com] Sent: 04 November 2011 13:38 To: Parodi, Pietro Cc: r-help@r-project.org Subject: Re: [R] Counting number of common elements between the

[R] Counting number of common elements between the rows of two different matrices

2011-11-04 Thread Parodi, Pietro
ere an efficient, clean way to do the same job and give as an output a matrix N_A x N_B such as that above? Thanks a lot for your help Regards Pietro __ For information pertaining to Willis' email confidentiality and moni

[R] Converting from density to cumulative distribution

2011-04-21 Thread Parodi, Pietro
n the empirical density distribution function. I have done some research on this but the only relevant thing I've found is the function "integrate", which however gives me the sum of the whole vector not the step-wise sum. Thanks fo

[R] rcorrp.cens and U statistics

2009-09-08 Thread pietro bulian
Dxy X1 Dxy X2 1.582520e+05 9.955490e-01 9.762611e-01 9.910979e-01 9.525223e-01 Should I manually calculate the U statistics interpreting the fraction "x1 more concordant" and "x2 more concordant" of the "Relevant Pairs&

[R] pivot table in R

2008-01-29 Thread pietro . parodi
Hello, I'm struggling with an elementary problem with R. I have a simple data frame such as this one giving the number of accidents subdivided by sex, age and region. sex age region no_of_accidents F young north 10 F young south 12 F o