Apartment or House to rent in NJ

Hi All,
I am a new real estate investor in NJ.
I am looking to buy a property in central NJ (in or near Plainfield, North Plainfield) to rent out.
Would you recommend buying an apartment or a single family house? What are the advantages and drawbacks of each?