Re: [R] Hadamard transformation

2023-09-18 Thread mohan radhakrishnan
Hello, It really helped. Thanks. On Mon, Sep 18, 2023 at 11:46 PM Rui Barradas wrote: > Às 18:45 de 18/09/2023, mohan radhakrishnan escreveu: > > Hello, > > > > I am attempting to port the R code which is an answer to > > > https://codegolf.stackexchange.com/questions/194229/implement

[R] overlay shaded area in base r plot

2023-09-18 Thread ani jaya
Dear R-Help, I try to overlay two standard deviations from two means. How to change the overlaid area between two shaded areas into a specific color or maybe a soft color in a plot? > dput(mean1[1:20]) c(122.194495954369, 118.955256282505, 115.540991140893, 113.116216840647, 111.24053267553, 109.

Re: [R] Hadamard transformation

2023-09-18 Thread Rui Barradas
Às 18:45 de 18/09/2023, mohan radhakrishnan escreveu: Hello, I am attempting to port the R code which is an answer to https://codegolf.stackexchange.com/questions/194229/implement-the-2d-hadamard-transform function(M){for(i in 1:log2(nrow(M)))T=T%x%matrix(1-2*!3:0,2)/2; print(T); T%*%M%*%T} T

[R] Post Details for Two ASA Awards

2023-09-18 Thread P. D. Waggoner
Please post to R-help: Hi all - I wanted to share a message putting TWO upcoming awards on your radar. These are jointly sponsored by the Graphics and Computing sections of the American Statistical Association (ASA): The student Paper Award. Full details here: https://community.amstat.org/j

[R] Hadamard transformation

2023-09-18 Thread mohan radhakrishnan
Hello, I am attempting to port the R code which is an answer to https://codegolf.stackexchange.com/questions/194229/implement-the-2d-hadamard-transform function(M){for(i in 1:log2(nrow(M)))T=T%x%matrix(1-2*!3:0,2)/2; print(T); T%*%M%*%T} The code, 3 inputs and the corresponding outputs are show

Re: [R] halting with errors

2023-09-18 Thread Duncan Murdoch
You can use try() or tryCatch(). The former is simpler, the latter is more flexible. For example: result <- try(read_html(“https://timeseries.sepa.org.uk/KiWIS/KiWIS?service=kisters&type=queryServices&datasource=0&request=getTimeseriesValues&ts_path=1/15016/Q/15m.Cmd&from=2015-01-01&to=2015

[R] halting with errors

2023-09-18 Thread Nick Wray
Hello I am downloading flow data from the UK national river flow archive (NRFA). I have code which works (thanks to previous help on r-help) but the problem is that before I make a call for the data for that particular year I don’t know whether the data exists for that particular year and catchme

Re: [R] Print hypothesis warning- Car package

2023-09-18 Thread John Fox
Hi Peter, On 2023-09-18 10:08 a.m., peter dalgaard wrote: Caution: External email. Also, I would guess that the code precedes the use of backticks in non-syntactic names. Indeed, by more than a decade (though modified in the interim). Could they be deployed here? I don't think so, at le

Re: [R] Print hypothesis warning- Car package

2023-09-18 Thread peter dalgaard
Also, I would guess that the code precedes the use of backticks in non-syntactic names. Could they be deployed here? - Peter > On 17 Sep 2023, at 16:43 , John Fox wrote: > > Dear Robert, > > Anova() calls linearHypothesis(), also in the car package, to compute sums of > squares and df, suppl