Trying to find the equivalent of pwcorr in Rstudio

Hard for me to tell what is happening from that description. Here are some tips for writing questions that are more likely to get answers.