[R] Iterating dates over multiple ids

2019-05-15 Thread Graeme Davidson
Hi all, I want to create a df that repeats the dates over ids. Previously I tried expand.grid but this created every possible iteration of dates and ids, when all I want is the start and end dates repeated for each month. In other words 01/03/19 with an end date of 28/02/19 would be unsuitable

[R] Referencing multiple lists in api loop call

2019-05-01 Thread Graeme Davidson
Hi all, I am working with a google analytics api, and need to pull out data on multiple views (n = 11, basically different databases with the same data types and formats). However, in addition to this I need to specify the beginning and end date separately, in to get each months data, and I n

[R] non alphabetical strings

2019-04-28 Thread Graeme Davidson
Hello All, I can’t find the answer for this so I thought I would ask you lovely people. I have a data frame with a column of names, some of which have non-alphabetical letters. How, do I extract the row indexes which do not meat the criteria of alphabetical [[:alpha:]]. Thanks in advance Al

Re: [R] Regression Modeling Strategies and the R rms Package Short Course 2019

2019-03-24 Thread Graeme Davidson
Hi Frank, As part of the R community, you will be aware that the vast majority of knowledge regarding statistics such as linear modelling is online for free. What makes this course worthy of payment compared to freely available information and/or well structured fee paying courses such as Data