Sorry, I should have added I have loaded lavaan but apparently the fsr function was removed from the package, I've tried multiple versions of the package to no avail. This is the error message I get:
Error in fsr(CS_T1.model, data = MtvDataT12, fsr.method = "regression") :
could not find function "fsr"