search for: sardini

Displaying 1 result from an estimated 1 matches for "sardini".

Did you mean: dardini
2017 Sep 26
2
Cleaning data
Hi I want to clean my data frame, based on the age column, whereas i want to delete the rows that the difference between its elements (i+1)-i= integer. i used a <- diff(df$age) for(i in a){if(is.integer(a) == true){df <- df[-a,] }} but, it doesn?t work, any ideas Thanks in advance Bayan