[R] Call for proposals to organize useR! 2023 as a global online conference

2022-03-14 Thread Heather Turner
Dear All, The R Foundation Conference Committee invites proposals to organize useR! 2023 as a global online conference: https://www.r-project.org/conferences/useR_2023_call.html The call is open to teams worldwide and the deadline for outline proposals is **Friday 22 April 2022**. Any querie

Re: [R] how to rename variables by lopping off first 3 characters

2022-03-14 Thread Jeff Newmiller
If the phrase "some of the variable names begin with" actually turns out to be a sloppy version of "the first column name begins with", then the best solution is probably to specify fileEncoding="UTF-8-BOM" as an argument to read.csv before trying all this fix-after-the-fact work. This will also

Re: [R] [External Email] Re: how to rename variables by lopping off first 3 characters

2022-03-14 Thread Christopher W Ryan via R-help
Thanks! This has gotten me on the right track. One of my mistakes was that I was explicitly using the word select, as in rename_at(select(starts_with or rename_at(select(vars(starts_with --Chris Ryan On Mon, Mar 14, 2022 at 1:11 PM Bert Gunter wrote: > If you care to entertain this,

Re: [R] how to rename variables by lopping off first 3 characters

2022-03-14 Thread Bert Gunter
If you care to entertain this, one of many simple base R ways to do this is: dat <- data.frame( +i..One = 1:3, +i..Two = letters[1:3], +ixx = 5:7) > dat i..One i..Two ixx 1 1 a 5 2 2 b 6 3 3 c 7 > nm <- names(dat) > nm <- ifelse(substring(nm, 1,3)

Re: [R] Sorting boxplots

2022-03-14 Thread Erich Subscriptions
Make the grouping variable into a factor end define the level ordering. ?factor will tell you more. > On 14.03.2022, at 17:39, Ebert,Timothy Aaron wrote: > > Set the factor levels rather than using the R default. > > -Original Message- > From: R-help On Behalf Of Fernando Archuby > Sen