search for: tebert

Displaying 20 results from an estimated 29 matches for "tebert".

Did you mean: ebert
2024 Feb 28
1
Trouble reading a UTF-16LE file
...;2\t354,52\t24" [5] "8\t390,75\t1838" "2\t395,11\t-1053"> > Thanks Jim Holtman *Data Munger Guru* *What is the problem that you are trying to solve?Tell me what you want to do, not how you want to do it.* On Wed, Feb 28, 2024 at 9:23?AM Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > The earlier post had an attached text file that did not go through. > I hope this link works. I tested it with a coworker, but that is no > guarantee. > > > https://uflorida-my.sharepoint.com/:u:/g/personal/tebert_ufl_edu/EXf5u_CtTwJCrhdfTBIPr7wBefZHx4P_su...
2024 Feb 28
2
Trouble reading a UTF-16LE file
Dear R-help, I am having trouble reading a UTF-16LE formatted file. The issue appears to be a byte order mark at the beginning of the file. I have tried readLines(file, encoding='utf-16LE') but got me [1]"\xff\xfe1" "" "" "" "" "" Regards, Tim
2024 Apr 23
1
x[0]: Can '0' be made an allowed index in R?
Doesn't sound like you got the point. x[-1] normally removes the first element. With 0-based indices, this cannot work. - pd > On 22 Apr 2024, at 17:31 , Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > > You could have negative indices. There are two ways to do this. > 1) provide a large offset. > Offset <- 30 > for (i in -29 to 120) { print(df[i+Offset])} > > > 2) use absolute values if all indices are negative. > for (i in -200 to -1) {pr...
2024 Jul 19
1
Extract
Thank you and sorry for the confusion. The desired result should have 8 variables as a comma separated in each line. The string variable is considered as one variable. The output of your script is wfine for me. Thank you! On Fri, Jul 19, 2024 at 1:00?PM Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > > The desired result is odd. > 1) It looks like the string is duplicated in the desired result. The first line of data has "15, xc, Ab", and the desired result has "15, xc, Ab, 15, xc, Ab" > 2) The example has S1 through S5, but the desired r...
2024 Mar 02
1
Initializing vector and matrices
...es" in it. It's better to think of CONSTRUCTING vectors and matrices rather than INITIALISING them, because always being fully defined is important. It would be really really helpful to have a clearer idea of what you are trying to do. On Fri, 1 Mar 2024 at 03:31, Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > > You could declare a matrix much larger than you intend to use. This works with a few megabytes of data. It is not very efficient, so scaling up may become a problem. > m22 <- matrix(NA, 1:600000, ncol=6) > > It does not work to add a new column to the mat...
2024 Apr 23
2
x[0]: Can '0' be made an allowed index in R?
...23 9:03 a.m., Peter Dalgaard via R-help wrote: > Caution: External email. > > > Doesn't sound like you got the point. x[-1] normally removes the first element. With 0-based indices, this cannot work. > > - pd > >> On 22 Apr 2024, at 17:31 , Ebert,Timothy Aaron <tebert at ufl.edu> wrote: >> >> You could have negative indices. There are two ways to do this. >> 1) provide a large offset. >> Offset <- 30 >> for (i in -29 to 120) { print(df[i+Offset])} >> >> >> 2) use absolute values if all indices are negative. &...
2023 Mar 23
1
How to test the difference between paired correlations?
Thank you, but this now sounds more difficult: what would be the point in having these ready-made functions if I have to do it manually? Anyway, How would I implement the last part? On Thu, Mar 23, 2023 at 1:23?AM Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > > If you are open to other options: > The null hypothesis is that there is no difference. > If I have two equations y=x and y=z and there is no difference then it would not matter if an observation was from x or z. > Randomize the x and z observations. F...
2024 Feb 28
1
Trouble reading a UTF-16LE file
The earlier post had an attached text file that did not go through. I hope this link works. I tested it with a coworker, but that is no guarantee. https://uflorida-my.sharepoint.com/:u:/g/personal/tebert_ufl_edu/EXf5u_CtTwJCrhdfTBIPr7wBefZHx4P_suj4wAWb8i8HFA?e=iQawhh Regards, Tim
2024 Mar 02
1
Initializing vector and matrices
...o think of CONSTRUCTING vectors and matrices rather than > INITIALISING them, > because always being fully defined is important. > > It would be really really helpful to have a clearer idea of what you > are trying to do. > > On Fri, 1 Mar 2024 at 03:31, Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > > > > You could declare a matrix much larger than you intend to use. This works with a few megabytes of data. It is not very efficient, so scaling up may become a problem. > > m22 <- matrix(NA, 1:600000, ncol=6) > > > > It does not work to ad...
2024 Jun 13
1
Create a numeric series in an efficient way
Maybe this was your solution? blocC <- c(rep(x=c(1:13), times=84)) blocC <- arrange(.data = data.frame(blocC), blocC) The second line sorts, but that may not be needed depending on application. The object class is also different in the sorted solution. Tim -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Francesca PANCOTTO via R-help Sent:
2023 Dec 14
0
R-help Digest, Vol 250, Issue 13
...an/listinfo/r-help > PLEASE do read the posting guide http://www.r-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ------------------------------ Message: 6 Date: Wed, 13 Dec 2023 02:43:36 +0000 From: "Ebert,Timothy Aaron" <tebert at ufl.edu> To: varin sacha <varinsacha at yahoo.fr>, "r-help at r-project.org" <r-help at r-project.org>, Ben Bolker <bbolker at gmail.com> Subject: Re: [R] ggplot2: Get the regression line with 95% confidence bands Message-ID: <CH3PR22MB45...
2024 Feb 23
1
help - Package: stats - function ar.ols
...advance. > > > > Best regards, Pedro. > > > > > > ______________________________________________ > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://st/ > > at.ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=05%7C02%7Ctebert%40ufl > > .edu%7C0afd65836d774adc099408dc349f53c7%7C0d4da0f84a314d76ace60a6233 > > 1e1b84%7C0%7C0%7C638443106144255449%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi > > MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C > > %7C&sdata=12OGc13jk3Lejmcvx5WH8Bko8JSpRxbt...
2024 Jul 19
1
Extract
The desired result is odd. 1) It looks like the string is duplicated in the desired result. The first line of data has "15, xc, Ab", and the desired result has "15, xc, Ab, 15, xc, Ab" 2) The example has S1 through S5, but the desired result has data for eight variables in the first line (not five). 3) The desired result has a different number of variables for each line. 4)
2024 Sep 23
2
Loading multiple packages with install.packages()...
If you can get a vector with all the package names (I do not know how to do this) then you could do something like this; # Function to check and install missing packages install_if_missing <- function(pkg) { if (!require(pkg, character.only = TRUE)) { install.packages(pkg, dependencies = TRUE) } library(pkg, character.only = TRUE) } # List of required packages. packages <-
2023 Jun 29
1
Plotting factors in graph panel
...and then supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where *mydata* is your data. Copy the output and paste it here. On Thu, 29 Jun 2023 at 08:37, Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > Reposting the data did not help. We do not like to guess, and doing so > takes a great deal of time that is likely wasted. > Rows are observations. > Columns are variables. > In Excel, the first row will be variable names and all subsequent rows > will be...
2023 Jul 07
1
Plotting factors in graph panel
...ing like dput(head(mydata, > > > >> 100)) should supply the data we need. Just do dput(mydata) where > > > >> *mydata* is your data. Copy the output and paste it here. > > > >> > > > >> On Thu, 29 Jun 2023 at 08:37, Ebert,Timothy Aaron <tebert at ufl.edu> > > wrote: > > > >> > > > >>> Reposting the data did not help. We do not like to guess, and > > > >>> doing so takes a great deal of time that is likely wasted. > > > >>> Rows are observations. > > >...
2024 Apr 22
2
x[0]: Can '0' be made an allowed index in R?
...etaries) phone: > +64-9-373-7599 ext. 89622 > Home phone: +64-9-480-4619 > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat/ > .ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=05%7C02%7Ctebert%40ufl.edu > %7C79ca6aadcaee4aa3241308dc62d986f6%7C0d4da0f84a314d76ace60a62331e1b84 > %7C0%7C0%7C638493933686698527%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw > MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata= > wmv9OYcMES0nElT9OAKTdjBk%2BB55bQ7BjxOuaVVkPg4%3D&amp...
2024 Apr 23
1
x[0]: Can '0' be made an allowed index in R?
...23 9:03 a.m., Peter Dalgaard via R-help wrote: > Caution: External email. > > > Doesn't sound like you got the point. x[-1] normally removes the first element. With 0-based indices, this cannot work. > > - pd > >> On 22 Apr 2024, at 17:31 , Ebert,Timothy Aaron <tebert at ufl.edu> wrote: >> >> You could have negative indices. There are two ways to do this. >> 1) provide a large offset. >> Offset <- 30 >> for (i in -29 to 120) { print(df[i+Offset])} >> >> >> 2) use absolute values if all indices are negative. &...
2023 Oct 11
2
Problem with compatible library versions
...> > > > Best regards > > > > Sabine Braun > > > > > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat/ > .ethz.ch%2Fmailman%2Flistinfo%2Fr-help&data=05%7C01%7Ctebert%40ufl.edu > %7C86c81ebb0b184971b4eb08dbca52d5b3%7C0d4da0f84a314d76ace60a62331e1b84 > %7C0%7C0%7C638326229351781447%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw > MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sda > ta=kEpdr7GlTQwcaKCMfI0NJfWXrgCshp5DVALyiu%2FHG4I%3D&...
2023 Jul 06
1
Plotting factors in graph panel
...data is the dput() function. > > In the case of a large dataset something like dput(head(mydata, 100)) > should supply the data we need. Just do dput(mydata) where *mydata* is your > data. Copy the output and paste it here. > > On Thu, 29 Jun 2023 at 08:37, Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > >> Reposting the data did not help. We do not like to guess, and doing so >> takes a great deal of time that is likely wasted. >> Rows are observations. >> Columns are variables. >> In Excel, the first row will be variable names and all subse...