Re: [R] What don't I understand about sample()?

2025-03-16 Thread avi.e.gross
Thanks for the clarification, Richard, as I clearly made the wrong guess of what you meant. Your idea or objection was that you see the included read.csv function as adequate and see no incentive to use read_csv, and especially not if that is the only function being used. I only partially agree

Re: [R] What don't I understand about sample()?

2025-03-16 Thread Rolf Turner
On Mon, 17 Mar 2025 00:52:46 +1300 "Richard O'Keefe" wrote: > Sure, R isn't perfect. But whenever I open the SAS manuals I remember > that things could be much worse. Fortune nomination! cheers, Rolf -- Honorary Research Fellow Department of Statistics University of Auckland Stats. De

Re: [R] What don't I understand about sample()?

2025-03-16 Thread Richard O'Keefe
I think you think I mistook read_csv for read.csv. Not so. The point was that base R with no additional packages loaded already contains a CSV reader which is entirely adequate for the task at hand. When you are already struggling with the basics of a system (like how often and when arguments ar

Re: [R] What don't I understand about sample()?

2025-03-16 Thread Rui Barradas
Hello, Inline. Às 01:31 de 16/03/2025, avi.e.gr...@gmail.com escreveu: Rui, I just want to discuss this point you made for now: 2. Systematic use of apply(., 1, mean). rowMeans (and colMeans) are much faster. You are, of course, technically correct. I consider an alte