Re: [R] An opinion question, please

2025-04-07 Thread Rolf Turner
On Mon, 7 Apr 2025 11:35:44 -0600 Erin Hodgess wrote: > Hello everyone! > > I have an opinion question please. If I’m writing a new package, > would you recommend using S3 or S4 structure, please? > > I know I will get lots of opinions, but that’s fine. > > Thanks, > Erin See fortunes::fort

Re: [R] An opinion question, please

2025-04-07 Thread CALUM POLWART
Clearly something has gone terribly wrong. Everyone is saying use S3. This is an online discussion... So someone needs to support S4. Which frighteningly seems to be me! I'd caution you now... I first used an S4 object about two weeks ago and still have no real idea if they do what I think they do

Re: [R] An opinion question, please

2025-04-07 Thread Erin Hodgess
This is great, thank you so much! On Mon, Apr 7, 2025 at 3:32 PM Jeff Newmiller wrote: > My opinion is that you should use S3 unless you absolutely need some > syntactic sugar only offered by some other object system. > > Note that in a majority of cases you want to transform one standard data

Re: [R] An opinion question, please

2025-04-07 Thread Erin Hodgess
Thank you for the great advice! My users will typically be uploading or entering time series and looking at the results of disagreggation. These new series will be used for forecasting, or possibly further modeling. I’m not sure how familiar they will be with the object oriented structure. Erin

Re: [R] An opinion question, please

2025-04-07 Thread avi.e.gross
This too is a question, not really an attempt to provide an answer. What has happened with the proposed S7 object that can loosely be seen as an effort to somewhat merge S3 and S4 and perhaps more? Back to what Erin wrote that is interesting. If a package creates stand-alone objects that are pr

Re: [R] Can't join/merge two tibbles with lots of variables the way I want

2025-04-07 Thread Arnaud Gaboury
I managed to improve. Here is the code: # add a source column trade_df <- all_trade_final %>% mutate(source = "trade") %>% rename(value = time) close_df <- token_daily_close %>% mutate(source = "close") %>% rename(value = time) # binds the two tibbles time_all <- bind_rows(trade_df, close

Re: [R] An opinion question, please

2025-04-07 Thread Eric Berger
As Bert indicated, the more information you can provide about the package goals and intended users, the more appropriate the answers will be. Rob Hyndman and his group have made many contributions to the field of time series and the sub-field of forecasting, both on the theoretical and practical s

Re: [R] An opinion question, please

2025-04-07 Thread Bert Gunter
My *opinion*: 1. As it stands, this "opinion survey" seems pretty useless; 2. It *might* be more useful if you explained what the package will do, who it's intended users are, etc. -- Bert "An educated person is one who can entertain new ideas, entertain others, and entertain herself." On Mon

Re: [R] Request to Unsubscribe from R Forum Replies

2025-04-07 Thread David Winsemius via R-help
You need to unsubscribe yourself using the instructions at the list info page. You should be getting month reminder emails that include your password. None of the volunteer mods are able to access that password. — David. Sent from my iPhone > On Apr 7, 2025, at 4:23 AM, Loop Vinyl wrote: >

Re: [R] Can't join/merge two tibbles with lots of variables the way I want

2025-04-07 Thread Ebert,Timothy Aaron
The basic process is to make each tibble have one or more columns to merge by. Then merge the tibbles. Can you show us a couple of tries and describe why or how they failed? Note that you cannot merge using a row in one tibble and a column in the other tibble without first reshaping the first ti

Re: [R] Request to Unsubscribe from R Forum Replies

2025-04-07 Thread Uwe Ligges
On 07.04.2025 12:20, Loop Vinyl wrote: Hello, I would like to request the removal of my email address from the R forum reply/update list. I no longer wish to receive notifications or messages related to forum discussions. Thank you for your attention and understanding. Best regards,

[R] Request to Unsubscribe from R Forum Replies

2025-04-07 Thread Loop Vinyl
Hello, I would like to request the removal of my email address from the R forum reply/update list. I no longer wish to receive notifications or messages related to forum discussions. Thank you for your attention and understanding. Best regards, [[alternative HTML version deleted]]