search for: bailster

Displaying 7 results from an estimated 7 matches for "bailster".

Did you mean: alister
2018 May 22
0
Using tryCatch in a for loop
...call seems to be fine, however. -- Bert 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 Tue, May 22, 2018 at 11:30 AM, Bailey Hewitt <bailster at hotmail.com> wrote: > Hi Bert, > > > Thank you for the quick response! > > > In its current state the code prints three lines that say "warning". What > I was expecting is that I would get a matrix with 4 columns, 1. column > names (from the original data...
2018 May 22
0
Using tryCatch in a for loop
...misunderstood. Caveat emptor. Cheers, Bert 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 Tue, May 22, 2018 at 1:11 PM, Bailey Hewitt <bailster at hotmail.com> wrote: > Data and code as promised: > > #Creating a test dataset > Year<- c(2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, > 2011, 2012, 2013, 2014) > Lake1<- c(2, 4, 5, 2, 1, 1, 2, 3, 4, 5, 6, 2, 3, 1, 2) > Lake2<- c(1, 3, -1, 4,...
2018 May 22
2
Using tryCatch in a for loop
...> > 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 Tue, May 22, 2018 at 10:55 AM, Bailey Hewitt? <bailster at hotmail.com> wrote: >?? Hello All, > > I have been trying to use a for loop to run segmented regressions (from?R package segmented)?on many columns? of data in a data frame with the end goal of writing a new file with the following columns: column title, breakpoint year, slope, and...
2018 May 22
0
Using tryCatch in a for loop
...mpared to your expectations? Cheers, Bert 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 Tue, May 22, 2018 at 10:55 AM, Bailey Hewitt <bailster at hotmail.com> wrote: > Hello All, > > I have been trying to use a for loop to run segmented regressions (from R > package segmented) on many columns of data in a data frame with the end > goal of writing a new file with the following columns: column title, > breakpoint year...
2018 May 22
4
Using tryCatch in a for loop
...o your expectations? Cheers, Bert 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 Tue, May 22, 2018 at 10:55 AM, Bailey Hewitt <bailster at hotmail.com> wrote: Hello All, I have been trying to use a for loop to run segmented regressions (from?R package segmented)?on many columns? of data in a data frame with the end goal of writing a new file with the following columns: column title, breakpoint year, slope, and difference in...
2018 May 22
3
Using tryCatch in a for loop
Hello All, I have been trying to use a for loop to run segmented regressions (from?R package segmented)?on many columns of data in a data frame with the end goal of writing a new file with the following columns: column title, breakpoint year, slope, and difference in slope. Unfortunately, when one of the columns doesn't have a breakpoint the code stops and provides?an error or warning. I
2018 May 22
0
Using tryCatch in a for loop
...> > 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 Tue, May 22, 2018 at 10:55 AM, Bailey Hewitt <bailster at hotmail.com> wrote: > Hello All, > > I have been trying to use a for loop to run segmented regressions (from?R package segmented)?on many columns? of data in a data frame with the end goal of writing a new file with the following columns: column title, breakpoint year, slope, and...