Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rowMatch

Count the frequency of a row vector in a data frame


Description

Count the frequency of a row vector in a data frame

Usage

rowMatch(df, vec = NULL)

Arguments

df

a data frame or matrix

vec

the vector for matching

Value

count the number of vector vec in the data frame

row.no row numbers of the vector vec in the data frame

Examples

df <- data.frame(V1=c(1L,2L),V2=LETTERS[1:3],V3=rep(1,12))
rowMatch(df,c(2,"B",1))

GDINA

The Generalized DINA Model Framework

v2.8.0
GPL-3
Authors
Wenchao Ma [aut, cre, cph], Jimmy de la Torre [aut, cph], Miguel Sorrel [ctb], Zhehan Jiang [ctb]
Initial release
2020-05-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.