[R] "Time Series Plotting"

2017-10-10 Thread niharika singhal
13536 3 14335 3 14638 3 25363 3 18511 2 18371 2 14555 3 I am able to plot time series by:- Data.energy<- ts(Data$ Energy, frequency=1) plot(Data.energy) How should I add the color effect based on the sequence column value? Thanks & Regards Niharika

[R] How to use depmix for HMM with intial parameters

2017-09-20 Thread niharika singhal
solve this problem, by giving the parameters defined above? Thanks & Regards Niharika Singhal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-

[R] "Improvement with the R code"

2017-08-28 Thread niharika singhal
Hello, I am trying to implement a formula aij= transition from state S_i to S_j/no of transition at state S_i Code I have written is working with three state {1,2,3 }, but if the number of states become={1,2,3,4,..n} then the code will not work, so can some help me with this. For and

[R] Fwd: Find maxima of a function

2017-08-27 Thread niharika singhal
-- Forwarded message -- From: niharika singhal <niharikasinghal1...@gmail.com> Date: Sun, Aug 27, 2017 at 11:57 AM Subject: Re: Find maxima of a function To: "David Winsemius [via R]" <ml+s789695n4745009...@n4.nabble.com>, "Ismail SEZEN [via R]" <

[R] Fwd: Find maxima of a function

2017-08-26 Thread niharika singhal
gt;> wrote: > > > > Please keep the list in cc. > > > > Sorry, it didn't work as expected. Maybe someone else have an > appropriate > > solution. > > > > Best, > > Ulrik > > > > On Sa., 26. Aug. 2017, 12:57 niharika singhal <[hidden emai

[R] Find maxima of a function

2017-08-26 Thread niharika singhal
general some common solution, which would work on all the cases, is needed.Can someone suggest me how can I achieve this Thanks in advance Niharika Singhal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCR

[R] Problem in optimization of Gaussian Mixture model

2017-08-24 Thread niharika singhal
(Norm(506.8644,61.02859),Norm(672.8448,9.149168),Norm( 829.902,74.84682), mixCoeff=mc0/sum(mc0)) plot(rv, to.draw.arg="d") Can someone please help how I can solve this problem? Thanks & Regards Niharika Singhal [[alternative HTML version deleted]]

[R] Rounding of problem with sum command in R

2017-08-22 Thread niharika singhal
it effect my code further Can anyone suggest how can i avoid this. Thanks & Regards Niharika Singhal [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/list

[R] Problem in retrieving list parameters

2017-08-11 Thread niharika singhal
Hello, I am having some problem in retrieving the list elements Code Mean_of_mc is a list as described below mean_mc_1 mean_mc_2 mean_mc_3 mean_mc 0.9577246 2.000516 2.962521 mean_mc 7.957725 9.000516 9.962521 optim(par=c(lVal=2, mu=Mean_of_mc), fn=xnorm,

[R] "Help On optim"

2017-08-10 Thread niharika singhal
Hello, I have some parameters from Mclust function. The parameters are in the form *parametersDf * * mu_1 mu_2 var_mc1var_mc2c1 c2* *2 1.357283 2.962736 0.4661540.1320129 0.5258975 0.4741025 * *21 8.357283