It depends of what you are doing. When i do stats and data science with R or even python. Even thought you aren’t writing any class perse. But you still using python classes from data science oriented library.
For me, i am using both. You are basically looking for a specific function or method to proceed a calculation or operation with a given set of data.
It depends of what you are doing. When i do stats and data science with R or even python. Even thought you aren’t writing any class perse. But you still using python classes from data science oriented library.
For me, i am using both. You are basically looking for a specific function or method to proceed a calculation or operation with a given set of data.
‘’’R
procedural and declarative
df is are data frame
Df = data.frame(...)
Reg <- lm(formula= y~ ., data=df)
Summary(reg)
‘’’
You will find cases where you want to do a functional approach to minimize error. In order to stay DRY.
This is my take so far based on my journey doing stats and learning data science.