Nobody else has asked the obvious question: why are the data squashed
together
like that in the first place? why not modify the process that generates the
data so that it does not do that? Jamming things together like that is not
common practice with CSV files, so what does the CSV file look lik
Thanks a lot Boris, I tried out your worked out solution and it works just
perfectly fine. No doubt I need a lot of practice with regexr and the pattern
stated by you - I will do that now. Thanks a lot for pointing me in the right
direction. Appreciate it a lot.
Sam.
On Monday, 17 June 2
And slightly differently with strcapture (using Jim Lemon's reprex):
mydf <- strcapture("([a-zA-Z
]+)([0-9]+\\.[0-9]+)",scdf$V1,data.frame(Channel="none",Price=0))
change the regex as needed, following Boris' advice.
steve
On 6/17/19, 5:09 AM, "R-help on behalf of Boris Steipe"
wrote:
(Technically you are now thread-hijacking. But here goes:)
mydf <- data.frame(V11 = c("DD Pack0.002",
"FTA English News0.003",
"FTA Complimentary0.004"),
stringsAsFactors = FALSE)
# regex matching start-of-string(letters or
Hello All,
I need help with splitting a string. My data frame is in the following format:
V11 DD Pack0.002 FTA English News0.003 FTA
Complimentary0.004 WB1.185 WION1.186 Al
Jazeera0.007 Animal Planet2.368 Asianet M
=
test_tbl
Oh my gosh!
Thank you all so much!
Please enjoy the rest of your weekend!
WHP
From: Roy Mendelssohn - NOAA Federal
Sent: Saturday, June 15, 2019 3:49 PM
To: Bill Poling
Cc: Richard M. Heiberger ; r-help (r-help@r-project.org)
Subject: Re: [R] Help with a third ggplot error
If I were a
Thank you Roy, great suggestion, reviewing the link and trying steps now.
WHP
From: Roy Mendelssohn - NOAA Federal
Sent: Saturday, June 15, 2019 3:49 PM
To: Bill Poling
Cc: Richard M. Heiberger ; r-help (r-help@r-project.org)
Subject: Re: [R] Help with a third ggplot error
If I were a
now, UGH!
WHP
From: Rui Barradas
Sent: Saturday, June 15, 2019 3:51 PM
To: Bill Poling ; Richard M. Heiberger
Cc: r-help (r-help@r-project.org)
Subject: Re: [R] Help with a third ggplot error
Hello,
Inline.
Às 20:29 de 15/06/19, Bill Poling escreveu:
> Hello Richard, thank you for your resp
, col_lengths(x))
14. tibble:::check_valid_cols(x)
From: Richard M. Heiberger
Sent: Saturday, June 15, 2019 3:17 PM
To: Bill Poling
Cc: r-help (r-help@r-project.org)
Subject: Re: [R] Help with a third ggplot error
you did something like this:
mydf <- data.frame(y=1:16,
+ AA=rep(factor(lette
me_repair, col_lengths(x))
> 14. tibble:::check_valid_cols(x)
>
> From: Richard M. Heiberger
> Sent: Saturday, June 15, 2019 3:17 PM
> To: Bill Poling
> Cc: r-help (r-help@r-project.org)
> Subject: Re: [R] Help with a third ggplot error
>
> you did something like this:
o_tibble(x, .rows, .name_repair, col_lengths(x))
14. tibble:::check_valid_cols(x)
From: Richard M. Heiberger
Sent: Saturday, June 15, 2019 3:17 PM
To: Bill Poling
Cc: r-help (r-help@r-project.org)
Subject: Re: [R] Help with a third ggplot error
you did something like this:
> mydf <- data
looking for split to be 3 months from the end of current time
> period. etc depends on our date period
>
> train_tbl <- dftmp %>%
> filter(Date2 < ymd(train_test_split_date))
>
> test_tbl <- dftmp %>%
> filter(Date2 >= ymd(train_test_split_date))
>
&g
%>%
filter(Date2 >= ymd(train_test_split_date))
From: Eric Berger
Sent: Saturday, June 15, 2019 2:54 PM
To: Bill Poling
Cc: r-help (r-help@r-project.org)
Subject: Re: [R] Help with a third ggplot error
Is this supposed to be a reprex? I don't see where train_tbl is defined.
On Fri,
you did something like this:
> mydf <- data.frame(y=1:16,
+AA=rep(factor(letters[1:8]), 2),
+BB=rep(factor(LETTERS[12:13]), each=8),
+CC=rep(factor(rep(LETTERS[9:11], times=c(3,1,4))), 2))
> ggplot(mydf, aes(ls, y))
Don't know how to auto
Is this supposed to be a reprex? I don't see where train_tbl is defined.
On Fri, Jun 14, 2019 at 10:30 PM Bill Poling wrote:
> #RStudio Version 1.2.1335
> sessionInfo()
> #R version 3.5.3 (2019-03-11)
> #Platform: x86_64-w64-mingw32/x64 (64-bit)
> #Running under: Windows >= 8 x64 (build 9200)
>
#RStudio Version 1.2.1335
sessionInfo()
#R version 3.5.3 (2019-03-11)
#Platform: x86_64-w64-mingw32/x64 (64-bit)
#Running under: Windows >= 8 x64 (build 9200)
Hello I am fitting an Arima model and all appears to go well until I get to the
ggplot, (again, lots of laughs).
Deja Vu all over again! (
16 matches
Mail list logo