R/nnumattr.R

Defines functions nnumattr

Documented in nnumattr

nnumattr <-
function(df){
# Number of numeric attributes
 pct<-0
 for (i in 1:dim(df)[2]){
  if (is.numeric(df[,i])) pct<-pct+1
 }
 pct
}

Try the parviol package in your browser

Any scripts or data that you put into this service are public.

parviol documentation built on May 1, 2019, 9:12 p.m.