Re: [R] Problem with data distribution

2022-02-17 Thread Ebert,Timothy Aaron
: Thursday, February 17, 2022 4:54 PM To: Bert Gunter Cc: r-help mailing list Subject: Re: [R] Problem with data distribution [External Email] :) :) On Thu, Feb 17, 2022 at 10:37 PM Bert Gunter wrote: > imo, with such simple data, a plot is mere chartjunk. A simple table(= > the distri

Re: [R] Problem with data distribution

2022-02-17 Thread Neha gupta
:) :) On Thu, Feb 17, 2022 at 10:37 PM Bert Gunter wrote: > imo, with such simple data, a plot is mere chartjunk. A simple table(= > the distribution) would suffice and be more informative: > > > table(bug) ## bug is a vector. No data frame is needed > > 0 1 23 4 5 7 ## bug

Re: [R] Problem with data distribution

2022-02-17 Thread Neha gupta
Ebert and Rui, thank you for providing the tips (in fact, for providing the answer I needed). Yes, you are right that boxplot of all zero values will not make sense. Maybe histogram will work. I am providing a few details of my data here and the context of the question I asked. My data is about

Re: [R] Problem with data distribution

2022-02-17 Thread Neha gupta
Dear John, thanks a lot for the detailed answer. Yes, I am not an expert in R language and when a problem comes in, I google it or post it on these forums. (I have just a little bit experience of ML in R). On Thu, Feb 17, 2022 at 8:21 PM John Fox wrote: > Dear Nega gupta, > > On 2022-02-17

Re: [R] Problem with data distribution

2022-02-17 Thread John Fox
Dear Nega gupta, In the last point, I meant to say, "Finally, it's better to post to the list in plain-text email, rather than html (as the posting guide suggests)." (I accidentally inserted a "not" in this sentence.) Sorry, John On 2022-02-17 2:21 p.m., John Fox wrote: Dear Nega gupta,

Re: [R] Problem with data distribution

2022-02-17 Thread John Fox
Dear Neha gupta, I hope that I'm not overstepping my role when I say that googling solutions to specific problems isn't an inefficient way to learn a programming language, and will probably waste your time in the long run. There are many good introductions to R. Best, John On 2022-02-17

Re: [R] Problem with data distribution

2022-02-17 Thread Rui Barradas
Hello, In your original post you read the same file "synapse.arff" twice, apparently to filter each of them by its own criterion. You don't need to do that, read once and filter that one by different criteria. As for the data as posted, I have read it in with the following code: x <- " 0 1

Re: [R] Problem with data distribution

2022-02-17 Thread Neha gupta
That is all the code I have. How can I provide a reproducible code ? How can I save this result? On Thu, Feb 17, 2022 at 8:00 PM Ebert,Timothy Aaron wrote: > You pipe the filter but do not save the result. A reproducible example > might help. > Tim > > -Original Message- > From:

Re: [R] Problem with data distribution

2022-02-17 Thread Ebert,Timothy Aaron
You pipe the filter but do not save the result. A reproducible example might help. Tim -Original Message- From: R-help On Behalf Of Neha gupta Sent: Thursday, February 17, 2022 1:55 PM To: r-help mailing list Subject: [R] Problem with data distribution [External Email] Hello everyone