[R] R-package imputeTS / warning messages

2022-10-26 Thread Paulo Barata
Dear colleagues, For data imputation in time series, I am using the R-package imputeTS, using its funcion na_kalman. For some calls to that funcion, I get the following warning message: In stats::StructTS(data, ...) : possible convergence problem: 'optim' gave code = 52 and message ‘ERROR

Re: [R] Color Nodes

2022-10-26 Thread Jeff Reichman
Yes Rui that will work for my needs thank you -Original Message- From: Rui Barradas Sent: Wednesday, October 26, 2022 4:40 PM To: reichm...@sbcglobal.net; R-help@r-project.org Subject: Re: [R] Color Nodes Às 21:37 de 26/10/2022, Jeff Reichman escreveu: > R-Help > > > > For those of

Re: [R] Color Nodes

2022-10-26 Thread Rui Barradas
Às 21:37 de 26/10/2022, Jeff Reichman escreveu: R-Help For those of you who use igraph is there a way to highlight (color) particular notes. For example if I want to color the "Peter" node red and everything else blue or leave default) how would I do that or can I do that. Seems as though

[R] Color Nodes

2022-10-26 Thread Jeff Reichman
R-Help For those of you who use igraph is there a way to highlight (color) particular notes. For example if I want to color the "Peter" node red and everything else blue or leave default) how would I do that or can I do that. Seems as though I might create an attribute column - maybe?? Jef

Re: [R] compile report error

2022-10-26 Thread Rui Barradas
Às 20:19 de 26/10/2022, Gábor Malomsoki escreveu: If i change the column name: "Dichtheits.- Durchflussprüfung M8.1" In the csv to something else, like "x" then it works, but this is not the elegant solution. Gábor Malomsoki schrieb am Mi., 26. Okt. 2022, 19:37: Hello, sure dput(tomitettseg

Re: [R] Best place to ask questions about non-R Base topics, ex. dplyr, dbplyr, etc. ?

2022-10-26 Thread Eric Berger
Also, since your examples were dplyr and dbplyr which are associated with RStudio.com (aka Posit) you might also try https://community.rstudio.com You can apply filters on that site to narrow the results On Wed, Oct 26, 2022 at 10:12 PM Jeff Newmiller wrote: > > The general recommendation is

Re: [R] compile report error

2022-10-26 Thread Gábor Malomsoki
If i change the column name: "Dichtheits.- Durchflussprüfung M8.1" In the csv to something else, like "x" then it works, but this is not the elegant solution. Gábor Malomsoki schrieb am Mi., 26. Okt. 2022, 19:37: > Hello, > > sure > dput(tomitettseg[10:15, c(1-8)]) > > structure(list(serial_num

Re: [R] Best place to ask questions about non-R Base topics, ex. dplyr, dbplyr, etc. ?

2022-10-26 Thread Jeff Newmiller
The general recommendation is to consult the contributed package web page on CRAN for a URL entry or other recommendation for support, e.g. [1]. Other forums include StackExchange for theory and StackOverflow for computing, and there are several sub-reddits on Reddit related to R. [1] https://c

[R] Best place to ask questions about non-R Base topics, ex. dplyr, dbplyr, etc. ?

2022-10-26 Thread Kelly Thompson
__ 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 guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible c

Re: [R] compile report error

2022-10-26 Thread Gábor Malomsoki
Hello, sure dput(tomitettseg[10:15, c(1-8)]) structure(list(serial_number = c("362017126683", "362017126683", "362017126683", "362017362605", "362017362605", "362017362605" ), station_number = c(362060010081, 362060010081, 362060010081, 362060010081, 362060010081, 36206001

Re: [R] Function for Distribution Fitting

2022-10-26 Thread Ebert,Timothy Aaron
If you have three values, then it should be possible to fit any number of distributions such that they could return those three values. On the other hand, if you have billions of values and insist on a perfect fit then you may have a unique distribution only identified by the data in hand. For m

Re: [R] compile report error

2022-10-26 Thread Rui Barradas
Às 17:51 de 26/10/2022, Gábor Malomsoki escreveu: Dear all, Error in parse(text = x, keep.source = TRUE) : :13:66: unexpected INCOMPLETE_STRING 12: 13: tomitettseg_GesNa$station_desc[tomitettseg_GesNa$station_desc == "Dichtheits.- Durchflusspr i get this error message when i try to compile

[R] compile report error

2022-10-26 Thread Gábor Malomsoki
Dear all, Error in parse(text = x, keep.source = TRUE) : :13:66: unexpected INCOMPLETE_STRING 12: 13: tomitettseg_GesNa$station_desc[tomitettseg_GesNa$station_desc == "Dichtheits.- Durchflusspr i get this error message when i try to compile the report. i think this is because of the punktuatio

Re: [R] Function for Distribution Fitting

2022-10-26 Thread Gabor Grothendieck
A Cullen & Frey graph (fitdistrplus::descdist) can be used to compare certain common distributions. On Wed, Oct 26, 2022 at 9:42 AM Paul Bernal wrote: > > Dear friends from the R community, > > Hope you are all doing great. So far, whenever I need to perform > distribution fitting on a particular

Re: [R] Function for Distribution Fitting

2022-10-26 Thread Bert Gunter
Of course it's an infinite set! The OP should look here: https://cran.r-project.org/web/views/Distributions.html -- Bert On Wed, Oct 26, 2022 at 7:01 AM JRG via R-help wrote: > > "all possible probability distributions" > > I doubt that is a finite set. To select "a bunch of them" would seem t

Re: [R] Function for Distribution Fitting

2022-10-26 Thread JRG via R-help
"all possible probability distributions" I doubt that is a finite set. To select "a bunch of them" would seem to imply a reduction of that set based on what's possible/promising/pertinent in your specific problem. IMHO, what's the "most suitable distribution" tends to depend partly on knowledge

[R] Function for Distribution Fitting

2022-10-26 Thread Paul Bernal
Dear friends from the R community, Hope you are all doing great. So far, whenever I need to perform distribution fitting on a particular dataset, I make use of R package fitdistrplus. However, distribution fitting using the fitdist() function from fitdistrplus is rather manual (you need to specif

Re: [R] unexpected 'else' in " else"

2022-10-26 Thread Richard O'Keefe
This is explained in books about S and R. The first place to look is of course > ?"if" which says Note that it is a common mistake to forget to put braces ('{ .. }') around your statements, e.g., after 'if(..)' or 'for()'. In particular, you should not have a newline between '}'

Re: [R] cannot print a list with cat

2022-10-26 Thread Richard O'Keefe
\n is for TERMINATING lines. Just like in C, C++, Java, C#, Python, Ruby, Erlang, pretty much everything that uses \n in strings at all. sprintf("gradtol = %e\n", mycontrol$gradtol) makes sense. More generally, sprintf() takes as many arguments as you care to give it, so cat(sprintf("tol = %e\nr