conversion of selected rows in matrix in single digit

Hi @Emmadadil!

Can you please compose a small, self-contained REPRoducible EXample (reprex) to illustrate your problem? It's difficult to understand precisely what you're asking from a verbal description, and it can come across as rude to expect your helpers to guess what you mean and come up with an example for you.

I think people here have explained to you about creating a reprex before. If there's part of the reprex process that you're stuck on or that doesn't make sense, please do ask a question about it :grinning:. We're happy to help you figure it out so that you can ask questions in a way that gets you better answers!