I am trying to print my data using the kable function but i cant get it to print in the plots window, i have attached the code i have used underneath if anyone is able to adapt it. If there is a better way to print tables do also let me know please.
mod1:5 are just linear regression models which would be too much to recreate here
mod_comparason = compare_performance(mod1, mod2, mod3, mod4, mod5)
#print this data in a table
print(kable(mod_comparason))
When i use this code i get what seems to be the formating for the table in the console but no print out;
<table>
<thead>
<tr>
<th style="text-align:left;"> Name </th>
<th style="text-align:left;"> Model </th>
<th style="text-align:right;"> AIC </th>
<th style="text-align:right;"> AIC_wt </th>
<th style="text-align:right;"> BIC </th>
<th style="text-align:right;"> BIC_wt </th>
<th style="text-align:right;"> RMSE </th>
<th style="text-align:right;"> Sigma </th>
<th style="text-align:right;"> R2 </th>
<th style="text-align:right;"> R2_adjusted </th>
<th style="text-align:right;"> R2_conditional </th>
<th style="text-align:right;"> R2_marginal </th>
<th style="text-align:right;"> ICC </th>