R/FreelistTable.Present.R

Defines functions FreeListTable.Present

Documented in FreeListTable.Present

#' @export
FreeListTable.Present <-
function(mydata,CODE="CODE",Order="Order",Salience="Salience", Subj="Subj",subjNum,CODEnum){
  if(any(mydata[,Subj]==subjNum & mydata[,CODE]==CODEnum, na.rm=TRUE ) ){    
    return(1)
  }else{
    return(0)
  }
  
}
alastair-JL/AnthroTools documentation built on Aug. 29, 2024, 9:36 a.m.