..Hello,
..It is the mains current waveform into a simulation of a 10W flyback LED driver (mains voltage also shown)
Unfortunately, LTspice doesn't do power factor.
True power will be found at any point of the curve by multiplying the voltage * current at the same point of the 'X' vector. Therefore the power factor will be the apparent power/true power.