Errror message unexpected symbol

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

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

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.