1. Write a R program to create an empty data frame.
2. Write a R program to create a data frame from four given vectors.
3. Write a R program to get the structure of a given data frame.
Write a R program to extract specific column from a data frame using column
name.
6. Write a R program to extract first two rows from a given data frame.
7. Write a R program to extract 3rd and 5th rows with 1st and 3rd columns from a
given data frame.
8. Write a R program to add a new column in a given data frame.
9. Write a R program to add new row(s) to an existing data frame.
10. Write a R program to drop column(s) by name from a given data frame.
List Practical question
1. Write a R program to create a list containing strings, numbers, vectors and a
logical values.
2. Write a R program to list containing a vector, a matrix and a list and give
names to the elements in the list.
3. Write a R program to create a list containing a vector, a matrix and a list and
give names to the elements in the list. Access the first and second element of the
list.
4. Write a R program to create a list containing a vector, a matrix and a list and
add element at the end of the list
5. Write a R program to select second element of a given nested list.