Errror message unexpected symbol

Hie i am trying to specify my colunm names and im seeing the error below how can i solve it
CODE
names(Billyt)<- c ("Village", "Time.resident.(yrs)", "Distance.to.pa.(km)", "Full.perimeter.fence", "Perimeter.ht.(m)", "Corral.distance.(m)", "Corral.ht.(m)", "Corral.area.(m²)", "Corral.strength.(1-5), "Wooden.poles", "Metal.poles", "Horizontal.poles", "Metal.wiring", "Brash", "Cattle.lion.corral.attacks" )

ERROR
Error: unexpected symbol in "names(Billyt)<- c ("Village", "Time.resident.(yrs)", "Distance.to.pa.(km)", "Full.perimeter.fence", "Perimeter.ht.(m)", "Corral.distance.(m)", "Corral.ht.(m)", "Corral.area.(m²)", "Corral.stre"

Youforgota"somewhere.
For analysis I personally would use shorter (but descriptive) names.
Only when reporting/publishing I would use column headers of the form that you use.

You missed a close bracket after Coral.Strength

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.