Re: [R] CODE HELP

2018-08-02 Thread Saptorshee Kanto Chakraborty
Hello, Thank you for replying. I am sorry te codes were not attached, I did attach them but I think it got blocked due to some filters. I am pasting the link for the codes: https://github.com/zhentaoshi/convex_prog_in_econometrics/tree/master/C-Lasso/PLS_static The authors never replied I have co

Re: [R] CODE HELP

2018-08-02 Thread Eric Berger
Hi Saptorshee, Two comments: 1. no attachments made it through to the list. You probably need to include the code directly in your email, and send your email as plain text (otherwise information gets stripped) 2. for anyone interested in following up on Saptorshee's question, I searched for the pap

[R] CODE HELP

2018-08-01 Thread Saptorshee Kanto Chakraborty
Hello, I am interested to apply an econometric technique of Latent Variable framework on Environmental Kuznets Curve for 164 countries for a span of 25 years. The methodology and the code are from Simulation exercise from an unpublished paper "Two Examples of Convex-Programming-Based High-Dimens

Re: [R] R code help!

2015-09-21 Thread SH
Hi Jean, Thank you so much! Steve On Sat, Sep 19, 2015 at 1:02 PM, Adams, Jean wrote: > Here's one way to save your results, using a list of lists and a for() > loop. > > nsim <- 100 > outputs <- vector("list", nsim) > for(i in 1:nsim) { > outputs[[i]] <- sim.f(p.s=.05, N=1000, sample.size=6

Re: [R] R code help!

2015-09-19 Thread Adams, Jean
Here's one way to save your results, using a list of lists and a for() loop. nsim <- 100 outputs <- vector("list", nsim) for(i in 1:nsim) { outputs[[i]] <- sim.f(p.s=.05, N=1000, sample.size=69, n.sim=500) } Jean On Fri, Sep 18, 2015 at 2:27 PM, SH wrote: > Dear R users, > > I am trying to s

[R] R code help!

2015-09-18 Thread SH
Dear R users, I am trying to simulate surveys and the survey result will be used to determine the population to be "accepted" or "rejected". With the results, I would like to calculate cumulative means and plot them to see if a converged value is as expected. Below is R-code I generated. I need

Re: [R] Code Help

2013-12-01 Thread Rolf Turner
On 12/02/13 03:04, jeet chandvaniya wrote: Hi, sir i want help to develop code for outlier detection in r language, so help me for this. I recall that Monty Python did a skit that seems relevant here. The skit involved instructions on how to learn to play the flute and how to solve all the

[R] Code Help

2013-12-01 Thread jeet chandvaniya
Hi, sir i want help to develop code for outlier detection in r language, so help me for this. Thanks, Jitendra R Chandvaniya BE Computer,(M.TECH(Pursuing)). RK University, 9824567443 Gujarat. __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

Re: [R] R code help to change table format

2012-07-10 Thread Rui Barradas
4 2 3 3 4 4 5 5 5 5 5 -- View this message in context: http://r.789695.n4.nabble.com/R-code-help-to-change-table-format-tp4636022.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org ma

[R] R code help to change table format

2012-07-10 Thread peziza
5 5 5 -- View this message in context: http://r.789695.n4.nabble.com/R-code-help-to-change-table-format-tp4636022.html Sent from the R he

Re: [R] Code Help

2011-07-10 Thread Joshua Wiley
On Sun, Jul 10, 2011 at 12:32 PM, finguy wrote: > Am I missing a Package? I'm not sure why is won't read the functions. Any That is the implication, yes. To find out which one (though one wonders how you got this code without knowing the packages it runs on), you can use the findFn() function fr

[R] Code Help

2011-07-10 Thread finguy
Am I missing a Package? I'm not sure why is won't read the functions. Any help is much appreciated. > PData = Data[,3:10] > Spec = portfolioSpec() Error: could not find function "portfolioSpec" > setTargetReturn(Spec) = mean(colMeans(PData)) Error in setTargetReturn(Spec) = mean(colMeans(PData))

Re: [R] Reading R code help--Beginner

2010-05-12 Thread Erik Iverson
Hi, I am brand new to R and not familiar with the language, though I have been reading the manuals and making some slow going progress. I am working with some source code from a Global Vector Auto -Regressive program written by Ranier Puhr from the R-forge group. I need help interpreting the

Re: [R] Reading R code help--Beginner

2010-05-12 Thread Steve Lianoglou
Hi, On Wed, May 12, 2010 at 12:11 PM, Makada Henry wrote: > > Hi, I am brand new to R and not familiar with the language, though I > have been reading the manuals and making some slow going progress. I am > working with some source code from a Global Vector Auto -Regressive > program written by R

[R] Reading R code help--Beginner

2010-05-12 Thread Makada Henry
Hi, I am brand new to R and not familiar with the language, though I have been reading the manuals and making some slow going progress. I am working with some source code from a Global Vector Auto -Regressive program written by Ranier Puhr from the R-forge group. I need help interpreting

Re: [R] R-code help for filtering with for loop

2009-03-02 Thread David Winsemius
The apply function which can work on either a row-wise of column-wise basis can be used with max and ">" can return a logical vector that will let you separate the rows into those with and without a maximum greater than 60. > datax <- matrix(rnorm(300)*30,nrow=50) > datax <- as.data.frame(

Re: [R] R-code help for filtering with for loop

2009-03-02 Thread ONKELINX, Thierry
cht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens John Antonydas Gaspar Verzonden: maandag 2 maart 2009 11:31 Aan: r-help@r-project.org Onderwerp: [R] R-code help for filtering with for loop Dear Sir / Madam, I am new for R coding. Kindly help me out in

[R] R-code help for filtering with for loop

2009-03-02 Thread John Antonydas Gaspar
Dear Sir / Madam, I am new for R coding. Kindly help me out in sorting out the following problem. There are 50 rows with six coloumns(you could see in the attached .txt file). I wish to go for filtering this 50 rows for any one of the six coloumns satisfying the value >= 64. I need to have a fin