How to modify data frame using transform() function in R
We provide effective and economically affordable online training courses for R and Python, click here for more details and course registration ! Similar as with() function in R, transform() function provides a way to work on data frame with simplified code inside its block. transform() is mostly used to modify a data frame in a concise and explicit manner. The basic form of usage is transform(df, new_var = operation) Where df is the object data Read more…