Provide below an R command that will output a table of the n…