Run »
Data_Frame <- data.frame ( Training = c("Strength", "Stamina", "Other"), Pulse = c(100, 150, 120), Duration = c(60, 30, 45) ) # Add a new column New_col_DF <- cbind(Data_Frame, Steps = c(1000, 6000, 2000)) # Print the new column New_col_DF
Training Pulse Duration Steps 1 Strength 100 60 1000 2 Stamina 150 30 6000 3 Other 120 45 2000