Re: [R] interval between specific characters in a string...

2022-12-04 Thread Hervé Pagès
On 04/12/2022 00:25, Hadley Wickham wrote: On Sun, Dec 4, 2022 at 12:50 PM Hervé Pagès wrote: On 03/12/2022 07:21, Bert Gunter wrote: Perhaps it is worth pointing out that looping constructs like lapply() can be avoided and the procedure vectorized by mimicking Martin Morgan's solution: ##

Re: [R-es] Resumen de R-help-es, Vol 166, Envío 1

2022-12-04 Thread patricio fuenmayor
Hola, adjunto proceso con lo que hago identificación y exclusión de outliers # analiza y filtra atípicos # ingresos disponibles ing_dsp_out1 <- dlookr::imputate_outlier(eda1,ing_dsp_vl,method="capping") ing_dsp_out2 <-

Re: [R] interval between specific characters in a string...

2022-12-04 Thread Micha Silver
On 04/12/2022 10:25, Hadley Wickham wrote: On Sun, Dec 4, 2022 at 1:22 PM wrote: This may be a fairly dumb and often asked question about some functions like strsplit() that return a list of things, often a list of ONE thing that be another list or a vector and needs to be made into

Re: [R] interval between specific characters in a string...

2022-12-04 Thread Hadley Wickham
On Sun, Dec 4, 2022 at 1:22 PM wrote: > > This may be a fairly dumb and often asked question about some functions like > strsplit() that return a list of things, often a list of ONE thing that be > another list or a vector and needs to be made into something simpler.. > > The examples shown

Re: [R] interval between specific characters in a string...

2022-12-04 Thread Hadley Wickham
On Sun, Dec 4, 2022 at 12:50 PM Hervé Pagès wrote: > > On 03/12/2022 07:21, Bert Gunter wrote: > > Perhaps it is worth pointing out that looping constructs like lapply() can > > be avoided and the procedure vectorized by mimicking Martin Morgan's > > solution: > > > > ## s is the string to be