This is harder than needed to troubleshoot without a reproducible example, called a reprex, including, especially data in the same form as prop.tablepl1 and tablecbt1.
This is harder than needed to troubleshoot without a reproducible example, called a reprex, including, especially data in the same form as prop.tablepl1 and tablecbt1.