File: is.present.s

package info (click to toggle)
hmisc 5.2-5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,044 kB
  • sloc: asm: 28,907; f90: 590; ansic: 415; xml: 160; fortran: 75; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 99 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
is.present <- function(x)
{
  if(is.character(x))
    return(x!="")
  else
    return(!is.na(x))
}