Posts by Danielly Xavier • 1 point
3 posts
-
0
votes2
answers298
viewsA: How to put Y-axis variables in ascending order in ggplot
Inside the data.frame, before transforming it into a ggplot object, classify this variable using the Sort function, which will place it in alphabetical order. Example: dados =…
ranswered Danielly Xavier 1 -
0
votes3
answers488
viewsA: Calculation of Difference between Dates
R has a function called difftime, which calculates this difference in years, days, months and more. First you will need to turn your data into date, then use this function. DADOS$DATA_INICIO =…
ranswered Danielly Xavier 1 -
0
votes2
answers59
viewsA: Chi-Square calculation for proportions
First, identify which categories you are comparing. What is the category you are comparing? To calculate the X² you will need 4 categories: success A, success B, failure A and failure B. In this…
ranswered Danielly Xavier 1