Spin-charge (SC) coupling is crucial in spintronics and the coupling mechanisms can be classified into bulk characteristic via spin-orbit interaction (SOI) or the interfacial characteristic provided by a junction formed by magnetic and nonmagnetic conductors. The two types of SC couplings account for the transverse resistance (TR) in a planer channel subjected to out-of-plane-polarized spin current injection. This is because interfacial spin-accumulation induces the diffusive transport of spin-angular momentum, which is converted into transverse charge accumulation via SOI. We explore the SC coupling characteristics of a lateral junction consisting of (i) a rare-earth transition metal (RE-TM) ferrimagnet with perpendicular magnetic anisotropy and (ii) a compensated metal, YH2, where electrons and holes simultaneously participate in spin and charge transports. This set-up allows us to observe the TR, which mirrors the magnetization of the RE-TM employed as the current-source electrode in the planer Hall-bar structure. The results show that the inverse spin Hall effect contributes significantly to the TR. Along with the TR measurement, we formulate a minimal expression of the TR when out-of-plane-polarized electron and hole spin currents are injected from the magnetic electrode. Since this formulation is independent of the details of the SC coupling mechanism, it is applied to interpret the observation result to reveal the SC coupling characteristics of the RE-TM and YH2 set-up.