Just to be clear, if you want to switch to f2fs, you need TWRP 2.8.7.0.
The option to change filesystem is inside the wipe menu.
The supported partitions are /data and /cache
By changing the filesystem of a partition, you are formatting it. By formatting /data you also lose the files on...