search for: reproducipl

Displaying 7 results from an estimated 7 matches for "reproducipl".

Did you mean: reproduciple
2017 Oct 27
0
My function and NA Values Problem
....rm=True" to the function but do not work > How can I solve this problem with this function or another algorithm? > (Note: I have normally 450 columns) > > Sincerely > Engin YILMAZ > > > apply(g1, 2, function(c) sum(c==0)) > > Rice Coke > 0 NA A simple reproduciple example always works, # create sample data df <- data.frame(a = round(runif(100) * 10), b = round(runif(100) * 10)) df[which(df[,2] == 2),2] <- NA # add NA to second column apply(df, 2, function(x) sum(x == 1, na.rm = TRUE))
2017 Oct 27
3
My function and NA Values Problem
Dear R Staff My working file is in the annex. "g1.csv" I have only 2 columns. Rice and coke. I try to execute following(below) function, but do not work. Because "Coke" value has NA values. I try to add "na.rm=True" to the function but do not work How can I solve this problem with this function or another algorithm? (Note: I have normally 450 columns) Sincerely
2017 Aug 27
0
Fwd: Find maxima of a function
...ust said, it didin?t work for a mean greater than 6 and I?m not able to reproduce your new situation. I?m really upset that you lost 4 weeks on a very easy issue (it is very long time). But if you don?t want to loose anymore, please, isolate your question from the rest of the work, create minimal reproduciple example, and let?s focus on the problematic part. I assure you that your problem will be solved faster. I could install the distr package at the end, but I?m getting another error while running your code. But I don?t believe the question is related to this package. Let me explain about extremum...
2017 Aug 27
1
Fwd: Find maxima of a function
...it didin?t work for a mean greater than 6 and I?m not able to reproduce your new situation. > > I?m really upset that you lost 4 weeks on a very easy issue (it is very long time). But if you don?t want to loose anymore, please, isolate your question from the rest of the work, create minimal reproduciple example, and let?s focus on the problematic part. I assure you that your problem will be solved faster. > > I could install the distr package at the end, but I?m getting another error while running your code. But I don?t believe the question is related to this package. > > Let me exp...
2017 Aug 26
0
Find maxima of a function
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 <niharikasinghal1990 at gmail.com> wrote: > Hi > > Thanks for you mail, > I really appreciate your time on my problem > > I have posted this problem on > > >
2017 Aug 26
1
Fwd: Find maxima of a function
...ing guide > >>>> http://www.R-project.org/posting-guide.html > >>>> and provide commented, minimal, self-contained, reproducible code. > >>>> > >>> > >> > > See the solution below if it helps. Also please, create a minimal > reproduciple example as I did. So, we can investigate easily on your real > problem. > > set.seed(1) > m <- c(506.8644, 672.8448, 829.902) > sig <- c(61.02859, 9.149168, 74.84682) > x1 <- density(rnorm(500, mean = m, sd = sig)) > plot(x1) > > fun <- splinefun(x = x1$x, y...
2017 Aug 27
2
Fwd: Find maxima of a function
---------- Forwarded message ---------- From: niharika singhal <niharikasinghal1990 at gmail.com> Date: Sun, Aug 27, 2017 at 11:57 AM Subject: Re: Find maxima of a function To: "David Winsemius [via R]" <ml+s789695n4745009h56 at n4.nabble.com>, "Ismail SEZEN [via R]" <ml+s789695n4744993h60 at n4.nabble.com>, Ulrik Stervbo <ulrik.stervbo at gmail.com>