What am I doing wrong to create this Data Frame?

Shakil Ahmed Shaon :

Can you please tell me what I am doing wrong in this data frame?

df = data.frame(Body_Parts = c("Acne",
                           "Baldness",
                           "Scar Marks",
                           "Teeth",
                           "Private Parts",
                           "Nose",
                           "Protruding Belly",
                           "Face",
                           "Birth Marks",
                           "Grey Hair",
                           "Hand/Foot Size"
                           "Eye",
                           "Lips",
                           "Muscle Size",
                           "Others"),
            percentage = c(21.2, 
                           18.0, 
                           10.4, 
                           9.4, 
                           5.8, 
                           5.4, 
                           5.3, 
                           4.9, 
                           3.7, 
                           2.2, 
                           2.1, 
                           1.7, 
                           1.7,
                           1.3,
                           7.1))

I am continuously getting an error with this code. This is the error output enter image description here

Nikhil Gupta :

You are missing the , after "Hand/Foot Size"

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=382994&siteId=1