[R] DBDA2E-utilities.R file download

2021-05-31 Thread Nick Wray
he utilities file. Does anyone know what I should now do? 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 PLEASE do

[R] Magick Package

2021-06-07 Thread Nick Wray
e code runs without an error message but it doesn't give the animation sequence you see on the website Any help suggestions appreciated Nick Wray Animation # # Create png files for Binomial distribution png(file="binomial%02d.png", width=600, height=300) n = 181 x =

[R] Augmented Dickie-Fuller test

2021-08-26 Thread Nick Wray
-9.9714, Lag order = 5, p-value = 0.01 alternative hypothesis: stationary 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

[R] airGR package

2021-08-19 Thread Nick Wray
and do they have any further examples or just explanatory info which they would be willing to share? Thanks, Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

[R] Unending loop

2021-07-29 Thread Nick Wray
of months ago) when it gets to the thresh.range line it goes into an unending loop (or something) with the little red Stop button, and just sits there. I have R 4.0.4 on my uni laptop and R 4.0.5 on my own one. Could this be the reason? Thanks, Nick Wray install.packages("extRemes"

[R] Rcpp package problems

2021-09-29 Thread Nick Wray
ing Can anyone help me to sort this? 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 PLEASE do read the posting guide ht

[R] Puzzled over "partial"

2021-07-26 Thread Nick Wray
t things in R both described as "partial" but which are actually different entities? Thanks for any elucidation Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, s

[R] Naming files within R code

2022-03-20 Thread Nick Wray
1]][,1]) I don't know whether this is possible but if it is I'd be grateful for any pointers Thanks, Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/

[R] halting with errors

2023-09-18 Thread Nick Wray
y in R of seeing whether the data set exists, and if doesn’t, moving on the next possibility without halting… Any thoughts appreciated Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIB

[R] Yamamoto again

2023-10-19 Thread Nick Wray
Aaargh after sending out last message realised that the R code is in fact on the Cran site. However, if anyone has an algebraic form that would still be v useful as it's hard to get an overview of the process by looking just at the code Thanks Nick Wray [[alternative HTML version

[R] Yamamoto test in BreakPoints package

2023-10-19 Thread Nick Wray
it’s actually what the package does I can’t tell. There is info about a Toda-Yamamoto causality test but this doesn’t seem to be the same thing as the Yamamoto test in the R package BreakPoints If anyone can point me to where either an algebraic algorithm or the R code is I’d b

[R] rnrfa package problems

2023-10-13 Thread Nick Wray
alogue(minRec = 100, all = FALSE) # Print s100Y to the screen. s100Y But again I get an error message I haven’t gone any further through the article because there doesn’t seem much point unless I can sort things. I am puzzled as to why the examples don’t work – I’ve got all the needed pa

[R] bu.test again

2022-06-26 Thread Nick Wray
Hello This is a second message as the first seemed a bit messed up. i will not copy anything into this but just ask the simple question - the function bu.test() in R - does it come in a package because I can't find it anywhere and it doesn't work on base R thanks Nick Wray

[R] GIS in R

2022-09-01 Thread Nick Wray
sources of information on GIS processing in R. Does anyone know of any accessible sites or useful texts on GIS processing in R? Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

[R] Opening shapefiles in R

2022-10-21 Thread Nick Wray
. and the four suffixes. Just subbing in “rivers” for “21009” in my code above doesn’t work and I can’t find a way of getting into the shapefiles and opening them I'd be grateful if anyone can help me get further with this Thanks Nick Wray [[alternati

Re: [R] Opening shapefiles in R

2022-10-22 Thread Nick Wray
be v welcome Nick On Sat, 22 Oct 2022 at 10:28, Micha Silver wrote: > Hello Nick: > > > First: as Jeff pointed out, you'll probably have better luck posting to > the r-sig-geo list. > > > On 21/10/2022 14:25, Nick Wray wrote: > > Hello > > > > I hav

[R] Linestring values to vector

2022-10-21 Thread Nick Wray
this. Does anyone know how? 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 PLEASE do read the posting guide http://www.R

[R] opening nimroad tar gz files in R

2022-09-15 Thread Nick Wray
erface. I’ve tried -- read.table (gzfile ("metoffice-c-band-rain-radar_uk_200404062250_1km-composite.dat.gz")) but that just gives a load of error messages and I haven’t found any other way of opening them as .gz files. I’m rather baffled – can anyone make any suggestions?

[R] removing non-table lines

2022-09-18 Thread Nick Wray
can't find anything on the net about this - has anyone else had to deal with this problem and if so do they have any solutions using R? Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE

[R] reading text files directly into program from net

2022-09-25 Thread Nick Wray
I get an error. I can't find an example online which I can tweak to allow me to do this. can anyone help? Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.e

[R] Reading Text files from UK Met Office into R again...

2022-10-09 Thread Nick Wray
If anyone has any ideas I’d be v grateful 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 PLEASE do read the posting guide ht

[R] Fwd: Reading very large text files into R

2022-09-29 Thread Nick Wray
-- Forwarded message - From: Nick Wray Date: Thu, 29 Sept 2022 at 15:32 Subject: Re: [R] Reading very large text files into R To: Ben Tupper Hi Ben Beneath is an example of the text (also in an attachment) and it's the "B", of which there are quite a few scattered

[R] Reading very large text files into R

2022-09-29 Thread Nick Wray
the bits of the text file I have already pasted in without laborious scrolling? 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

Re: [R] Reading very large text files into R

2022-09-29 Thread Nick Wray
ad no trouble reading your text snippet with > read.csv(text = > "... your text... ") > > There were 15 columns. The last column was all empty except for the row > containing the "B". > > So there seems to be some confusion here. > > -- Bert &g

Re: [R] Reading very large text files into R

2022-09-29 Thread Nick Wray
2022 at 15:09, Ivan Krylov wrote: > В Thu, 29 Sep 2022 14:54:10 +0100 > Nick Wray пишет: > > > although most lines in the text doc consist of 15 elements, every so > > often there is a sixteenth one and R doesn’t like this and gives me > > an error message > &

Re: [R] Reading very large text files into R

2022-09-30 Thread Nick Wray
gt; format that can be used without anomalies. > > Avi > > -Original Message- > From: R-help On Behalf Of Ebert,Timothy > Aaron > Sent: Friday, September 30, 2022 7:27 AM > To: Richard O'Keefe ; Nick Wray > Cc: r-help@r-

[R] lfstat package

2022-08-11 Thread Nick Wray
find it anywhere but in lfstat 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 PLEASE do read the posting guide http://www.R

[R] von Neumann/Bartels/Serial Correlation

2022-08-14 Thread Nick Wray
point me to where I can find these functions and any info? 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 PLEASE d

[R] Topological network Map

2023-01-11 Thread Nick Wray
first candidate R package? 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 PLEASE do read the posting guide http://www.R

[R] Scrub last query on yamamoto

2023-01-24 Thread Nick Wray
Ach please scrub my last email - I didn't realise that the package name was given without it being expicit in the site quoted Sorry Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

[R] yamamoto

2023-01-24 Thread Nick Wray
Hello I am trying to use the yamamoto function, as given in an example: on this site: R: Yamamoto (r-project.org) but it doesn't seem to give the package when the function comes and it doesn't work in base. I can't

[R] getting information out of Rao test output

2023-01-08 Thread Nick Wray
<-rao.spacing.test(pi_data,alpha=0.05) ## my input Rao's Spacing Test of Uniformity Test Statistic = 169.6952 Level 0.05 critical value = 155.19 Reject null hypothesis of uniformity-- can't break this down Des anyone know how I could do this? Thanks, Nick Wray [[alternative HTML version dele

[R] (no subject)

2022-11-06 Thread Nick Wray
it? 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 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

[R] Rate of Reading into R from net

2022-11-14 Thread Nick Wray
a)is the data in fact downloading but it's just taking ages and I need to let it run and go and have a coffee b)is there (I can't find anything) within R which allows me to monitor the progress of the download, if in fact it is taking place? Thanks

Re: [R] Detpack package

2023-02-01 Thread Nick Wray
hen you try detpack::chi2testuniform(...) ? > > > On Wed, Feb 1, 2023 at 6:08 PM Nick Wray wrote: > >> Hello I've successfully installed the package "Detpack" and remembered >> to >> call it via library() But when I try to use the functions i

[R] null in rao.test in R

2023-03-11 Thread Nick Wray
at either of these things mean (not really an R-help question I know) as I've only just begun serious analysis of circular data but I am surprised that this toy data gives a p-value of 1 in each case can anyone cast light on all this? Thanks Nick Wray [[alternative HTML versio

[R] seqMK function

2023-03-30 Thread Nick Wray
-value of the changepoint identification which you get with functions ie func$p_value etc ... Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman

[R] weird things in seqMK() and sqmk()

2023-04-01 Thread Nick Wray
they know of any sites with further ifo, as it seems v sparse about these two functions 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

[R] Lazy-load corrupt?

2023-02-03 Thread Nick Wray
have to uninstall my current R and reinstall the latest version - but before I go through all that can anyone confirm that that is indeed what I need to do or is there some other problem? Thanks Nick Wray [[alternative HTML version deleted]] __ R-h

[R] Detpack package

2023-02-01 Thread Nick Wray
an't find references to any problems with this package on the net Can anyone cast light on what's happening? Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://

[R] p-value in changepoint package

2023-02-15 Thread Nick Wray
Hello Does anyone know how to get the p values for changepoints in the "changepoint" package? There is guidance in the CRAN vignette https://cran.r-project.org/web/packages/changepoint/changepoint.pdf but I can't make it work to get the p value out... Thanks Nick Wray [[altern

[R] Choosing colours for lines in ggplot2

2023-08-02 Thread Nick Wray
) + #scale_color_manual(values=c('orange', 'pink', 'red')) scale_color_manual(values=cb8[4:6]) Can anyone help? Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

[R] Problems with facets in ggplot2

2023-08-04 Thread Nick Wray
ylab("Flow") 1)This gives me a facetted plot but I can’t work out why I’m not getting a labelled y scale 2)Why are plots down at the bottom of the facets rather than in the middle? 3)And also I’d like the plots to be in the order (top left to bottom right) of AMAX MEAN A

Re: [R] col2rgb() function

2023-07-23 Thread Nick Wray
#CC79A7") > plot(0,0,xlim=c(1,8),ylim=c(0,1)) > points(1:8,rep(0.5,8),col=cb8,pch=19,cex=2) > points(1:8,rep(0.75,8),col=adjustcolor(cb8, alpha.f = 0.3), pch=19,cex=2) > > On 2023-07-23 2:15 p.m., Nick Wray wrote: > > Hello I have a palette vector of colour blind colours

Re: [R] col2rgb() function

2023-07-23 Thread Nick Wray
lso has an optional alpha > argument. So if you want to generate these colors with an alpha of 0.3 you > can also do: > > palette.colors(8, alpha = 0.3) > > or more explicitly > > palette.colors(8, palette = "Okabe-Ito", alpha = 0.3) > > On Sun, 23 Jul

[R] col2rgb() function

2023-07-23 Thread Nick Wray
;) (number 7) I get *col2rgb("#D55E00"* [,1] red213 green 94 blue 0 *points(7,0.25,col=rgb(rgb(213,94,0)),pch=19,cex=2)* gives me an error message and although if I divide through *points(7,0.25,col=rgb(213/307,94/307,0),pch=19,cex=2)* gives me a reddish dot, but

[R] Truncated plots

2024-01-09 Thread Nick Wray
eds to see what it looks like. 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 PLEASE do read the posting guide http://www.R-p

[R] Mann Kendall mutation package?

2023-12-01 Thread Nick Wray
) <https://rdrr.io/github/Sibada/sibadaR/man/MK_mut_test.html> but there doesn't seem to be a package corresponding to this. I've tried installing various permutations of the apparent name Sibada/sibadaR but nothing comes up, so I'm not sure whether it even exists... Thanks Nic

[R] Removing polygons from shapefile of Scotland and Islands

2024-05-14 Thread Nick Wray
tions Any pointers, thoughts etc much appreciated 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 PLEASE do read the posting

[R] Listing folders on One Drive

2024-05-20 Thread Nick Wray
m all against a list of folders on my laptop. Can I somehow use list.files() - I've tried various things but none seem to work... Any help appreciated Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUB

[R] Can't open R files

2018-05-21 Thread Nick Wray via R-help
do on my desktop or old laptop. I'd be grateful for any ideas or pointers 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

Re: [R] Can't open R files

2018-05-21 Thread Nick Wray via R-help
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 <murdoch.dun...@gmail.com> 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

Re: [R] How long can a csv file label be?

2018-06-27 Thread Nick Wray via R-help
gth 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 f

[R] How long can a csv file label be?

2018-06-27 Thread Nick Wray via R-help
pathname is 255 characters but is that the same thing? Thanks if anyone can enlighten me 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

[R] Main label on Cullen and Frey

2018-08-31 Thread Nick Wray via R-help
t just returns the summary statistics. 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 PLEASE do read the posting guid

[R] Resetting bin size in histogram having already changed to relative frequencies

2018-08-31 Thread Nick Wray via R-help
seems horrendously complicated and I wonder whether I am missing something simple Any ideas I would be thankful for Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.

[R] Why does R do this?

2019-01-08 Thread Nick Wray via R-help
the host set unchanged if there are no elements to take out? Any thoughts? 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 PL

[R] periodicity

2019-01-30 Thread Nick Wray via R-help
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 versi

[R] load.wave q

2019-02-01 Thread Nick Wray via R-help
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

[R] load.wave

2019-02-02 Thread Nick Wray via R-help
these elements actually stand for? I would have thought that one needed as a minimum both volume and frequency ie a two dimensional vector but as far as I can tell there is only one single vector. I'm aware that this question is pushing the envelope of R help but... Thanks, Nick Wray

Re: [R] Pasting R code lines into labels

2019-06-07 Thread Nick Wray via R-help
>>>> and for the third: > >>>> > >>>>> deparse(f) > >>>> [1] "function (x) " "exp(x) + 1" > >>>> > >>>> > >>>> Thus, the "deparse(fun)[2]" snippet

Re: [R] Pasting R code lines into labels

2019-06-06 Thread Nick Wray via R-help
; > > > 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 > > plot label &q

[R] Pasting R code lines into labels

2019-06-06 Thread Nick Wray via R-help
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]] _

Re: [R] Pasting R code lines into labels

2019-06-06 Thread Nick Wray via R-help
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

[R] Creating a histogram from a frequency vector

2019-10-09 Thread Nick Wray via R-help
2's etc) of creating a histogram from this data set. Is there one? 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 PLEASE do

Re: [R] Creating a histogram from a frequency vector

2019-10-09 Thread Nick Wray via R-help
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 these