Re: [R] Help with ggplot plot

2020-02-28 Thread Bill Poling
Hello Rui, this is it, thank you very much, sorry if my request was confusing. WHP From: Rui Barradas Sent: Friday, February 28, 2020 2:15 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help with ggplot plot [External Email] Hello, Now I'm not understanding, you want

Re: [R] Help with ggplot plot

2020-02-28 Thread Bill Poling
l(position = 'dodge') + facet_grid("InOutFlagAlpha") Thoughts? WHP From: Rui Barradas Sent: Friday, February 28, 2020 11:06 AM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help with ggplot plot [External Email] Hello, If you want faceting, a square grid can do it.

[R] Help with ggplot plot

2020-02-28 Thread Bill Poling
#RStudio Version 1.2.5019 sessionInfo() # R version 3.6.2 (2019-12-12) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows 10 x64 (build 17134) Hello, I am sure I am missing something simple. Here is my data, its aggregated and if need be I can unaggregate I guess: dput(tmp)

[R] Help with Identify the number (Count) of values that are less than 5 char and replace with 99999

2019-12-16 Thread Bill Poling
#RStudio Version 1.2.5019 sessionInfo() # R version 3.6.1 (2019-07-05) # Platform: x86_64-w64-mingw32/x64 (64-bit) # Running under: Windows 10 x64 (build 17134) Good morning. I have a factor that contains 1,418,303 Clinical Procedure Code (CPT). A CPT Code is 5 char. However, among my data

[R] Help with Vline in ggplot/ggplotly

2019-06-17 Thread Bill Poling
#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) Good morning. I am trying to add a Vline to a ggplot which will ultimately become ggplotly version My data span 2017 - 2019-06-11 with

Re: [R] Help with a third ggplot error

2019-06-15 Thread Bill Poling
= 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

Re: [R] Help with a third ggplot error

2019-06-15 Thread Bill Poling
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

[R] FW: Help with a third ggplot error

2019-06-15 Thread Bill Poling
() + + scale_color_tq() + + labs(title = "ARIMA(1,0,2)(0,1,0 with Drift For Net Edit Revenue") Error in FUN(X[[i]], ...) : object 'date2' not found Now I remain confused However, I sure appreciate everyone's time, thank you. WHP -Original Message- From: Bill Poling Sent: Saturday,

Re: [R] Help with a third ggplot error

2019-06-15 Thread Bill Poling
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

[R] FW: Help with a third ggplot error

2019-06-15 Thread Bill Poling
Yes, thank you I see that now Eric. What might I provide in addition that would be more useful? WHP From: Bill Poling Sent: Saturday, June 15, 2019 3:39 PM To: Eric Berger Cc: r-help (r-help@r-project.org) ; Bill Poling (bill.pol...@zelis.com) Subject: RE: [R] Help with a third ggplot error

Re: [R] Help with a third ggplot error

2019-06-15 Thread Bill Poling
, .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.frame(y=1

Re: [R] Help with a third ggplot error

2019-06-15 Thread Bill Poling
%>% 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, Jun 1

[R] Help with a third ggplot error

2019-06-14 Thread Bill Poling
#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!

Re: [R] Help with another ggplot error

2019-06-13 Thread Bill Poling
mp) %>% autocorrelate(NetEditRev, lags = 0:nrow(.)) %>% ggplot(aes(lag, acf)) + geom_point(alpha = 0.5, color = "#2c3e50") + expand_limits(y = c(-1, 1)) + theme_tq() + labs(title = "Autocorrelation For Net Edit Revenue") From: William Dunlap Sent: Thursda

[R] Help with another ggplot error

2019-06-13 Thread Bill Poling
#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 have created a function called autocorrelate. When I run it with ggplot I get this error: #Error in autocorrelate(.,

Re: [R] Please help with ggplot error Resolved!

2019-06-12 Thread Bill Poling
Hello Rui, yes, I thought of that and rebooted RStudio and only loaded the specific pkgs for this project and that fixed that issue. Thank you Rui! WHP From: Rui Barradas Sent: Wednesday, June 12, 2019 3:01 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Please help

Re: [R] Please help with ggplot error

2019-06-12 Thread Bill Poling
: no applicable method for 'margin' applied to an object of class "NULL" WHP From: Rui Barradas Sent: Wednesday, June 12, 2019 2:03 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Please help with ggplot error Hello, Works with me, as soon as I corrected "

Re: [R] Please help with ggplot error

2019-06-12 Thread Bill Poling
Oh my, sheesh! Oh my gosh! UGH! Thank you Rui! WHP From: Rui Barradas Sent: Wednesday, June 12, 2019 2:03 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Please help with ggplot error Hello, Works with me, as soon as I corrected "Loess" to "loess&quo

[R] Please help with ggplot error

2019-06-12 Thread Bill Poling
#RStudio Version 1.2.1335 sessionInfo() #R version 3.6.0 Patched (2019-05-19 r76539) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows 10 x64 (build 17134) Hello I am getting an error for which I have googled to remedy but have not found a resource for it. I found this but

Re: [R] Help with staked bar plot values Version 2

2019-05-30 Thread Bill Poling
= 1, vjust = 0.5)) + labs(title = "Plot Example") -Original Message----- From: Bill Poling Sent: Thursday, May 30, 2019 11:49 AM To: r-help (r-help@r-project.org) Cc: Bill Poling Subject: Help with staked bar plot values Version 2 Hello #RStudio Version 1.2.1335 sessionInfo() # R v

[R] Help with staked bar plot values Version 2

2019-05-30 Thread Bill Poling
Hello #RStudio Version 1.2.1335 sessionInfo() # R version 3.6.0 Patched (2019-05-19 r76539) # Platform: x86_64-w64-mingw32/x64 (64-bit) # Running under: Windows 10 x64 (build 17134) I am still trying to get this stacked bar plot with values incereted in the bars to work. str(df3)

[R] Help with staked bar plot values

2019-05-29 Thread Bill Poling
Hello #RStudio Version 1.2.1335 sessionInfo() # R version 3.6.0 Patched (2019-05-19 r76539) # Platform: x86_64-w64-mingw32/x64 (64-bit) # Running under: Windows 10 x64 (build 17134) I am all over the google map with this so far but have made progress.

Re: [R] Help with R coding

2019-05-22 Thread Bill Poling
Thank you William appreciate your response Sir. WHP From: William Michels Sent: Wednesday, May 22, 2019 9:58 AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help with R coding Morning Bill, I take it this is dplyr? You might try: tmp1 <- HCPC %>% group_by(HCP

Re: [R] Help with R coding

2019-05-22 Thread Bill Poling
Thank you Jeff! WHP From: Jeff Newmiller Sent: Wednesday, May 22, 2019 10:06 AM To: r-help@r-project.org; Rui Barradas ; Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help with R coding Generally more efficient to filter before grouping. Note that summarize clears out

Re: [R] Help with R coding

2019-05-22 Thread Bill Poling
Zelis Healthcare -Original Message- From: Rui Barradas Sent: Wednesday, May 22, 2019 9:46 AM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help with R coding Hello, Maybe filter the AllowByLimitFlag values first (not tested)? tmp1 <- tmp %>% group_by(HC

[R] Help with R coding

2019-05-22 Thread Bill Poling
Good morning. #R version 3.6.0 Patched (2019-05-19 r76539) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) I need a calculated field For the Rate of Avg_AllowByLimit where the Allowed_AmtFlag = TRUE BY Each Code I have almost got this. #So far I have

Re: [R] Help understanding the relationship between R-3.6.0 and RStudio

2019-05-19 Thread Bill Poling
Good morning, I will head your advice, good to know, thank you Peter. WHP From: peter dalgaard Sent: Saturday, May 18, 2019 4:44 AM To: Bill Poling Cc: Marc Schwartz ; R-help Subject: Re: [R] Help understanding the relationship between R-3.6.0 and RStudio Actually, you might go for 3.6.0

Re: [R] Help understanding the relationship between R-3.6.0 and RStudio

2019-05-17 Thread Bill Poling
ent: Friday, May 17, 2019 2:14 PM To: Bill Poling Cc: R-help Subject: Re: [R] Help understanding the relationship between R-3.6.0 and RStudio > On May 17, 2019, at 2:02 PM, Bill Poling <mailto:bill.pol...@zelis.com> wrote: > > Hello. > > I do not think I have ha

Re: [R] Help understanding the relationship between R-3.6.0 and RStudio

2019-05-17 Thread Bill Poling
Thank you Mark, I was unaware of the RC distinction and the multiple R version issue. Appreciate your help. WHP From: Marc Schwartz Sent: Friday, May 17, 2019 2:14 PM To: Bill Poling Cc: R-help Subject: Re: [R] Help understanding the relationship between R-3.6.0 and RStudio > On May

Re: [R] Help understanding the relationship between R-3.6.0 and RStudio

2019-05-17 Thread Bill Poling
Thank you Jeff, I will review the Global Options. WHP From: Jeff Newmiller Sent: Friday, May 17, 2019 2:12 PM To: r-help@r-project.org; Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help understanding the relationship between R-3.6.0 and RStudio This is actually a question

[R] Help understanding the relationship between R-3.6.0 and RStudio

2019-05-17 Thread Bill Poling
Hello. I do not think I have had this problem (assuming it is a problem) in the past. I downloaded and installed R3.6.0 which is indicted in the console when I open R itself. R version 3.6.0 RC (2019-04-24 r76423) -- "Planting of a Tree" Copyright (C) 2019 The R Foundation for Statistical

Re: [R] Help with loop for column means into new column by a subset Factor w/131 levels

2019-04-30 Thread Bill Poling
g <- hcd2tmp$AllowByLimit > hcd2tmp$Avg_AllowByLimit hcd2tmp$LimitByUnitsFlag <- hcd2tmp$LimitByUnits > hcd2tmp$Avg_LimitByUnits hcd2tmp$Allowed_AmtFlag <- hcd2tmp$Allowed_Amt > hcd2tmp$Avg_Allowed_Amt hcd2tmp$UnitsByDoseFlag <- hcd2tmp$UnitsByDose > hcd2tmp$Avg_UnitsByDose

[R] Help with loop for column means into new column by a subset Factor w/131 levels

2019-04-30 Thread Bill Poling
Good afternoon. #RStudio Version 1.1.456 sessionInfo() #R version 3.5.3 (2019-03-11) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) #I have a DF of 8 columns and 14025 rows str(hcd2tmp2) # 'data.frame':14025 obs. of 8 variables: # $

Re: [R] Help with Rmarkdown HTML Logo

2019-04-23 Thread Bill Poling
--Original Message----- From: Bill Poling Sent: Monday, April 22, 2019 10:37 AM To: r-help (r-help@r-project.org) Cc: Bill Poling Subject: Help with Rmarkdown HTML Logo Hello. #RStudio Version 1.1.456 sessionInfo() #R version 3.5.3 (2019-03-11) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running unde

[R] Help with Rmarkdown HTML Logo

2019-04-22 Thread Bill Poling
Hello. #RStudio Version 1.1.456 sessionInfo() #R version 3.5.3 (2019-03-11) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) I feel I have made great progress teaching myself RMarkdown using HTML reporting for the moment. However, one formatting item

Re: [R] Help with a setting some values of a df vector to 0 but not all values

2019-04-18 Thread Bill Poling
Thank you PIKAL Petr. From: PIKAL Petr Sent: Thursday, April 18, 2019 8:54 AM To: Bill Poling ; r-help (r-help@r-project.org) Subject: RE: Help with a setting some values of a df vector to 0 but not all values Hi seems to me simple Sample data > nozero <- c(1565, 1569, 1674, 415

Re: [R] Help with a setting some values of a df vector to 0 but not all values

2019-04-18 Thread Bill Poling
Yes, thank you Eric, that's got it, sheesh, I knew it was simple. Many thanks. WHP From: Eric Berger Sent: Thursday, April 18, 2019 8:47 AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help with a setting some values of a df vector to 0 but not all values df

[R] Help with a setting some values of a df vector to 0 but not all values

2019-04-18 Thread Bill Poling
Good morning. #RStudio Version 1.1.456 sessionInfo() #R version 3.5.3 (2019-03-11) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) I have a df column that looks like the below. #68 ID's including the 0 value I want to set all the values to 0 with the

Re: [R] Help with use RMarkdown and knitr in an rdm output to word.doc

2019-04-08 Thread Bill Poling
your advice. WHP -Original Message- From: Bill Poling Sent: Sunday, April 7, 2019 11:17 AM To: Jeff Newmiller ; r-help@r-project.org; r-help (r-help@r-project.org) Cc: Bill Poling Subject: RE: [R] Help with use RMarkdown and knitr in an rdm output to word.doc Hi Jeff, yes guilty

Re: [R] Help with use RMarkdown and knitr in an rdm output to word.doc

2019-04-07 Thread Bill Poling
have learned a lot from your assistance. WHP From: Jeff Newmiller Sent: Sunday, April 7, 2019 9:05 AM To: Bill Poling ; r-help@r-project.org; r-help (r-help@r-project.org) Subject: RE: [R] Help with use RMarkdown and knitr in an rdm output to word.doc The kable_styling function in your code

Re: [R] Help with use RMarkdown and knitr in an rdm output to word.doc

2019-04-07 Thread Bill Poling
From: Jeff Newmiller Sent: Saturday, April 6, 2019 6:51 PM To: Bill Poling ; r-help@r-project.org; r-help (r-help@r-project.org) Subject: RE: [R] Help with use RMarkdown and knitr in an rdm output to word.doc Read the help files for the functions in each code block that are actually producing

Re: [R] Help with use RMarkdown and knitr in an rdm output to word.doc

2019-04-06 Thread Bill Poling
utput: word_document: reference_docx: word-styles-reference-01.docx always_allow_html: yes --- SO needless to say am really disappointed! Whole Saturday on this, sheesh! Thanks for listening WHP From: Jeff Newmiller Sent: Saturday, April 6, 2019 2:25 PM To: Bill Poling ; r-hel

Re: [R] Help with use RMarkdown and knitr in an rdm output to word.doc

2019-04-06 Thread Bill Poling
it the links you provide once again. I have tried to find my problem solution in these earlier. Not surprisingly given the breadth and depth of information these links provide I have probably overlooked something nuanced yet highly important to the formatting issue I am having. Once again thank

[R] Help with use RMarkdown and knitr in an rdm output to word.doc

2019-04-06 Thread Bill Poling
Hello: #sessionInfo() #R version 3.5.3 (2019-03-11) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) #I have been struggling with learning how to use RMarkdown and knitr in an rdm while following this tutorial using my own data. #I Tried many months ago

Re: [R] Help with gsub function

2019-03-18 Thread Bill Poling
Sent: Monday, March 18, 2019 8:32 AM To: Bill Poling ; r-help (r-help@r-project.org) Subject: RE: Help with gsub function > tb2a$TID2 <- gsub(tb2a$TID, pattern="-[0-0]{0,7}", replacement = "") Just to add something on why this didn't work ... It looks like you were try

Re: [R] Help with gsub function

2019-03-17 Thread Bill Poling
Yep, thank you Jeff, consequence of the first url I landed on asking how to do it and rushing off. All set now. Appreciate your help. WHP From: Jeff Newmiller Sent: Friday, March 15, 2019 4:00 PM To: r-help@r-project.org; Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help

Re: [R] Help with gsub function

2019-03-16 Thread Bill Poling
Good morning Peter, yes that works fine. My attempt was based on a google search that looked promising but was obviously more complicated than it needed to be. Thank you. WHP From: Peter Langfelder Sent: Friday, March 15, 2019 3:53 PM To: Bill Poling Cc: r-help (r-help@r-project.org

[R] Help with gsub function

2019-03-15 Thread Bill Poling
Good afternoon. sessionInfo() #R version 3.5.3 (2019-03-11) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) I am using gsub function to remove a hyphen in a 9 character column of values in order to convert it to integer. Works fine except where the

[R] 3.5.3

2019-03-15 Thread Bill Poling
Good morning. This may have already been asked, if so my appologies. I want to upgrade to 3.5.3 however there is an alternative called patched. Do I want it or the basic 3.5.3? Thank you.

[R] Help with Cluster Tutorial Error

2019-02-15 Thread Bill Poling
Hi Jeff and David. Yes, updating all my Pkgs has done the trick. I will remember to try that first next time. As always I appreciate your help. Thank you. WHP From: Jeff Newmiller Sent: Friday, February 15, 2019 10:48 AM To: r-help@r-project.org; David L Carlson ; Bill Poling ; r-help (r

[R] Help with Cluster Tutorial Error

2019-02-15 Thread Bill Poling
sessionInfo() #R version 3.5.2 (2018-12-20) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) Hello I am working through this tutorial https://www.r-bloggers.com/10-tips-for-choosing-the-optimal-number-of-clusters/ And I run into an error almost immediately

Re: [R] Unable to compute Confidence Intervals from output from MARSS package

2019-01-23 Thread Bill Poling
Ashim. I see where I was mistaken, using MARSSparamsCIs(fit) <--Somehow I got an s in between param & Cis. I now get new error similarly as you, my apologies. final <- MARSSparamCIs(fit) Error in dpari[time.varying] <- dparmat(MLEobj, time.varying, t = t) : replacement has length zero

Re: [R] Unable to compute Confidence Intervals from output from MARSS package

2019-01-23 Thread Bill Poling
sessionInfo() #R version 3.5.2 (2018-12-20) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) Hello Ashim. I am not familiar with the MARSS pkg, however, I am always interested in following many of these R-Help questions and often run them for my own

Re: [R] large number of scrollable histograms....

2019-01-23 Thread Bill Poling
Hi akshay Kulkarni, I just worked through this great tutorial the other day, hope this helps! WHP https://www.r-bloggers.com/how-to-combine-multiple-ggplot-plots-to-make-publication-ready-plots/ From: R-help On Behalf Of Eric Berger Sent: Tuesday, January 22, 2019 8:59 AM To: PIKAL Petr

Re: [R] Help with K-Means output

2018-12-08 Thread Bill Poling
Terrific David, that's got it thanks again! From: David L Carlson Sent: Saturday, December 8, 2018 11:12 AM To: Bert Gunter ; Bill Poling Cc: R-help Subject: RE: [R] Help with K-Means output You should also read the manual page for ?split and learn how to work with lists: # Split the data

Re: [R] Help with K-Means output

2018-12-08 Thread Bill Poling
Thank you Bert. From: Bert Gunter Sent: Saturday, December 8, 2018 12:19 PM To: Bill Poling Cc: R-help Subject: Re: [R] Help with K-Means output See David Carlson's reply -- and his advice for learning about how to use lists. "And I can just join this DF with my original DF

Re: [R] Help with K-Means output

2018-12-08 Thread Bill Poling
Thank you David I will try that as well. WHP From: David L Carlson Sent: Saturday, December 8, 2018 11:12 AM To: Bert Gunter ; Bill Poling Cc: R-help Subject: RE: [R] Help with K-Means output You should also read the manual page for ?split and learn how to work with lists: # Split the data

Re: [R] Help with K-Means output

2018-12-08 Thread Bill Poling
14355 6 And I can just join this DF with my original DF used for the KMean, correct? The vertical order is the same? WHP From: Bert Gunter Sent: Saturday, December 8, 2018 10:46 AM To: Bill Poling Cc: R-help Subject: Re: [R] Help with K-Means output Please see ?kmeans and note the &q

[R] Help with K-Means output

2018-12-08 Thread Bill Poling
Good afternoon. I hope I have provided enough info to get my question answered. I am running windows 10 -- R3.5.1 -- RStudio Version 1.1.456 When running a K-Means clustering routine is it possible to get the actual data from each cluster into a DF? I have reviewed a number of tutorials and

[R] Help with factor column replacement value issue-SOLVED

2018-11-16 Thread Bill Poling
Q S U V # 19600 1671 543 2 8 147 281 660 16436 11414 Dear Bill When you do your step of replacing lower case l with upper case L the level still stays in the factor even though it is empty. If that is a nuisance x <- factor(x) will drop t

Re: [R] Help with factor column replacement value issue

2018-11-16 Thread Bill Poling
se L the >level still stays in the factor even though it is empty. If that is a >nuisance x <- factor(x) will drop the unused levels. There are other >ways of doing this. > >Michael > >On 16/11/2018 15:38, Bill Poling wrote: >> Hello: >> >> I am running wind

Re: [R] Help with factor column replacement value issue

2018-11-16 Thread Bill Poling
xclude = NULL) [1] a b Levels: a b ## Now only two levels Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Fri, Nov 16, 2018 at 7:38 AM Bill Po

[R] Help with factor column replacement value issue

2018-11-16 Thread Bill Poling
Hello: I am running windows 10 -- R3.5.1 -- RStudio Version 1.1.456 I would like to know why when I replace a column value it still appears in subsequent routines: My example: r1$B1 is a Factor: It is created from the first character of a list of CPT codes, r1$CPT. head(r1$CPT, N= 25) [1]

[R] glmutli package assistance please - error Solved

2018-11-15 Thread Bill Poling
NA Thank you for your support! WHP From: Michael Dewey Sent: Thursday, November 15, 2018 7:24 AM To: Bill Poling ; r-sig-mixed-mod...@r-project.org; r-help (r-help@r-project.org) Subject: Re: [R] glmutli package assistance please Dear Bill I am not sure what is going on here but I notic

[R] glmutli package assistance please

2018-11-15 Thread Bill Poling
Sir! WHP From: Michael Dewey Sent: Thursday, November 15, 2018 7:24 AM To: Bill Poling ; r-sig-mixed-mod...@r-project.org; r-help (r-help@r-project.org) Subject: Re: [R] glmutli package assistance please Dear Bill I am not sure what is going on here but I notice that 2 of your covariates

[R] glmutli package assistance please

2018-11-15 Thread Bill Poling
Hi, I have removed the pdf which was causing my e-mail to be blocked by moderators, my apologies. https://www.jstatsoft.org/article/view/v034i12/v34i12.pdf Original post: Hello. I am still trying to get some of the examples in this glmulti pdf to work with my data. I have sent e-mails to

[R] glmulti and plot highlight=

2018-11-01 Thread Bill Poling
Windows sessionInfo() #R version 3.5.1 (2018-07-02) Hi I am following along (using my own data) the processes described by "glmulti: An R Package for Easy Automated Model Selection with ( Generalized ) Linear Models" Journal of Statistical Software May 2010, Volume 34, Issue 12.

[R] New to R

2018-09-19 Thread Bill Poling
Hello Jim, as new use"R" myself, 1.5 years I HIGHLY recommend emersion. Subscribe to : https://www.r-bloggers.com/ https://stackoverflow.com http://blog.revolutionanalytics.com/ Anything Hadley Wickam, he has several free e-books. Depending on r-help

[R] [R-sig-Geo] Help with simple Map of US states with predefined regions Version 2 (Solved)

2018-09-14 Thread Bill Poling
, September 13, 2018 4:41 PM To: Bill Poling ; r-sig-...@r-project.org Subject: Re: [R-sig-Geo] Help with simple Map of US states with predefined regions Version 2 I know this is not a complete solution -- and it's a very different approach -- but it should at least show you a way to reliably get states

Re: [R] Help with simple Map of US states with predefined regions Version 2

2018-09-13 Thread Bill Poling
-project.org; Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help with simple Map of US states with predefined regions Version 2 Your data appear to be in fixed format, not space-delimited (or delimited by any other special character), so you should use read.fwf to read it in rather

[R] Help with simple Map of US states with predefined regions Version 2

2018-09-13 Thread Bill Poling
Hi, I hope someone can help me finalize this please. I am coming close to what I need using variations from two ggplot2 tutorials. This first gives me the map of the US with AK & HI but I cannot figure out how to get my 5 regions colored

[R] Help with simple Map of US states to predefined regions

2018-09-12 Thread Bill Poling
Hi I have this df with three columns ProviderState, ProviderStateCode, ProviderRegion I have reviewed fiftystater pkg and map pkg but not sure how to simply take these three columns and plot a simple 5 color map based on the Region the state is in? Do I need all the longitude and latitude

Re: [R] Obtaining Complete Dataset with Imputed Values

2018-08-30 Thread Bill Poling
Good morning Paul. I am unfamiliar with the package you are using but I have been working through the tutorial for this purpose using finalfit, if that is any help. Cheers WHP http://www.datasurg.net/2018/08/29/five-steps-for-missing-data-with-finalfit/ From: R-help On Behalf Of Paul

Re: [R] Help with finalfit and knitr

2018-08-08 Thread Bill Poling
1=Y 0=N View(dependent) df6 %>% summary_factorlist(dependent, explanatory, p=TRUE, add_dependent_label=TRUE) -> t1 View(t1) knitr::kable(t1, row.names=FALSE, align=c("l", "l", "r", "r", "r")) WHP From: Jeff Newmiller Sent: Wednesday, August

[R] Help with finalfit and knitr

2018-08-08 Thread Bill Poling
Hi using some of my own data I am trying to reproduce examples from this tutorial: https://cran.r-project.org/web/packages/finalfit/vignettes/finalfit_basics.html Here are my sys info: R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows Server >= 2012

[R] help with read function in Azure Data Lake Remote environment

2018-08-06 Thread Bill Poling
Hi, Locally I am using windows: R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 Locally on my laptop using RStudio I normally set my working directory and read in my csv files. setwd("C:/WHP/Appeals")

Re: [R] Help with knitr pkg

2018-07-19 Thread Bill Poling
gt; to get a more general understanding about using knitr within RMarkdown context.<<<< From: Rainer Hurling Sent: Thursday, July 19, 2018 3:45 AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help with knitr pkg Hi Bill, Am 18.07.18 um 18:33 schrieb Bill Poling: &g

[R] Help with knitr pkg

2018-07-18 Thread Bill Poling
Hi, I worked through this excellent tutorial: #Elegant regression results tables and plots in R: the finalfit package https://www.r-bloggers.com/elegant-regression-results-tables-and-plots-in-r-the-finalfit-package/ Now I am applying it to my own data. In the tutorial there is mention of: #

[R] R and Logistic Regression Classifier for ML

2018-07-16 Thread Bill Poling
Good morning. I am looking for an R package and possibly at tutorial using Logistic Regression as the classifier in a ML algorithm. I located this URL for use with R pkg "e1071" and the SVM classifier which seems splendid, however, I cannot locate a comparable reference similarly for Logistic

Re: [R] Help with replace()

2018-07-12 Thread Bill Poling
2-12-31" WHP From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Thursday, July 12, 2018 11:29 AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help with replace() > On Jul 12, 2018, at 8:17 AM, Bill Poling > mailto:bill.pol...@zelis.com>> wrote: &g

[R] Help with replace()

2018-07-12 Thread Bill Poling
R version 3.5.1 (2018-07-02) -- "Feather Spray" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) Hi. I have data set with day month year integers. I am creating a date column from those using lubridate. a hundred or so rows failed to

[R] FW: Structure to ts Error in attributes(.Data) <- c(attributes(.Data), attrib) :

2018-07-03 Thread Bill Poling
Hi, I have my solution. It should be .Tsp=c(2016,2018.417,12) (off by one error) Thank you. WHP From: Bill Poling Sent: Tuesday, July 03, 2018 11:24 AM To: r-help (r-help@r-project.org) Cc: Bill Poling Subject: Structure to ts Error in attributes(.Data) <- c(attributes(.Data), att

[R] Structure to ts Error in attributes(.Data) <- c(attributes(.Data), attrib) :

2018-07-03 Thread Bill Poling
Hi, obviously missing something here? Getting error: Error in attributes(.Data) <- c(attributes(.Data), attrib) : invalid time series parameters specified dat3 <- structure(c(1439713.32, 1265962.79, 1491834.9, 1276180.74, 1702077.51, 1420186.1, 1469240.11, 1415855.34, 1592933.06, #9

Re: [R] Help with transpose please.

2018-06-26 Thread Bill Poling
183056008 78044473C562 C778C784C786 C7961 C7982 C7989 3183139945 78078925 M79606M7989R600 From: Daniel Nordlund [mailto:djnordl...@gmail.com] Sent: Saturday, June 23, 2018 6:04 AM To: Bill Poling ; r-help (r-help@r

Re: [R] Help with transpose please.

2018-06-26 Thread Bill Poling
Thank you Dan, that was very helpful. Sorry for the delayed response. Cheers WHP From: Daniel Nordlund [mailto:djnordl...@gmail.com] Sent: Saturday, June 23, 2018 6:04 AM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help with transpose please. On 6/22/2018 4:43 AM, Bill

Re: [R] Help with transpose please.

2018-06-22 Thread Bill Poling
Thank you Ramesh, I will investigate, appreciate your response Sir! WHP From: Ramesh YAPALPARVI [mailto:ramesh.yapalpa...@icloud.com] Sent: Friday, June 22, 2018 7:47 AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help with transpose please. Please check out tidyr

Re: [R] Help with transpose please.

2018-06-22 Thread Bill Poling
you suggest and report back thank you again Sir! WHP From: Bert Gunter [mailto:bgunter.4...@gmail.com] Sent: Friday, June 22, 2018 11:54 AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help with transpose please. 1. "The max number of columns based on this tran

[R] Help with transpose please.

2018-06-22 Thread Bill Poling
Good morning. I have data in the form: head(Edit041IA, n=25) ClaimServiceID ClaimID DiagnosisCode 1 183056004 78044473 C562 2 183056004 78044473 C778 3 183056004 78044473 C784 4 183056004 78044473 C786 5 183056004 78044473

Re: [R] Data frame with Factor column missing data change to NA

2018-06-14 Thread Bill Poling
859932257 Remove Good to go now, for the moment, big smile! Thank you for your help Sir. WHP From: Bill Poling Sent: Thursday, June 14, 2018 6:49 AM To: 'Jim Lemon' Cc: r-help (r-help@r-project.org) Subject: RE: [R] Data frame with Factor column missing data change to NA #Good mornin

Re: [R] Data frame with Factor column missing data change to NA

2018-06-14 Thread Bill Poling
nded savings Claim paid without PHX recommended savings MRC Amount MRC Amount Appreciate your help Sir. WHP From: Jim Lemon [mailto:drjimle...@gmail.com] Sent: Wednesday, June 13, 2018 8:30 PM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Data frame with Fact

Re: [R] Help installing the finalfit package

2018-06-13 Thread Bill Poling
Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help installing the finalfit package > On Jun 13, 2018, at 3:20 AM, Bill Poling > mailto:bill.pol...@zelis.com>> wrote: > > Good morning David, thank you for your reply. > > However, I am not sure what you mean reg

[R] Data frame with Factor column missing data change to NA

2018-06-13 Thread Bill Poling
Good morning. #I have df with a Factor column called "NonAcceptanceOther" that contains missing data. #Not every record in the df is expected to have a value in this column. # Typical values look like: # ERS # Claim paid without PHX recommended savings # Claim paid without PHX recommended

Re: [R] Help installing the finalfit package

2018-06-13 Thread Bill Poling
AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help installing the finalfit package > On Jun 12, 2018, at 5:00 AM, Bill Poling > mailto:bill.pol...@zelis.com>> wrote: > > Good morning. Over the weekend I worked through this tutorial on > bloggers.co

[R] Help installing the finalfit package

2018-06-12 Thread Bill Poling
Good morning. Over the weekend I worked through this tutorial on bloggers.com at home where I am on 3.5.5: #Elegant regression results tables and plots in R: the finalfit package https://www.r-bloggers.com/elegant-regression-results-tables-and-plots-in-r-the-finalfit-package/ Here at my office

Re: [R] Help with "ERROR: lazy loading failed for package 'psycho'"

2018-06-06 Thread Bill Poling
Yep, terrific, that’s got it, thank you Eric! WHP From: Eric Berger [mailto:ericjber...@gmail.com] Sent: Wednesday, June 06, 2018 7:50 AM To: Bill Poling Cc: r-help (r-help@r-project.org) Subject: Re: [R] Help with "ERROR: lazy loading failed for package 'psycho'" > install.pac

[R] Help with "ERROR: lazy loading failed for package 'psycho'"

2018-06-06 Thread Bill Poling
Good morning. In my continuing pursuit of self-taught R programming I am interested in following the tutorial provided by Bloggers.com "Beautiful and Powerful Correlation Tables in R" https://www.r-bloggers.com/beautiful-and-powerful-correlation-tables-in-r-2/ 3/ Although, I have hit a snag

Re: [R] Time-series moving average question

2018-06-04 Thread Bill Poling
Good morning Don, thank you for your support. I will give this all more investigation and submit my findings when finalized. Cheers and thanks again for your help Sir. WHP From: MacQueen, Don [mailto:macque...@llnl.gov] Sent: Friday, June 01, 2018 5:03 PM To: Bill Poling ; r-help (r-help@r

Re: [R] Time-series moving average question

2018-06-01 Thread Bill Poling
the same 8 Point Forecast values, is that coincidental you think? Terrific of you to help, I really appreciate it. WHP From: MacQueen, Don [mailto:macque...@llnl.gov] Sent: Friday, June 01, 2018 12:54 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Time-series moving average

Re: [R] Time-series moving average question

2018-06-01 Thread Bill Poling
, Don [mailto:macque...@llnl.gov] Sent: Friday, June 01, 2018 11:24 AM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Time-series moving average question My guess would be that if you inspect the output from ma(dat3[1:28], order=3) you will find some NAs in it. And then forecast

[R] Time-series moving average question

2018-06-01 Thread Bill Poling
Good morning, I hope someone can help with these questions, or perhaps suggest one of the other R-lists? I have two questions: 1. Why am I getting this warning? 2. Why is the second example "Point Forecast" the same value, I do not see that in previous attempts with similar but

  1   2   >