Panel data correlation test

Hello, is there an equivalent code to stata xtcsd , [ pesaran, friedman, frees ] tests???How do i estimate these correlation tests for panel data models?

the plm package has pcdtest