Hi John,
This should do what you want. I've changed your data.frame name for my own
convenience to "dat1".
###===
dat1 <- data.frame(
Time = c("Age.25","Age.35","Age.45","Age.55"),
Medians = c(128.25,148.75,158.5,168.75)
)
# create segments data.frame
Anupam,
Thanks for explaining you are talking about factors.
I see my friend Adrian has pointed out reasons you may want to use a package he
built called “declared” but my answer will be within the regular R domain as
you asked.
You should read up a bit on factors in a book, not just blindl
Thanks again, Avi. I will read up more on factors.
On Thu, 13 Jul, 2023, 8:51 pm , wrote:
> Anupam,
>
>
>
> Thanks for explaining you are talking about factors.
>
>
>
> I see my friend Adrian has pointed out reasons you may want to use a
> package he built called “declared” but my answer will be
3 matches
Mail list logo