Posts by FVasquez • 11 points
3 posts
-
1
votes1
answer62
viewsQ: How to adjust the regression line so that 90% of the lines are below the line?
I have the following data set in R: x <- c(0.1, 3, 4, 5, 9, 12, 13, 19, 22, 25) y <- c(5, 12, 17, 23, 28, 39, 26, 31, 38, 40) bd <- data.frame(x, y) My question is how I do in R to generate…
-
0
votes1
answer107
viewsQ: How to calculate the difference between two dates in a column and group by category to generate a new database in R software
Following the example of the original database and the new:…
-
-1
votes2
answers300
viewsQ: How to create a data frame of a database based on the difference of two dates in a column of another categorical variable in the R software
I have the following database as an example and the result I expect: In the case the values in the new dataframe refer to days, which is the difference of the last date of a category from the first…