latentcor is an R package provides estimation for latent correlation with mixed data types (continuous, binary, truncated and ternary).