0% found this document useful (0 votes)
3 views2 pages

Lab

Uploaded by

petermj2222
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Lab

Uploaded by

petermj2222
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

Generate a basic bar plot illustrating the marks for five different subjects

2. Create a scatter plot to visualize the relationship between two variables (e.g.,

weight and height).

3. Write a R program to combine two given vectors by columns, rows.

R Programming Code :

4. What are the key statistical measures (mean, median, and standard deviation)

for a set of numeric values, and how can you calculate them in R?

5. You have a dataset of students' grades in different subjects. Calculate the

average grade for each subject and visualize the results.

6. Test the hypothesis that the mean height of men is significantly different from

the mean height of women.

7. How would you organize and display information about individuals, including

their names, ages, and cities, using a data frame in R?

8. How would you determine if a number is even or odd in R?

9. Write R Program to import dataset from R and execute the following

R Programming Code :

(i) display the first and last 6 rows of the dataset using R function.

(ii) find the summary of the dataset.

(iii) plot a histogram for one continuous variable

10. Write a R program to create a vector and find the maximum and the minimum

value of a created vector.

You might also like