Saso says to Nir.. "I have numbers in a dataframe that I want to square ( but I wont share them) , how do I do it ?"
Nir says "like this
start_df <- enframe(seq.int(1,10,1))
(end_df <- mutate(start_df,
squared = value*value))
then Saso makes his own start df ...
(start_df <- data.frame(value=c(9,1,100)))
Saso uses same code as Nir provided
(end_df <- mutate(start_df,
squared = value*value))
do you understand that start_df is just a name that contains information, we can process that regardless of whats in it. if I put the 'wrong' things in mine, you can replace it with your own...