title: How to create a table in R to show my correlation matrix
body: <p>I am new to R and I need help. I have created correlation matrix using the rcorr command. I would like to see this as a table so I can export it and email to my prof. The problem I am running into is this error message. I am at my wits end on how to fix it. I have tried data.frame command as well as write.table command. </p>
  
  <p>Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) : 
    cannot coerce class ""rcorr"" to a data.frame</p>