Re: [R] Help with package EasyPubmed

2021-08-04 Thread David Winsemius



> On Aug 3, 2021, at 11:20 AM, bharat rawlley via R-help  
> wrote:
> 
> Hello, 
> When I try to run the following code using the package Easypubmed, I get a 
> null result - 
>> batch_pubmed_download(query_7)
> NULL
> #query_7 <- "Cardiology AND randomizedcontrolledtrial[Filter] AND 2011[PDAT]"
> However, the exact same search string yields 668 results on Pubmed. 

Did you try with: 
'Cardiology AND "randomized controlled trial"[Filter] AND 2011[PDAT]'

DAVID.

> 
> 
> I am unable to figure out why this is happening. If I use the search string 
> "Cardiology AND 2011[PDAT]" then it works just fine. 
> Any help would be greatly appreciated
> Thank you! 
> 
>   [[alternative HTML version deleted]]
> 
> __
> 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 code.

__
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 code.


Re: [R] How to ignore outliers in a boxplot

2021-08-04 Thread Neha gupta
Thanks a lot Sir

Yes, that's what I was looking for.

Warm regards

On Wed, Aug 4, 2021 at 4:01 PM Rui Barradas  wrote:

> Hello,
>
> I'm not sure whether you are looking for argument range:
>
>
> boxplot(var, range = 0)
>
>
> 14 is now part of the whiskers, see ?boxplot.
>
> Hope this helps,
>
> Rui Barradas
>
> Às 14:51 de 04/08/21, Neha gupta escreveu:
> > Hi
> >
> > I have values like:
> >
> > var= c(0, 0, 0,0, 0, 14, 0, 14, 0, 2, 3)
> >
> > I want to show these values in a boxplot
> >
> > boxplot (var)
> >
> > However, the boxplot shows only the zero values and the value till 14 are
> > shown as outliers.. I want to show all my values as boxplot, can I do
> that?
> >
> > If I use outline=F, it excludes all the outliers.
> >
> >   [[alternative HTML version deleted]]
> >
> > __
> > 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 code.
> >
>

[[alternative HTML version deleted]]

__
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 code.


Re: [R] How to ignore outliers in a boxplot

2021-08-04 Thread Rui Barradas

Hello,

I'm not sure whether you are looking for argument range:


boxplot(var, range = 0)


14 is now part of the whiskers, see ?boxplot.

Hope this helps,

Rui Barradas

Às 14:51 de 04/08/21, Neha gupta escreveu:

Hi

I have values like:

var= c(0, 0, 0,0, 0, 14, 0, 14, 0, 2, 3)

I want to show these values in a boxplot

boxplot (var)

However, the boxplot shows only the zero values and the value till 14 are
shown as outliers.. I want to show all my values as boxplot, can I do that?

If I use outline=F, it excludes all the outliers.

[[alternative HTML version deleted]]

__
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 code.



__
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 code.


[R] How to ignore outliers in a boxplot

2021-08-04 Thread Neha gupta
Hi

I have values like:

var= c(0, 0, 0,0, 0, 14, 0, 14, 0, 2, 3)

I want to show these values in a boxplot

boxplot (var)

However, the boxplot shows only the zero values and the value till 14 are
shown as outliers.. I want to show all my values as boxplot, can I do that?

If I use outline=F, it excludes all the outliers.

[[alternative HTML version deleted]]

__
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 code.


Re: [R] What are the pros and cons of the log.p parameter in (p|q)norm and similar?

2021-08-04 Thread matthias-gondan
Response to 1You need the log version e.g. in maximum likelihood, otherwise the 
product of the densities and probabilities can become very small.
 Ursprüngliche Nachricht Von: r-help-requ...@r-project.org 
Datum: 04.08.21  12:01  (GMT+01:00) An: r-help@r-project.org Betreff: R-help 
Digest, Vol 222, Issue 4 Send R-help mailing list submissions to
r-help@r-project.orgTo subscribe or unsubscribe via the World Wide Web, visit   
https://stat.ethz.ch/mailman/listinfo/r-helpor, via email, send a message with 
subject or body 'help' tor-help-request@r-project.orgYou can reach the 
person managing the list at   r-help-owner@r-project.orgWhen replying, 
please edit your Subject line so it is more specificthan "Re: Contents of 
R-help digest..."Today's Topics:   1. What are the pros and cons of the log.p 
parameter in  (p|q)norm and similar? (Michael Dewey)   2. Help with package 
EasyPubmed (bharat rawlley)   3. Re: Help with package EasyPubmed (bharat 
rawlley)   4. Re:  What are the pros and cons of the log.p parameter in  
(p|q)norm and similar? (Duncan Murdoch)   5. Re:  What are the pros and cons of 
the log.p parameter in  (p|q)norm and similar? (Bill Dunlap)   6. Creating 
a log-transformed histogram of multiclass data  (Tom Woolman)   7. Re: 
Creating a log-transformed histogram of multiclass data  (Tom 
Woolman)--Message:
 1Date: Tue, 3 Aug 2021 17:20:12 +0100From: Michael Dewey 
To: "r-help@r-project.org" 
Subject: [R] What are the pros and cons of the log.p 
parameter in (p|q)norm and similar?Message-ID: 
Content-Type: 
text/plain; charset="utf-8"; Format="flowed"Short versionApart from the ability 
to work with values of p too small to be of much practical use what are the 
advantages and disadvantages of setting this to TRUE?Longer versionI am 
contemplating upgrading various functions in one of my packages to use this and 
as far as I can see it would only have the advantage of allowing people to use 
very small p-values but before I go ahead have I missed anything? I am most 
concerned with negatives but if there is any other advantage I would mention 
that in the vignette. I am not concerned about speed or the extra effort in 
coding and expanding the documentation.-- 
Michaelhttp://www.dewey.myzen.co.uk/home.html--Message:
 2Date: Tue, 3 Aug 2021 18:20:52 + (UTC)From: bharat rawlley 
To: R-help Mailing List 
Subject: [R] Help with package EasyPubmedMessage-ID: 
<1046636584.2205366.1628014852...@mail.yahoo.com>Content-Type: text/plain; 
charset="utf-8"Hello, When I try to run the following code using the package 
Easypubmed, I get a null result - > batch_pubmed_download(query_7)NULL#query_7 
<- "Cardiology AND randomizedcontrolledtrial[Filter] AND 2011[PDAT]"However, 
the exact same search string yields 668 results on Pubmed. I am unable to 
figure out why this is happening. If I use the search string "Cardiology AND 
2011[PDAT]" then it works just fine. Any help would be greatly appreciatedThank 
you!  [[alternative HTML version 
deleted]]--Message: 3Date: Tue, 3 Aug 2021 18:26:40 
+ (UTC)From: bharat rawlley To: R-help Mailing 
List Subject: Re: [R] Help with package 
EasyPubmedMessage-ID: 
<712126143.2207911.1628015200...@mail.yahoo.com>Content-Type: text/plain; 
charset="utf-8"  Okay, the following search string resolved my issue  - 
"Cardiology AND randomized controlled trial[Publication type] AND 
2011[PDAT]"Thank you!    On Tuesday, 3 August, 2021, 02:21:38 pm GMT-4, bharat 
rawlley via R-help  wrote:    Hello, When I try to run 
the following code using the package Easypubmed, I get a null result - > 
batch_pubmed_download(query_7)NULL#query_7 <- "Cardiology AND 
randomizedcontrolledtrial[Filter] AND 2011[PDAT]"However, the exact same search 
string yields 668 results on Pubmed. I am unable to figure out why this is 
happening. If I use the search string "Cardiology AND 2011[PDAT]" then it works 
just fine. Any help would be greatly appreciatedThank you! [[alternative 
HTML version 
deleted]]__r-h...@r-project.org 
mailing list -- To UNSUBSCRIBE and more, 
seehttps://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide 
http://www.R-project.org/posting-guide.htmland provide commented, minimal, 
self-contained, reproducible code.  [[alternative HTML version 
deleted]]--Message: 4Date: Tue, 3 Aug 2021 14:53:28 
-0400From: Duncan Murdoch To: Michael Dewey 
, "r-help@r-project.org"  
Subject: Re: [R]  What are the pros and cons of the log.p 
parameter in(p|q)norm and similar?Message-ID: 
Content-Type: text/plain; 
charset="utf-8"; Format="flowed"On 03/08/2021 12:20 p.m., Michael Dewey wrote:> 
Short version> > Apart from the ability to work with values of p too small to 
be of much> practical use what