thmsfuller...@gmail.com wrote: > Could you please help me understand what `_data` means and min doesn't > work row by row?
`_data` is just a name (once upon a time, it was called "x" but then someone wanted to create a new variable called x). min() calculates the scalar minimum of everything it gets. It doesn't work by row, because that's what pmin() does.... (It's a design choice, you just have to believe that it is intentional and that min(X,Y) == min(c(X,Y)) has useful applications). -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/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.