#Create Vector Objects in R Language.
city <- c("Bangalore","Delhi","Mumbai","Hyderabad")
zipcode <- c(330010,410001,539012,329012)
#Combine above Vectors into one data frame.
oldaddresses <- cbind(city,zipcode)
#Print a Header.
print(oldaddresses)
#Create Another Data Frame with Similar coloumns.
newaddress <- data.frame(
city = c("Indore","jaipur"),
zipcode = c(123454,677889)
)
#Print the Data Frame.
print(newaddress)
#Combine rows from both the data frames.
totaladdresses <- rbind(oldaddresses,newaddress)
print(totaladdresses)
To embed this project on your website, copy the following code and paste it into your website's HTML: