subset: Subsetting Vectors, Matrices and Data Frames
https://rdrr.io/r/base/subset.html
This is a generic function, with methods supplied for matrices, dataframes and vectors (including lists). Packages and users can addfurther methods. For ordinary vectors, the result is simplyx[subset & !is.na(subset)]. For data frames, the subset argument works on the rows. Notethat subsetwill be evaluated in the data frame, so columns canbe referr...
This is a generic function, with methods supplied for matrices, dataframes and vectors (including lists). Packages and users can addfurther methods. For ordinary vectors, the result is simplyx[subset & !is.na(subset)]. For data frames, the subset argument works on the rows. Notethat subsetwill be evaluated in the data frame, so columns canbe referr...
DA: 50 PA: 67 MOZ Rank: 42