Message-ID: <CAM+rpYnF8JG1G8_V+khHX91qHeNa0JPEuis5SVWwCB2-a87fMQ@mail.gmail.com>
Date: 2017-06-20T13:23:18Z
From: Christopher W. Ryan
Subject: Help
In-Reply-To: <CAJtR53UAiEvzFpqk5ZnEYmLywp_DaTWEzVAv+jkUJgwFhkdZFA@mail.gmail.com>
Leonardo--
R-help can be a very useful resource. Some suggestions to use it well:
1. use an informative subject line, not "help"
2. include a "minimal working example:" a *little* data, the code that,
with those data, reproduces your problem, and the error message that
resulted.
As to your particular question, at this point I can only guess, but for
starters it would probably help to show the output of
str(ind.davis)
--Chris Ryan
On Tue, Jun 20, 2017 at 1:06 AM, Leonardo Malaguti <
leonardomalaguti27 at gmail.com> wrote:
> Dear expert friends,
> I'm pretty young of this world and my question at your eyes can be petty
> easy.
> I'll need to change the name of the levels inside a column of my data-frame
>
> levels(ind.davis$Ageclass) <- c("adult", "Juvanile", "sub-adult")
> names(ind.davis$Ageclass) <- c("Adult", "Juvenile", "Sub-adult")
> that is what I tried but of course doesn't work.
>
> Thanks,
> have a wonderful day,
> Leo
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]