Skip to content

changing variables in a dataset

3 messages · schung, Federman, Douglas, David Winsemius

#
Hi! I just quasi-learned how to use R and I'm trying to change the feed from
horsebean, linseed, etc to 1, 2, 3, etc

The dataset I'm practicing on is pre-loaded in R

data(chickwts)
chickwts

Any help is much appreciated!!

Thank you!!