How to assign a letter grade to the marks while doing the results analysis for examination results of a class?


Hai I am new to R studio. I am working as a Statistics faculty in a reputed educational institution in Andhra Pradesh of India. To upgrade myself I started working with R. I have chosen to create an application for the results analysis for university examination results data for my college using R studio or R Shiny as a project. Please Help me to continue my project in a smooth manner.


Hi! Welcome!

cut() is the basic R function for cutting up a numerical vector into a series of categories. Depending on which argument options you choose, you can either split up the numerical range evenly, or set your own breakpoints. In either case, you can supply custom labels. Check out the documentation linked above, or just type ?cut in the console.

If that doesn't suit your problem, I think you'll need to provide more details about what you're doing (ideally including a reproducible example).


Thank you for suggesting me with a good function. Definitely i will try that and keep in touch with you for my more queries in future.