Paul wrote:
" Is there any package besides fitdistrplus that does allow automatic
distribution fitting?"
Automatic distribution fitting can be done using Minitab.
Minitab will try and fit your dataset against 14 distributions.
It has the option of using a Box-Cox or a Johnson methods to transform the
dataset into a normal distribution.
I suspect that this is as close as you can get to an automatic distribution
fitting.
Hope this helps!
Thomas Subia
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of r-help-request
at r-project.org
Sent: Thursday, October 27, 2022 3:00 AM
To: r-help at r-project.org
Subject: R-help Digest, Vol 236, Issue 25
Send R-help mailing list submissions to
r-help at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
or, via email, send a message with subject or body 'help' to
r-help-request at r-project.org
You can reach the person managing the list at
r-help-owner at r-project.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of R-help digest..."
Today's Topics:
1. Re: unexpected 'else' in " else" (Richard O'Keefe)
2. Function for Distribution Fitting (Paul Bernal)
3. Re: Function for Distribution Fitting (JRG)
4. Re: Function for Distribution Fitting (Bert Gunter)
5. Re: Function for Distribution Fitting (Gabor Grothendieck)
6. compile report error (=?UTF-8?Q?G=C3=A1bor_Malomsoki?=)
7. Re: compile report error (Rui Barradas)
8. Re: Function for Distribution Fitting (Ebert,Timothy Aaron)
9. Re: compile report error (=?UTF-8?Q?G=C3=A1bor_Malomsoki?=)
10. Best place to ask questions about non-R Base topics, ex.
dplyr, dbplyr, etc. ? (Kelly Thompson)
11. Re: Best place to ask questions about non-R Base topics, ex.
dplyr, dbplyr, etc. ? (Jeff Newmiller)
12. Re: compile report error (=?UTF-8?Q?G=C3=A1bor_Malomsoki?=)
13. Re: Best place to ask questions about non-R Base topics, ex.
dplyr, dbplyr, etc. ? (Eric Berger)
14. Re: compile report error (Rui Barradas)
15. Color Nodes (Jeff Reichman)
16. Re: Color Nodes (Rui Barradas)
17. Re: Color Nodes (Jeff Reichman)
18. R-package imputeTS / warning messages (Paulo Barata)
19. Re: Color Nodes (Eric Berger)
----------------------------------------------------------------------
Message: 1
Date: Wed, 26 Oct 2022 23:03:30 +1300
From: "Richard O'Keefe" <raoknz at gmail.com>
To: Jinsong Zhao <jszhao at yeah.net>
Cc: "r-help at r-project.org" <r-help at r-project.org>
Subject: Re: [R] unexpected 'else' in " else"
Message-ID:
<CABcYAd+=v6FvOqi7JjK7iR5RScVdDBGZK_BASQ-z0=k6TKEyYA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
This is explained in books about S and R.
The first place to look is of course> ?"if"
which says
<quote>
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 '}' and
'else' to avoid a syntax error in entering a 'if ... else'
construct at the keyboard or via 'source'. For that reason, one
(somewhat extreme) attitude of defensive programming is to always
use braces, e.g., for 'if' clauses.
</quote>
The basic issue is that the top level wants to get started
on your command AS SOON AS IT HAS A COMPLETE COMMAND,
and if (...) stmt
is complete. It's not going to hang around "Waiting for Godot"
for an 'else' that might never ever ever turn up. So
if (x < y) z <-
x else z <- y
is absolutely fine, no braces needed, while
if (x < y) z <- x
else z <- y
will see the eager top level rush off to do your bidding
at the end of the first line and then be completely
baffled by an 'else' where it does not expect one.
It's the same reason that you break AFTER infix operators
instead of BEFORE.
x <- y +
z
works fine, while
x <- y
+ z
doesn't.
On Fri, 21 Oct 2022 at 22:29, Jinsong Zhao <jszhao at yeah.net> wrote:
> Hi there,
>
> The following code would cause R error:
>
> > w <- 1:5
> > r <- 1:5
> > if (is.matrix(r))
> + r[w != 0, , drop = FALSE]
> > else r[w != 0]
> Error: unexpected 'else' in " else"
>
> However, the code:
> if (is.matrix(r))
> r[w != 0, , drop = FALSE]
> else r[w != 0]
> is extracted from stats::weighted.residuals.
>
> My question is why the code in the function does not cause error?
>
> Best,
> Jinsong
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
>
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]
------------------------------
Message: 2
Date: Wed, 26 Oct 2022 08:41:34 -0500
From: Paul Bernal <paulbernal07 at gmail.com>
To: R <r-help at r-project.org>
Subject: [R] Function for Distribution Fitting
Message-ID:
<CAMOcQfPYVC2uTg4N6dnYfwCaUHxkTfrOnN7kC5gpD+VbHKfXYQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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 specify which probability
distribution you are trying to fit), and it would be more convenient if the
function tested all possible probability distributions (or a bunch of them)
and then estimates the parameters and suggests the most suitable
distribution.
Is there any package besides fitdistrplus that does allow automatic
distribution fitting?
Best regards,
Paul
[[alternative HTML version deleted]]
------------------------------
Message: 3
Date: Wed, 26 Oct 2022 14:01:04 +0000
From: JRG <jrg at loesl.us>
To: r-help at r-project.org
Subject: Re: [R] Function for Distribution Fitting
Message-ID: <589f6a4f-9cd6-10aa-2ce9-4e2e1686016b at loesl.us>
Content-Type: text/plain; charset="utf-8"
"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 of
the
subject matter of your problem.
Doesn't that put you back in your present situation?
---JRG
On 10/26/22 09:41, 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 dataset, I make use of R package
> fitdistrplus.
>
> However, distribution fitting using the fitdist() function from
> fitdistrplus is rather manual (you need to specify which probability
> distribution you are trying to fit), and it would be more convenient if the
> function tested all possible probability distributions (or a bunch of them)
> and then estimates the parameters and suggests the most suitable
> distribution.
>
> Is there any package besides fitdistrplus that does allow automatic
> distribution fitting?
>
> Best regards,
> Paul
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
------------------------------
Message: 4
Date: Wed, 26 Oct 2022 07:32:57 -0700
From: Bert Gunter <bgunter.4567 at gmail.com>
To: JRG <jrg at loesl.us>, Paul Bernal <paulbernal07 at gmail.com>
Cc: r-help at r-project.org
Subject: Re: [R] Function for Distribution Fitting
Message-ID:
<CAGxFJbTwtopUU6J4atF2FVHJ8D6iPYNZfT89BxN1ovgAg3QJVQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Of course it's an infinite set!
The OP should look here:
https://urldefense.com/v3/__https://cran.r-project.org/web/views/Distributions.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1bl8s0B6PY$
-- Bert
On Wed, Oct 26, 2022 at 7:01 AM JRG via R-help <r-help at r-project.org>
wrote:>
> "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
of the
> subject matter of your problem.
>
> Doesn't that put you back in your present situation?
>
>
>
> ---JRG
>
>
>
>
> On 10/26/22 09:41, 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 dataset, I make use of R package
> > fitdistrplus.
> >
> > However, distribution fitting using the fitdist() function from
> > fitdistrplus is rather manual (you need to specify which probability
> > distribution you are trying to fit), and it would be more convenient
if the
> > function tested all possible probability distributions (or a bunch of
them)
> > and then estimates the parameters and suggests the most suitable
> > distribution.
> >
> > Is there any package besides fitdistrplus that does allow automatic
> > distribution fitting?
> >
> > Best regards,
> > Paul
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> > PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> > and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
------------------------------
Message: 5
Date: Wed, 26 Oct 2022 11:02:24 -0400
From: Gabor Grothendieck <ggrothendieck at gmail.com>
To: Paul Bernal <paulbernal07 at gmail.com>
Cc: R <r-help at r-project.org>
Subject: Re: [R] Function for Distribution Fitting
Message-ID:
<CAP01uRmWws5=m69xWWx_6NnjXtir5jczXn_FeiCB-nrn7pXhkQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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 <paulbernal07 at gmail.com>
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 dataset, I make use of R package
> fitdistrplus.
>
> However, distribution fitting using the fitdist() function from
> fitdistrplus is rather manual (you need to specify which probability
> distribution you are trying to fit), and it would be more convenient if the
> function tested all possible probability distributions (or a bunch of them)
> and then estimates the parameters and suggests the most suitable
> distribution.
>
> Is there any package besides fitdistrplus that does allow automatic
> distribution fitting?
>
> Best regards,
> Paul
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
------------------------------
Message: 6
Date: Wed, 26 Oct 2022 18:51:40 +0200
From: =?UTF-8?Q?G=C3=A1bor_Malomsoki?= <gmalomsoki1980 at gmail.com>
To: r-help at r-project.org
Subject: [R] compile report error
Message-ID:
<CAEJRAFb5kHC4VvfuC0vwiK_VjiGCMwhC4DtzRrkzqA_J5MUkTA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Dear all,
Error in parse(text = x, keep.source = TRUE) :
<text>: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 punktuation mark between the quotation marks
"." .
i do not know how to solve this, because with this column name i got the
csv, and i am changing the column name in the script, not to have it so
long and avoid characters like . ? :
tomitettseg_GesNa$station_desc[tomitettseg_GesNa$station_desc
="Dichtheits.- Durchflusspr?fung M8.1"] <-"D_D_"
thanks
BR
Gabor
[[alternative HTML version deleted]]
------------------------------
Message: 7
Date: Wed, 26 Oct 2022 18:04:58 +0100
From: Rui Barradas <ruipbarradas at sapo.pt>
To: =?UTF-8?Q?G=c3=a1bor_Malomsoki?= <gmalomsoki1980 at gmail.com>,
r-help at r-project.org
Subject: Re: [R] compile report error
Message-ID: <a67121b7-d838-b2ac-117a-09b4a8ff0288 at sapo.pt>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
?s 17:51 de 26/10/2022, G?bor Malomsoki escreveu:> Dear all,
>
> Error in parse(text = x, keep.source = TRUE) :
> <text>: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 punktuation mark between the quotation marks
> "." .
> i do not know how to solve this, because with this column name i got the
> csv, and i am changing the column name in the script, not to have it so
> long and avoid characters like . ? :
> tomitettseg_GesNa$station_desc[tomitettseg_GesNa$station_desc =>
"Dichtheits.- Durchflusspr?fung M8.1"] <-"D_D_"
> thanks
>
> BR
> Gabor
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
Hello,
Can you post the output of dput(x)? Or of dput(x[10:15])?
Hope this helps,
Rui Barradas
------------------------------
Message: 8
Date: Wed, 26 Oct 2022 17:15:29 +0000
From: "Ebert,Timothy Aaron" <tebert at ufl.edu>
To: JRG <jrg at loesl.us>, "r-help at r-project.org" <r-help
at r-project.org>
Subject: Re: [R] Function for Distribution Fitting
Message-ID:
<BN6PR2201MB15535F383F033FF5E61BA31DCF309 at
BN6PR2201MB1553.namprd22.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
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 most purposes it is
better to define the distribution based on your understanding of the numbers and
how they were generated rather than trying to identify the distribution that
best matches your data. I do not know your application for this. Here is a list
of available functions in R:
https://urldefense.com/v3/__https://cran.r-project.org/web/views/Distributions.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1bl8s0B6PY$
I hope that helps, but I am not sure this is a task worth doing. If you start at
the top of the list, and stop at the first "match" that sounds a bit
like p-hacking.
Tim
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of JRG via R-help
Sent: Wednesday, October 26, 2022 10:01 AM
To: r-help at r-project.org
Subject: Re: [R] Function for Distribution Fitting
[External Email]
"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 of
the subject matter of your problem.
Doesn't that put you back in your present situation?
---JRG
On 10/26/22 09:41, 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 dataset, I make use of R package
> fitdistrplus.
>
> However, distribution fitting using the fitdist() function from
> fitdistrplus is rather manual (you need to specify which probability
> distribution you are trying to fit), and it would be more convenient
> if the function tested all possible probability distributions (or a
> bunch of them) and then estimates the parameters and suggests the most
> suitable distribution.
>
> Is there any package besides fitdistrplus that does allow automatic
> distribution fitting?
>
> Best regards,
> Paul
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://nam10.safelinks.protection.outlook.com/?url=https*3A*2F*2Fstat__;JSUl!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blh0szCV8$
> .ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=05%7C01%7Ctebert%40ufl
> .edu%7Cf7aa511782ff4d98a04908dab75aa2a0%7C0d4da0f84a314d76ace60a62331e
> 1b84%7C0%7C0%7C638023897166448945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w
> LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C
>
&sdata=XS069Wk8JxeT4piBqA5JC3vtE2vu6uS8KTp1tqDIf7c%3D&reserved
> =0 PLEASE do read the posting guide
>
https://urldefense.com/v3/__https://nam10.safelinks.protection.outlook.com/?url=http*3A*2F*2Fwww.r__;JSUl!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blxUAeODo$
> -project.org%2Fposting-guide.html&data=05%7C01%7Ctebert%40ufl.edu%
> 7Cf7aa511782ff4d98a04908dab75aa2a0%7C0d4da0f84a314d76ace60a62331e1b84%
> 7C0%7C0%7C638023897166448945%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwM
> DAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&
> sdata=FZHNApQa2raJnbAgUZ544bH91EMtjSG7Ef47dMCoo3M%3D&reserved=0
> and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://urldefense.com/v3/__https://nam10.safelinks.protection.outlook.com/?url=https*3A*2F*2Fstat.ethz.ch*2Fmailman*2Flistinfo*2Fr-help&data=05*7C01*7Ctebert*40ufl.edu*7Cf7aa511782ff4d98a04908dab75aa2a0*7C0d4da0f84a314d76ace60a62331e1b84*7C0*7C0*7C638023897166448945*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=XS069Wk8JxeT4piBqA5JC3vtE2vu6uS8KTp1tqDIf7c*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blAQYlEw4$
PLEASE do read the posting guide
https://urldefense.com/v3/__https://nam10.safelinks.protection.outlook.com/?url=http*3A*2F*2Fwww.r-project.org*2Fposting-guide.html&data=05*7C01*7Ctebert*40ufl.edu*7Cf7aa511782ff4d98a04908dab75aa2a0*7C0d4da0f84a314d76ace60a62331e1b84*7C0*7C0*7C638023897166448945*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=FZHNApQa2raJnbAgUZ544bH91EMtjSG7Ef47dMCoo3M*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSU!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blXdUdlZs$
and provide commented, minimal, self-contained, reproducible code.
------------------------------
Message: 9
Date: Wed, 26 Oct 2022 19:37:12 +0200
From: =?UTF-8?Q?G=C3=A1bor_Malomsoki?= <gmalomsoki1980 at gmail.com>
To: Rui Barradas <ruipbarradas at sapo.pt>
Cc: r-help at r-project.org
Subject: Re: [R] compile report error
Message-ID:
<CAEJRAFbP8gbftSWWzZzfi9zVy2ROBkbsqp6JEDWfipAD0+Zv7A at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello,
sure
dput(tomitettseg[10:15, c(1-8)])
structure(list(serial_number = c("3620000017126683",
"3620000017126683",
"3620000017126683", "3620000017362605",
"3620000017362605",
"3620000017362605"
), station_number = c(362060010081, 362060010081, 362060010081,
362060010081, 362060010081, 362060010081), station_desc = c("Dichtheits.-
Durchflusspr?fung M8.1",
"Dichtheits.- Durchflusspr?fung M8.1", "Dichtheits.-
Durchflusspr?fung
M8.1",
"Dichtheits.- Durchflusspr?fung M8.1", "Dichtheits.-
Durchflusspr?fung
M8.1",
"Dichtheits.- Durchflusspr?fung M8.1"), part_number = c(40005935L,
40005935L, 40005935L, 40005935L, 40005935L, 40005935L), book_date
c("2019-01-15 07:49:58.467000000",
"2019-01-15 07:49:58.467000000", "2019-01-15
07:49:58.467000000",
"2019-01-15 07:58:18.403000000", "2019-01-15
07:58:18.403000000",
"2019-01-15 07:58:18.403000000"), measure_name = c("BlowBy
(BlowBy)
Leckrate",
"BlowBy (BlowBy) Druck", "GESnA (GESnA) Leckrate",
"BlowBy (BlowBy)
Leckrate",
"BlowBy (BlowBy) Druck", "GESnA (GESnA) Leckrate"),
book_state = c(0L,
0L, 0L, 0L, 0L, 0L)), row.names = 10:15, class = "data.frame")
Am Mi., 26. Okt. 2022 um 19:05 Uhr schrieb Rui Barradas <
ruipbarradas at sapo.pt>:
> ?s 17:51 de 26/10/2022, G?bor Malomsoki escreveu:
> > Dear all,
> >
> > Error in parse(text = x, keep.source = TRUE) :
> > <text>: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 punktuation mark between the quotation
> marks
> > "." .
> > i do not know how to solve this, because with this column name i got
the
> > csv, and i am changing the column name in the script, not to have it
so
> > long and avoid characters like . ? :
> > tomitettseg_GesNa$station_desc[tomitettseg_GesNa$station_desc =>
> "Dichtheits.- Durchflusspr?fung M8.1"] <-"D_D_"
> > thanks
> >
> > BR
> > Gabor
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> > PLEASE do read the posting guide
>
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> > and provide commented, minimal, self-contained, reproducible code.
>
> Hello,
>
> Can you post the output of dput(x)? Or of dput(x[10:15])?
>
> Hope this helps,
>
> Rui Barradas
>
[[alternative HTML version deleted]]
------------------------------
Message: 10
Date: Wed, 26 Oct 2022 14:09:58 -0400
From: Kelly Thompson <kt1572757 at gmail.com>
To: R-help Mailing List <r-help at r-project.org>
Subject: [R] Best place to ask questions about non-R Base topics, ex.
dplyr, dbplyr, etc. ?
Message-ID:
<CAHfBD2e0u86_Wg9-zrmiSWEL9kCPOitkqyeCn2US65YMCO5nJw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
------------------------------
Message: 11
Date: Wed, 26 Oct 2022 12:12:18 -0700
From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
To: r-help at r-project.org, Kelly Thompson <kt1572757 at gmail.com>,
R-help
Mailing List <r-help at r-project.org>
Subject: Re: [R] Best place to ask questions about non-R Base topics,
ex. dplyr, dbplyr, etc. ?
Message-ID: <0BA1A178-2879-4B2E-AD4F-8DE6101D6C31 at dcn.davis.ca.us>
Content-Type: text/plain; charset="utf-8"
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://urldefense.com/v3/__https://cran.r-project.org/package=dplyr__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1bl3Lpp4pw$
On October 26, 2022 11:09:58 AM PDT, Kelly Thompson <kt1572757 at
gmail.com> wrote:>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
>PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
>and provide commented, minimal, self-contained, reproducible code.
--
Sent from my phone. Please excuse my brevity.
------------------------------
Message: 12
Date: Wed, 26 Oct 2022 21:19:12 +0200
From: =?UTF-8?Q?G=C3=A1bor_Malomsoki?= <gmalomsoki1980 at gmail.com>
To: Rui Barradas <ruipbarradas at sapo.pt>
Cc: r-help at r-project.org
Subject: Re: [R] compile report error
Message-ID:
<CAEJRAFac0f+sKHMbH-k7uBkk2Na22OfBgTgwULM2WQRwJFMf2w at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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 <gmalomsoki1980 at gmail.com> schrieb am Mi., 26. Okt.
2022,
19:37:
> Hello,
>
> sure
> dput(tomitettseg[10:15, c(1-8)])
>
> structure(list(serial_number = c("3620000017126683",
"3620000017126683",
> "3620000017126683", "3620000017362605",
"3620000017362605",
> "3620000017362605"
> ), station_number = c(362060010081, 362060010081, 362060010081,
> 362060010081, 362060010081, 362060010081), station_desc =
c("Dichtheits.-
> Durchflusspr?fung M8.1",
> "Dichtheits.- Durchflusspr?fung M8.1", "Dichtheits.-
Durchflusspr?fung
> M8.1",
> "Dichtheits.- Durchflusspr?fung M8.1", "Dichtheits.-
Durchflusspr?fung
> M8.1",
> "Dichtheits.- Durchflusspr?fung M8.1"), part_number =
c(40005935L,
> 40005935L, 40005935L, 40005935L, 40005935L, 40005935L), book_date >
c("2019-01-15 07:49:58.467000000",
> "2019-01-15 07:49:58.467000000", "2019-01-15
07:49:58.467000000",
> "2019-01-15 07:58:18.403000000", "2019-01-15
07:58:18.403000000",
> "2019-01-15 07:58:18.403000000"), measure_name = c("BlowBy
(BlowBy)
> Leckrate",
> "BlowBy (BlowBy) Druck", "GESnA (GESnA) Leckrate",
"BlowBy (BlowBy)
> Leckrate",
> "BlowBy (BlowBy) Druck", "GESnA (GESnA) Leckrate"),
book_state = c(0L,
> 0L, 0L, 0L, 0L, 0L)), row.names = 10:15, class = "data.frame")
>
>
>
> Am Mi., 26. Okt. 2022 um 19:05 Uhr schrieb Rui Barradas <
> ruipbarradas at sapo.pt>:
>
>> ?s 17:51 de 26/10/2022, G?bor Malomsoki escreveu:
>> > Dear all,
>> >
>> > Error in parse(text = x, keep.source = TRUE) :
>> > <text>: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 punktuation mark between the
quotation
>> marks
>> > "." .
>> > i do not know how to solve this, because with this column name i
got the
>> > csv, and i am changing the column name in the script, not to have
it so
>> > long and avoid characters like . ? :
>> > tomitettseg_GesNa$station_desc[tomitettseg_GesNa$station_desc
=>> > "Dichtheits.- Durchflusspr?fung M8.1"]
<-"D_D_"
>> > thanks
>> >
>> > BR
>> > Gabor
>> >
>> > [[alternative HTML version deleted]]
>> >
>> > ______________________________________________
>> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more,
see
>> >
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
>> > PLEASE do read the posting guide
>>
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
>> > and provide commented, minimal, self-contained, reproducible code.
>>
>> Hello,
>>
>> Can you post the output of dput(x)? Or of dput(x[10:15])?
>>
>> Hope this helps,
>>
>> Rui Barradas
>>
>
[[alternative HTML version deleted]]
------------------------------
Message: 13
Date: Wed, 26 Oct 2022 22:39:01 +0300
From: Eric Berger <ericjberger at gmail.com>
To: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
Cc: Kelly Thompson <kt1572757 at gmail.com>, R-help Mailing List
<r-help at r-project.org>
Subject: Re: [R] Best place to ask questions about non-R Base topics,
ex. dplyr, dbplyr, etc. ?
Message-ID:
<CAGgJW76-TSEiM5m=dz7q_s_CHc3XT5uzGA7MGSVBei=Wk3J0FA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Also, since your examples were dplyr and dbplyr which are associated
with RStudio.com (aka Posit) you might also try
https://urldefense.com/v3/__https://community.rstudio.com__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blLxzA2cc$
You can apply filters on that site to narrow the results
On Wed, Oct 26, 2022 at 10:12 PM Jeff Newmiller
<jdnewmil at dcn.davis.ca.us> wrote:>
> 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://urldefense.com/v3/__https://cran.r-project.org/package=dplyr__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1bl3Lpp4pw$
>
> On October 26, 2022 11:09:58 AM PDT, Kelly Thompson <kt1572757 at
gmail.com> wrote:
> >
> >______________________________________________
> >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
>https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> >PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> >and provide commented, minimal, self-contained, reproducible code.
>
> --
> Sent from my phone. Please excuse my brevity.
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
------------------------------
Message: 14
Date: Wed, 26 Oct 2022 21:08:09 +0100
From: Rui Barradas <ruipbarradas at sapo.pt>
To: =?UTF-8?Q?G=c3=a1bor_Malomsoki?= <gmalomsoki1980 at gmail.com>
Cc: r-help at r-project.org
Subject: Re: [R] compile report error
Message-ID: <f868fccd-0444-9929-2e63-9ed2214d27d8 at sapo.pt>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
?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 <gmalomsoki1980 at gmail.com> schrieb am Mi., 26.
Okt. 2022,
> 19:37:
>
>> Hello,
>>
>> sure
>> dput(tomitettseg[10:15, c(1-8)])
>>
>> structure(list(serial_number = c("3620000017126683",
"3620000017126683",
>> "3620000017126683", "3620000017362605",
"3620000017362605",
>> "3620000017362605"
>> ), station_number = c(362060010081, 362060010081, 362060010081,
>> 362060010081, 362060010081, 362060010081), station_desc =
c("Dichtheits.-
>> Durchflusspr?fung M8.1",
>> "Dichtheits.- Durchflusspr?fung M8.1", "Dichtheits.-
Durchflusspr?fung
>> M8.1",
>> "Dichtheits.- Durchflusspr?fung M8.1", "Dichtheits.-
Durchflusspr?fung
>> M8.1",
>> "Dichtheits.- Durchflusspr?fung M8.1"), part_number =
c(40005935L,
>> 40005935L, 40005935L, 40005935L, 40005935L, 40005935L), book_date
>> c("2019-01-15 07:49:58.467000000",
>> "2019-01-15 07:49:58.467000000", "2019-01-15
07:49:58.467000000",
>> "2019-01-15 07:58:18.403000000", "2019-01-15
07:58:18.403000000",
>> "2019-01-15 07:58:18.403000000"), measure_name =
c("BlowBy (BlowBy)
>> Leckrate",
>> "BlowBy (BlowBy) Druck", "GESnA (GESnA) Leckrate",
"BlowBy (BlowBy)
>> Leckrate",
>> "BlowBy (BlowBy) Druck", "GESnA (GESnA) Leckrate"),
book_state = c(0L,
>> 0L, 0L, 0L, 0L, 0L)), row.names = 10:15, class =
"data.frame")
>>
>>
>>
>> Am Mi., 26. Okt. 2022 um 19:05 Uhr schrieb Rui Barradas <
>> ruipbarradas at sapo.pt>:
>>
>>> ?s 17:51 de 26/10/2022, G?bor Malomsoki escreveu:
>>>> Dear all,
>>>>
>>>> Error in parse(text = x, keep.source = TRUE) :
>>>> <text>: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 punktuation mark between the
quotation
>>> marks
>>>> "." .
>>>> i do not know how to solve this, because with this column name
i got the
>>>> csv, and i am changing the column name in the script, not to
have it so
>>>> long and avoid characters like . ? :
>>>>
tomitettseg_GesNa$station_desc[tomitettseg_GesNa$station_desc =>>>>
"Dichtheits.- Durchflusspr?fung M8.1"] <-"D_D_"
>>>> thanks
>>>>
>>>> BR
>>>> Gabor
>>>>
>>>> [[alternative HTML version deleted]]
>>>>
>>>> ______________________________________________
>>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and
more, see
>>>>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
>>>> PLEASE do read the posting guide
>>>
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
>>>> and provide commented, minimal, self-contained, reproducible
code.
>>>
>>> Hello,
>>>
>>> Can you post the output of dput(x)? Or of dput(x[10:15])?
>>>
>>> Hope this helps,
>>>
>>> Rui Barradas
>>>
>>
>
Hello,
Are you looking for this?
df1 <-
structure(list(
serial_number = c("3620000017126683",
"3620000017126683",
"3620000017126683",
"3620000017362605",
"3620000017362605",
"3620000017362605"),
station_number = c(362060010081, 362060010081, 362060010081,
362060010081, 362060010081, 362060010081),
station_desc = c("Dichtheits.- Durchflusspr?fung M8.1",
"Dichtheits.- Durchflusspr?fung M8.1",
"Dichtheits.- Durchflusspr?fung M8.1",
"Dichtheits.- Durchflusspr?fung M8.1",
"Dichtheits.- Durchflusspr?fung M8.1",
"Dichtheits.- Durchflusspr?fung M8.1"),
part_number = c(40005935L, 40005935L, 40005935L, 40005935L,
40005935L, 40005935L),
book_date = c("2019-01-15 07:49:58.467000000", "2019-01-15
07:49:58.467000000",
"2019-01-15 07:49:58.467000000", "2019-01-15
07:58:18.403000000",
"2019-01-15 07:58:18.403000000", "2019-01-15
07:58:18.403000000"),
measure_name = c("BlowBy (BlowBy) Leckrate", "BlowBy
(BlowBy) Druck",
"GESnA (GESnA) Leckrate", "BlowBy (BlowBy)
Leckrate",
"BlowBy (BlowBy) Druck", "GESnA (GESnA)
Leckrate"),
book_state = c(0L,0L, 0L, 0L, 0L, 0L)),
row.names = 10:15, class = "data.frame")
parse(text = df1, keep.source = TRUE)
#> expression(c("3620000017126683", "3620000017126683",
"3620000017126683", "3620000017362605",
"3620000017362605",
"3620000017362605"),
#> c(362060010081, 362060010081, 362060010081, 362060010081,
362060010081, 362060010081),
#> c("Dichtheits.- Durchflusspr?fung M8.1", "Dichtheits.-
Durchflusspr?fung M8.1", "Dichtheits.- Durchflusspr?fung M8.1",
"Dichtheits.- Durchflusspr?fung M8.1", "Dichtheits.-
Durchflusspr?fung
M8.1", "Dichtheits.- Durchflusspr?fung M8.1"),
#> c(40005935, 40005935, 40005935, 40005935, 40005935, 40005935),
#> c("2019-01-15 07:49:58.467000000", "2019-01-15
07:49:58.467000000", "2019-01-15 07:49:58.467000000",
"2019-01-15
07:58:18.403000000", "2019-01-15 07:58:18.403000000",
"2019-01-15
07:58:18.403000000"),
#> c("BlowBy (BlowBy) Leckrate", "BlowBy (BlowBy)
Druck", "GESnA
(GESnA) Leckrate", "BlowBy (BlowBy) Leckrate", "BlowBy
(BlowBy) Druck",
"GESnA (GESnA) Leckrate"),
#> c(0, 0, 0, 0, 0, 0))
No errors, outputs an object of class "expression", as expected.
But I had to edit manually to remove the newline characters that came
with it.
Hope this helps,
Rui Barradas
------------------------------
Message: 15
Date: Wed, 26 Oct 2022 15:37:09 -0500
From: "Jeff Reichman" <reichmanj at sbcglobal.net>
To: <R-help at r-project.org>
Subject: [R] Color Nodes
Message-ID: <008b01d8e97a$b919d730$2b4d8590$@sbcglobal.net>
Content-Type: text/plain; charset="utf-8"
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??
Jeff
library(igraph)
# define links in data
edges <- rbind(c("Dave", "Jenny"), c("Peter",
"Jenny"), c("John", "Jenny"),
c("Dave", "Peter"), c("Dave", "John"),
c("Peter", "Sam"), c("Sam",
"Albert"), c("Peter", "John"))
# generate and plot graph
# set argument directed = FALSE in graph.edgelist() to plot an undirected
graph.
g <- graph.edgelist(edges, directed = FALSE)
plot(g, vertex.size = 1, vertex.label.dist = 0.5)
[[alternative HTML version deleted]]
------------------------------
Message: 16
Date: Wed, 26 Oct 2022 22:39:55 +0100
From: Rui Barradas <ruipbarradas at sapo.pt>
To: reichmanj at sbcglobal.net, R-help at r-project.org
Subject: Re: [R] Color Nodes
Message-ID: <e536cd35-3bcd-01e5-e995-72336e7bab7e at sapo.pt>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
?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 I might create an attribute column - maybe??
>
>
>
> Jeff
>
>
>
> library(igraph)
>
>
>
> # define links in data
>
> edges <- rbind(c("Dave", "Jenny"),
c("Peter", "Jenny"), c("John", "Jenny"),
> c("Dave", "Peter"), c("Dave",
"John"), c("Peter", "Sam"), c("Sam",
> "Albert"), c("Peter", "John"))
>
>
>
> # generate and plot graph
>
> # set argument directed = FALSE in graph.edgelist() to plot an undirected
> graph.
>
> g <- graph.edgelist(edges, directed = FALSE)
>
> plot(g, vertex.size = 1, vertex.label.dist = 0.5)
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
Hello,
After creating the graph, set the vertices colors by subsetting V(g).
Here are two exaples, the first color Peter red and leave the others
with their default color. The second, color the other vertices blue.
V(g)["Peter"]$color <- "red"
plot(g, vertex.size = 20, vertex.label.dist = 0.5,
vertex.color = V(g)$color)
V(g)$color <- "blue"
V(g)["Peter"]$color <- "red"
plot(g, vertex.size = 20, vertex.label.dist = 0.5,
vertex.color = V(g)$color)
Hope this helps,
Rui Barradas
------------------------------
Message: 17
Date: Wed, 26 Oct 2022 17:51:20 -0500
From: "Jeff Reichman" <reichmanj at sbcglobal.net>
To: "'Rui Barradas'" <ruipbarradas at sapo.pt>,
<R-help at r-project.org>
Subject: Re: [R] Color Nodes
Message-ID: <013c01d8e98d$77e422d0$67ac6870$@sbcglobal.net>
Content-Type: text/plain; charset="utf-8"
Yes Rui that will work for my needs thank you
-----Original Message-----
From: Rui Barradas <ruipbarradas at sapo.pt>
Sent: Wednesday, October 26, 2022 4:40 PM
To: reichmanj at sbcglobal.net; R-help at r-project.org
Subject: Re: [R] Color Nodes
?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 I might create an attribute column - maybe??
>
>
>
> Jeff
>
>
>
> library(igraph)
>
>
>
> # define links in data
>
> edges <- rbind(c("Dave", "Jenny"),
c("Peter", "Jenny"), c("John",
> "Jenny"), c("Dave", "Peter"),
c("Dave", "John"), c("Peter", "Sam"),
> c("Sam", "Albert"), c("Peter",
"John"))
>
>
>
> # generate and plot graph
>
> # set argument directed = FALSE in graph.edgelist() to plot an
> undirected graph.
>
> g <- graph.edgelist(edges, directed = FALSE)
>
> plot(g, vertex.size = 1, vertex.label.dist = 0.5)
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
>
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
Hello,
After creating the graph, set the vertices colors by subsetting V(g).
Here are two exaples, the first color Peter red and leave the others with their
default color. The second, color the other vertices blue.
V(g)["Peter"]$color <- "red"
plot(g, vertex.size = 20, vertex.label.dist = 0.5,
vertex.color = V(g)$color)
V(g)$color <- "blue"
V(g)["Peter"]$color <- "red"
plot(g, vertex.size = 20, vertex.label.dist = 0.5,
vertex.color = V(g)$color)
Hope this helps,
Rui Barradas
------------------------------
Message: 18
Date: Wed, 26 Oct 2022 11:27:54 -0300
From: Paulo Barata <pb at infolink.com.br>
To: r-help at r-project.org
Subject: [R] R-package imputeTS / warning messages
Message-ID: <a50e3024-bebe-1648-3a96-7c425ca7cc09 at infolink.com.br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
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: ABNORMAL_TERMINATION_IN_LNSRCH?
The function StructTS is called by the function na_kalman of the
imputeTS package.
In one run of my program, in 600 calls to the na_kalman function (in
bootstrap calculations), I've got 15 warning messages like that.
Would someone please tell me about the implications of such a message?
To my eyes, the imputation results I am getting look perfectly acceptable.
Thank you very much.
Paulo Barata
(Rio de Janeiro - Brazil)
------------------------------
Message: 19
Date: Thu, 27 Oct 2022 10:48:43 +0300
From: Eric Berger <ericjberger at gmail.com>
To: reichmanj at sbcglobal.net
Cc: Rui Barradas <ruipbarradas at sapo.pt>, R-help at r-project.org
Subject: Re: [R] Color Nodes
Message-ID:
<CAGgJW77yWeUXU5c4QDCYHB8iUxuDOEAnN5wG5g4YcyGCUCNeOA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
You may want to change the color of the vertex labels. e.g.
plot(g, vertex.size = 20, vertex.label.dist = 0.5,
vertex.color = V(g)$color, vertex.label.color="cyan")
On Thu, Oct 27, 2022 at 1:52 AM Jeff Reichman <reichmanj at sbcglobal.net>
wrote:>
> Yes Rui that will work for my needs thank you
>
> -----Original Message-----
> From: Rui Barradas <ruipbarradas at sapo.pt>
> Sent: Wednesday, October 26, 2022 4:40 PM
> To: reichmanj at sbcglobal.net; R-help at r-project.org
> Subject: Re: [R] Color Nodes
>
> ?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 I might create an attribute column -
maybe??
> >
> >
> >
> > Jeff
> >
> >
> >
> > library(igraph)
> >
> >
> >
> > # define links in data
> >
> > edges <- rbind(c("Dave", "Jenny"),
c("Peter", "Jenny"), c("John",
> > "Jenny"), c("Dave", "Peter"),
c("Dave", "John"), c("Peter", "Sam"),
> > c("Sam", "Albert"), c("Peter",
"John"))
> >
> >
> >
> > # generate and plot graph
> >
> > # set argument directed = FALSE in graph.edgelist() to plot an
> > undirected graph.
> >
> > g <- graph.edgelist(edges, directed = FALSE)
> >
> > plot(g, vertex.size = 1, vertex.label.dist = 0.5)
> >
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> > PLEASE do read the posting guide
> >
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> > and provide commented, minimal, self-contained, reproducible code.
>
> Hello,
>
> After creating the graph, set the vertices colors by subsetting V(g).
> Here are two exaples, the first color Peter red and leave the others with
their default color. The second, color the other vertices blue.
>
>
>
> V(g)["Peter"]$color <- "red"
>
> plot(g, vertex.size = 20, vertex.label.dist = 0.5,
> vertex.color = V(g)$color)
>
> V(g)$color <- "blue"
> V(g)["Peter"]$color <- "red"
> plot(g, vertex.size = 20, vertex.label.dist = 0.5,
> vertex.color = V(g)$color)
>
>
>
> Hope this helps,
>
> Rui Barradas
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
> PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
> and provide commented, minimal, self-contained, reproducible code.
------------------------------
Subject: Digest Footer
_______________________________________________
R-help at r-project.org mailing list
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-help__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blniVg28s$
PLEASE do read the posting guide
https://urldefense.com/v3/__http://www.R-project.org/posting-guide.html__;!!NX4bS6ECB6Pv!58HVkevfq5zfBsZ-2SRH07K3Plt5jMiaOZESF0m5ISL6OEQ6tVLVvrxTtICUro1_0hb0FfINk_O3DRlbb69V3tZbX1blpzSZVpU$
and provide commented, minimal, self-contained, reproducible code.
------------------------------
End of R-help Digest, Vol 236, Issue 25
***************************************