[R] running Apply takes long time

2019-06-30 Thread Hamid Ghorbani via R-help
*. For this I have used apply function. Unfortunately, running apply  takes long time (i have several models, log-normal model in the following is just for  explanation). Many thanks in advance. Yours, Hamid simpsonlognormpval <- function(xx){     # numerical integral using Simpso

[R] Robust ANCOVA

2016-03-27 Thread HAMID REZA ASHRAFI via R-help
HiI have a set of data with two independent variables, a pretest (covariate) and posttest (dependent variable).Can anyone help me run robust ANCOVA?If you wish I can send you the data file.yours [[alternative HTML version deleted]] __ R-help@r-

[R] r script in web

2015-02-28 Thread hamid-reza kadkhodazadeh
hi i want to run r script in web without install r on server(my server is windows). is it possible?how? thank you [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mai

[R] use R in a web interface

2015-02-25 Thread hamid-reza kadkhodazadeh
hi; *Is there a possibility to use R in a web interface (asp.net ) without the need to install it?* thanks [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.e

[R] Problems with R

2013-10-10 Thread Mash Hamid
Hi, I have recently installed R and am trying to do some work on it. To be honest I'm finding it a PAIN to you. I use Mac and I can open stata dta. files in R despite using the commands suggested to me and I have been trying to get figure out how to do reduced rank regression on it and the manu

[R] No Ukraine in maps library?

2013-05-06 Thread Hamid Bazzaz
such a use-case or is there a quick way around this issue? Thanks very much, Hamid [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

[R] monthly means of ts object

2011-04-30 Thread Hamid Hamid
Dear user, I have a monthly time series data (length 144), as ts (time series) object in R. I would like to 1-extract vector of let say January data (a vector of length 12), 2-extract the monthly means, sums (a vector of length 12). Many tahnks in advance Yours, Hamid

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread Hamid
remov. Thanks. ivan popivanov wrote: > > > Hi Hamid, > > Not sure why would you need missing data, but you can definitely generate > it:). > > > > A few random thoughts: > > First, you can generate all possible timestamps from the beginning to

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread Hamid
:08;7.017,90;7.022,94;7.017,90;7.022,23;461.801 02.05.2008 09:09;7.022,23;7.022,55;7.018,54;7.018,99;593.412 Uwe Ligges-3 wrote: > > > > Hamid wrote: >> Hi Uwe, >> yes you are right, but I just wanted to show the date format I use. The >> whole data is very huge (about 2 rows). >> >

Re: [R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-13 Thread Hamid
way to identify the missing gaps and then put the values (I think then it is not complicated to put other values instead of zero). Do you have any idea to find it out and put the values in ? Thanks in advance Hamid Uwe Ligges-3 wrote: > > > > Hamid wrote: >> Dear all, >&g

[R] Need help to complete missing value (Date and Time) in Sp500 Data

2009-12-12 Thread Hamid
Dear all, here my problem my be somone can help to solve this. I have tow timeseries from different stock market with different length (diff ca. 4000 ) Now I would to add the missing times of the one of this series with proper time (they are minute data) and set the value to 0 since I need to hav

[R] all data frame columns SUBSET

2009-02-02 Thread Hamid Hamid
)]) T[5]=max(mean(mydata[,c(1,2,3,4,5)] Many thanks in advance. Hamid __ R-help@r-project.org mailing list 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] all subset of a data frame column

2009-02-02 Thread Hamid Hamid
mean: T[1]=max(mean(mydata[,1]),...,mean(mydata[,5])) T[2]=max(mean(mydata[,c(1,2)],mean(mydata[,c(1,3)],...,mean(mydata[,c(1,5]) T[3]=max(mean(mydata[,c(1,2,3)],mean(mydata[,c(1,2,4)],...,mean(mydata[,c(3,4,5)]) T[5]=max(mean(mydata[,c(1,2,3,4,5)] Many thanks in advance. Hamid

[R] vector

2008-12-01 Thread Hamid Hamid
deriven sample of it is enough large using the following command is not helpful. newpop<-pop[-c(2,10)] One could simplify my question in this way: how we can exclude a sub vector values from a super vector value (i.e sub vecor values are subset of super vector values). Thanks in advance. Hamid

[R] exclude a vector value from another vector

2008-12-01 Thread Hamid Hamid
sample of it is enough large using the following command is not helpful. newpop<-pop[-c(2,10)] One could simplify my question in this way: how we can exclude a sub vector values from a super vector value (i.e sub vecor values are subset of super vector values). Thanks in advance. Hamid