python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
rollapply fails to cover/roll the whole data set
I'm trying to run a function I created using rollapply, on a dataset that has 5706 data points. The function (basically calculates Rescaled Range), uses all the observations in the window (in this cas...
Mangoman
Votes: 0
Answers: 0
Using rollmean filtering out NA with threshold
I am trying to apply a rollapply mean function to a dataframe with large chunks of missing data and single points interspersed throughout the missing data. Using my current form of rollapply, only one...
johnnyg
Votes: 0
Answers: 2
How to create in R new column calculating mean (3 previous grouped rows) of numerical variable grouping by variables (factors)?
I have tried using rollapply but I can't get the desired result.
These are the columns(sample) of the dataset on which I want to do the calculations.
structure(list(LeagueROUND = structure(c(1L, 1L, 1...
William88
Votes: 0
Answers: 1
Rollapply percentage from logical conditions (Rolling rate in R )
I have a data frame in R with two columns with logical conditions that looks like this :
check1 = as.logical(c(rep("TRUE",3),rep("FALSE",2),rep("TRUE",3),rep("FALSE&...
Homer Jay Simpson
Votes: 0
Answers: 2