Aargh of course - so obvious I'd completely overlooked that.>. Thanks Nick
> On 09 October 2019 at 16:21 Ivan Krylov wrote:
>
>
> On Wed, 9 Oct 2019 16:12:57 +0100 (BST)
> Nick Wray via R-help wrote:
>
> > I have a vector like say 73,53,42,67,41,50 where the
I have a vector like say 73,53,42,67,41,50 where these numbers are the number
of occurrences of the data values 1,2,3,4,5,6 - so in essence I have the
frequency bit from the hist() function. I can't see an elegant way (there are
clearly messy workarounds like generating a vector of 73 1's, 53 2
broken up into multiple character segments, no
> longer
> >>>> than approximately 60 characters each. Thus, if you envision that
> you might
> >>>> end up with very long formulae on x, you may need to adjust the
> >>>> width.cuto
Reference" manual or from suitable tutorials on the web.
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic
rote:
>
>
>
> > On Jun 6, 2019, at 11:19 AM, Nick Wray via R-help
> > wrote:
> >
> > Is there any way of taking a line of r code (eg y<-x^2) and pasting that
> > line of code, as is, into a label, so that for example I could then have a
> >
Is there any way of taking a line of r code (eg y<-x^2) and pasting that line
of code, as is, into a label, so that for example I could then have a plot
label "Plot of y<-x^2"?
Thanks Nick Wray
[[alternative HTML version deleted]]
__
R-help@r
I have been given a wav file of train locomotive noise - literally something
you can play back and hear. Using the audio package and the load.wave function
I have got a 1.5 million element vector which visually at least has some
periodicity in certain parts and does not seem to be completely ra
Please delete my last question as I have worked out what is going on myself
Thanks Nick Wray
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
P
I've found references on websites to an R function "periodicity", but there's
no such built-in function as far as I can see in R studio. I can't find
reference to it being part of any package either. Can anyone help with this?
Thanks, Nick Wray
[[alternative HTML version deleted]]
___
y<-c(1,2,3)
z<-which(y>3)
z
y<-y[-z]
y
In the work I'm doing I often have this situation and have to make sure that I
condition on z being non-zero as y is now numeric(0) rather than the set
c(1,2,3). Why does R do this? Wouldn't it be more sensible for R to simply
leave the host set unchange
Hello again. I am trying to alter the bin size on a histogram where I have
reset the vertical axis to relative frequency, rather than absolute. Beneath
is a simple example (not my real data) of this:
xvals<-rnorm(1000,0,1)
xvals
hist(xvals)
h<-hist(xvals,plot=F)
h
h$counts
h$counts<-h$counts/
Hello Does anyone know how to modify the main label when you plot a Cullen &
Frey (sounds like an Oxford gentleman's outfitters - statistically significant
waistcoats a speciality) diagram from the "descdist" function? I've tried
setting a variable to the descdist(data) but it just returns th
of 4096. If
> you are simply writing a file to the current path, it won't make much
> difference.
>
> Jim
>
> On Thu, Jun 28, 2018 at 8:33 AM, Nick Wray via R-help
> wrote:
> > Hi For various reasons too dull to go into I have been trying to write csv
> > files
Hi For various reasons too dull to go into I have been trying to write csv
files from R with very long filenames. However R doesn't seem to like my doing
this, but it is not clear to me what the maximum filename size is, and I can't
find the info on the net. I believe that the maximum pathname
Oh fab it works! thanks v much i'd never used open file like that before Nick
> On 21 May 2018 at 12:24 Duncan Murdoch wrote:
>
>
> On 21/05/2018 7:20 AM, Nick Wray via R-help wrote:
> > Hello. I'm not sure whether this is strictly the right forum but here
> &
Hello. I'm not sure whether this is strictly the right forum but here goes...
I have got a new (well reconditioned) laptop and have installed R studio on
it. That works fine if I say write a little prog directly into it or paste R
script from a word doc. But if I try to open an R prog (whic
16 matches
Mail list logo