Instead of creating different different plots for a data-frame, I want to create a matrix of density plots for a data frame where I can see all the columns in one plot. For creating it separately I am using below code. How can I get all the columns in one plot?
loan_amnt <- density(out_data$loan_amnt)
plot(loan_amnt, main="Loan Amount")
polygon(loan_amnt, col="red", border="blue")