File: parOKgroups.R

package info (click to toggle)
r-cran-blockmodeling 1.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 912 kB
  • sloc: ansic: 2,024; f90: 952; sh: 13; makefile: 5
file content (7 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
"parOKgroups" <-
function(clu,
parOKaddParam #list of additional parameters, at lest k and groups
){
	isTRUE(all(cut(clu,c(0,cumsum(parOKaddParam$k)),labels =FALSE)==parOKaddParam$groups))
	
}