search for: gssi

Displaying 20 results from an estimated 21 matches for "gssi".

Did you mean: gsi
2017 Oct 05
0
dealing with a messy dataset
Is this a fixed width format? If so, read.fwf() in base, or read_fwf() in the readr package will solve the problem. You may need to trim trailing spaces though. B. > On Oct 5, 2017, at 10:12 AM, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: > > dear R-users, > > > I am facing a quite regular and basic problem when it comes to dealing with datasets, but I cannot find any satisfying answer so far. > I have a messy dataset of galaxies like that : > > And XVIII 000214.5+450520 0.69...
2017 Oct 05
4
dealing with a messy dataset
...ill=T because the rows don't have the same number of features since R splits the name of the galaxies into 2 columns because of the space. Best Regards, thanks in advance Jean-Philippe Fontaine -- Jean-Philippe Fontaine PhD Student in Astroparticle Physics, Gran Sasso Science Institute (GSSI), Viale Francesco Crispi 7, 67100 L'Aquila, Italy Mobile: +393487128593, +33615653774
2017 Oct 05
1
dealing with a messy dataset
...read_fwf function to read in the data. > > Jim Holtman > Data Munger Guru > > What is the problem that you are trying to solve? > Tell me what you want to do, not how you want to do it. > > > On Thu, Oct 5, 2017 at 11:02 AM, jean-philippe > <jeanphilippe.fontaine at gssi.infn.it> wrote: >> dear Jim, >> >> Thanks for your reply and your proposition. >> >> I forgot to provide the header of the dataframe, here it is: >> ================================================================================ >> Byte-by-byte Descript...
2017 Oct 05
3
dealing with a messy dataset
.../2017 16:49, jim holtman wrote: > start <- c(1, 20, 35, 41, 44, 48, 53, 59, 64, 69, 75, 77, 82, 87, > + 92, 114, 121, 127) > > read_fwf(input, fwf_widths(diff(start))) -- Jean-Philippe Fontaine PhD Student in Astroparticle Physics, Gran Sasso Science Institute (GSSI), Viale Francesco Crispi 7, 67100 L'Aquila, Italy Mobile: +393487128593, +33615653774
2017 Oct 05
0
dealing with a messy dataset
...ation to create the correct parameters to the read_fwf function to read in the data. Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Thu, Oct 5, 2017 at 11:02 AM, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: > dear Jim, > > Thanks for your reply and your proposition. > > I forgot to provide the header of the dataframe, here it is: > ================================================================================ > Byte-by-byte Description of file: lvg_table2.dat...
2017 Dec 04
1
problem with the behaviour of dashed lines in R plots
...est, Jean-Philippe Fontaine On 04/12/2017 18:30, Sarah Goslee wrote: > It's because you are plotting a line between each of the points in > your data frame, and they are very close togethe -- Jean-Philippe Fontaine PhD Student in Astroparticle Physics, Gran Sasso Science Institute (GSSI), Viale Francesco Crispi 7, 67100 L'Aquila, Italy Mobile: +393487128593, +33615653774
2017 Dec 04
3
problem with the behaviour of dashed lines in R plots
...5,0),cex.lab=1.6,cex=2, xlab = "", ylab = "",xlim=range(c(1.2,1.7)),ylim=rev(range(c(-19,-8))),pch=17) box(lwd=3) dev.off() Thanks in advance, best regards Jean-Philippe Fontaine -- Jean-Philippe Fontaine PhD Student in Astroparticle Physics, Gran Sasso Science Institute (GSSI), Viale Francesco Crispi 7, 67100 L'Aquila, Italy Mobile: +393487128593, +33615653774
2017 Jun 15
1
draw stripes in a circle in R
...question. If your question is whether R supports pattern fills, AFAIK it does not. If that is not your question, ask one. >>> -- >>> Sent from my phone. Please excuse my brevity. >>> >>> On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >>>> dear R users, >>>> >>>> I would like to fill a circle with yellow stripes instead of a uniform >>>> yellow color. To draw the circle I used the following command after >>>> having loaded the (very nice !) plotrix li...
2017 Jun 14
2
draw stripes in a circle in R
...,0.85,nv=1000,border=NULL,col="yellow",lty=1,lwd=1) dev.off() It looks a bit ugly since they are not real data, but it is the simplest MWE example that I found. Thanks, best Jean-Philippe -- Jean-Philippe Fontaine PhD Student in Astroparticle Physics, Gran Sasso Science Institute (GSSI), Viale Francesco Crispi 7, 67100 L'Aquila, Italy Mobile: +393487128593, +33615653774
2017 Jun 14
3
draw stripes in a circle in R
...> > I don't see a question. If your question is whether R supports pattern fills, AFAIK it does not. If that is not your question, ask one. > -- > Sent from my phone. Please excuse my brevity. > > On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >> dear R users, >> >> I would like to fill a circle with yellow stripes instead of a uniform >> yellow color. To draw the circle I used the following command after >> having loaded the (very nice !) plotrix library : >> >> library(pl...
2017 Jun 14
0
draw stripes in a circle in R
...I have to precise in the color argument? Thanks, best Envoy? depuis mon appareil Samsung -------- Message d'origine -------- De : Jeff Newmiller <jdnewmil at dcn.davis.ca.us> Date : 14/06/2017 18:46 (GMT+01:00) ? : r-help at r-project.org, jean-philippe <jeanphilippe.fontaine at gssi.infn.it>, r-help at R-project.org Objet : Re: [R] draw stripes in a circle in R I don't see a question. If your question is whether R supports pattern fills, AFAIK it does not. If that is not your question, ask one. -- Sent from my phone. Please excuse my brevity. On June 14, 2017 7:57...
2017 Oct 05
0
dealing with a messy dataset
.... with 3 more variables: X15 <chr>, X16 <dbl>, X17 <dbl> > Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Thu, Oct 5, 2017 at 10:12 AM, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: > dear R-users, > > > I am facing a quite regular and basic problem when it comes to dealing with > datasets, but I cannot find any satisfying answer so far. > I have a messy dataset of galaxies like that : > > And XVIII 000214.5+450520 0.69 17...
2017 Jun 14
0
draw stripes in a circle in R
...n't see a question. If your question is whether R supports pattern fills, AFAIK it does not. If that is not your question, ask one. >> -- >> Sent from my phone. Please excuse my brevity. >> >> On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >>> dear R users, >>> >>> I would like to fill a circle with yellow stripes instead of a uniform >>> yellow color. To draw the circle I used the following command after >>> having loaded the (very nice !) plotrix library : I finall...
2017 Dec 04
0
problem with the behaviour of dashed lines in R plots
...1.425015 -14.06372 If instead you use abline(regressor, lty=2) you will get a nice-looking dashed line. Or, if you want only the data extent, you could use just the points for the minimum and maximum values of x. Sarah On Mon, Dec 4, 2017 at 12:13 PM, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: > dear R users, > > I am performing a linear regression with lm, and I would like to plot the > regressor in dashed lines. I know that the lty=2 option is the way out, but > it has a very strange behaviour: the line starts dashed but then the spaces > between ea...
2017 Jun 14
4
[FORGED] Re: draw stripes in a circle in R
...question. If your question is whether R supports pattern fills, AFAIK it does not. If that is not your question, ask one. >>> -- >>> Sent from my phone. Please excuse my brevity. >>> >>> On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >>>> dear R users, >>>> >>>> I would like to fill a circle with yellow stripes instead of a uniform >>>> yellow color. To draw the circle I used the following command after >>>> having loaded the (very nice !) plotrix li...
2017 Jun 14
1
[FORGED] Re: draw stripes in a circle in R
...question. If your question is whether R supports pattern fills, AFAIK it does not. If that is not your question, ask one. >>> -- >>> Sent from my phone. Please excuse my brevity. >>> >>> On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >>>> dear R users, >>>> >>>> I would like to fill a circle with yellow stripes instead of a uniform >>>> yellow color. To draw the circle I used the following command after >>>> having loaded the (very nice !) plotrix li...
2017 Jun 14
0
draw stripes in a circle in R
I don't see a question. If your question is whether R supports pattern fills, AFAIK it does not. If that is not your question, ask one. -- Sent from my phone. Please excuse my brevity. On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >dear R users, > >I would like to fill a circle with yellow stripes instead of a uniform >yellow color. To draw the circle I used the following command after >having loaded the (very nice !) plotrix library : > >library(plotrix) >pdf("MWE.pdf",...
2017 Jun 14
0
[FORGED] Re: draw stripes in a circle in R
...question is whether R supports pattern fills, AFAIK it does not. If that is not your question, ask one. >>>> -- >>>> Sent from my phone. Please excuse my brevity. >>>> >>>> On June 14, 2017 7:57:41 AM PDT, jean-philippe <jeanphilippe.fontaine at gssi.infn.it> wrote: >>>>> dear R users, >>>>> >>>>> I would like to fill a circle with yellow stripes instead of a uniform >>>>> yellow color. To draw the circle I used the following command after >>>>> having loaded the (ve...
2017 Jun 15
2
[FORGED] Re: draw stripes in a circle in R
...rts >pattern fills, AFAIK it does not. If that is not your question, ask >one. >>>>> -- >>>>> Sent from my phone. Please excuse my brevity. >>>>> >>>>> On June 14, 2017 7:57:41 AM PDT, jean-philippe ><jeanphilippe.fontaine at gssi.infn.it> wrote: >>>>>> dear R users, >>>>>> >>>>>> I would like to fill a circle with yellow stripes instead of a >uniform >>>>>> yellow color. To draw the circle I used the following command >after >>>>&g...
2017 Nov 09
2
R basic
Can anyone help with scripting the commands below? 1. Add/create a new column to df and name it as ShortPause . 2. Convert ShortPause as a factor variable. 3. ShortPause will have two levels (short and long). Assign short if pause is smaller than 0.1, and assign long otherwise. 4. How many ?syntax==intransitive? observations were realized with a tap (tapped==Tapped)? (Use xtabs() and ftable() to