Re: [R] Dplyr question

2022-06-23 Thread PIKAL Petr
5 10 Jun-10 11:25 P190-90D -0.000195 You need only rename columns if necessary. Cheers Petr > -Original Message- > From: R-help On Behalf Of Richard O'Keefe > Sent: Thursday, June 23, 2022 2:29 AM > To: Thomas Subia > Cc: r-help@r-project.org > Subject: Re: [R]

Re: [R] Dplyr question

2022-06-21 Thread Jeff Newmiller
modate people. And there are way more packages out there >that most of us are not even aware of exist! > > >-Original Message- >From: Bert Gunter >To: Rui Barradas >Cc: r-help@r-project.org ; Thomas Subia > >Sent: Tue, Jun 21, 2022 2:25 pm >Subject: Re: [R] Dpl

Re: [R] Dplyr question

2022-06-21 Thread Rui Barradas
Hello, Right, intuitive is (very) relative. I was thinking of base function stats::reshape. Its main difficulty is, imho, to reshape to both wide and long formats. Compared to it, tidyr::pivot_* are (much?) easier to understand. Here is a stats::reshape solution. df_long <- reshape( data

Re: [R] Dplyr question

2022-06-21 Thread Jeff Newmiller
Beware of being too specific about how you want something solved... not just here, but in all contexts. Your question is like "how do I slice this apple with this potholder"... dplyr actually doesn't do that, and you can benefit from learning how to do things in general, not just in your preferr

Re: [R] Dplyr question

2022-06-21 Thread Ebert,Timothy Aaron
21, 2022 12:23 PM To: r-help@r-project.org Subject: [R] Dplyr question [External Email] Colleagues: The header of my data set is: Time_stamp P1A0B0D P190-90D Jun-10 10:34-0.000208 -0.000195 Jun-10 10:51-0.000228 -0.000188 Jun-10 11:02-0.000234 -0.000204 Jun-10 11

Re: [R] Dplyr question

2020-10-15 Thread Dr Eberhard W Lisse
This is well described in the manual. Sounds like homework... el On 15/10/2020 12:39, Nico Gutierrez wrote: > Hi All, > > Trying to get familiar with dplyr so I have a basic question: > > How to summarise sum(Values) per species, maintaining Code column (each > species has a Code): > >

[R] Dplyr question

2020-10-15 Thread Nico Gutierrez
Hi All, Trying to get familiar with dplyr so I have a basic question: How to summarise sum(Values) per species, maintaining Code column (each species has a Code): Species Values Code 1Acanthocybium solandri33

Re: [R] dplyr question

2015-09-07 Thread PIKAL Petr
ll be the result. And change your mail client to post in plain text. Cheers Petr > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Ragia > Ibrahim > Sent: Sunday, September 06, 2015 7:41 PM > To: r-help@r-project.org > Subject: [R]

[R] dplyr question

2015-09-06 Thread Ragia Ibrahim
Dear group, I have the following data frame df Measure_id i j id value1 1 5 1 1 2.02 1 5 2 1 2.03 1 5 1 2 1.54 1 5 2 2 1.55 1 5 1 3 0.06 1 5 2 3 0.07 1 5 1 4 0.08 1 5 2 4 1.09 1