Absolute change ( B - F) and percentage change [(B - F )/ B], where B and F are baseline and follow up values. I know, how to do this in excel, SPSS, and base package of R, but I am looking for other options in R only. Thanks!
If you have a data frame where B and F corresponds to separate columns, then you can just put it like the variable columns themselves were single values and you'd calculate the change for these single values. And also, use the abs() function to extend the operations:
Thanks for the reply. Actually B & F values are placed in different rows. I am not planning to transform the data as of now and also looking for packages (other than base with inbuilt functions) to calculate absolute and relative change.
Thank for the explanation. I have heard that some packages (such as EffectsRelBaseline, dplyr, prop.comb.RR) can do the deed but still looking for a more elegant way :)