pmax() 📈

Compare vectors with ease using `pmax(...)`. Pass multiple vectors, and voila! You have the element-wise maximum. With the optional `na.rm` parameter, handling missing values becomes a breeze.

pmin() 📉

Meet `pmin(...)`, your shortcut to element-wise minimum computation. Similar to pmax(), but for minimum values! Clean and simple.

Post:

spsanderson.com/steveondata/po

#tryityourself #codingmagic #dataanalysis #rprogramming

Last updated 2 years ago