R/get.cycle.counts.R

get.cycle.counts <-
function(closeMatrix){
	cycle.counts <- NULL
	for(i in 1:dim(closeMatrix)[2]){
		ncycles <- length(na.omit(closeMatrix[,i]))
		cycle.counts <- append(cycle.counts, ncycles)
		}
	return(cycle.counts)
	}

Try the cyphid package in your browser

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

cyphid documentation built on May 2, 2019, 2:41 a.m.