[R] generate levels with different number of replications with gl() function

hehsham alpukhity heshamibb at yahoo.com
Wed Feb 10 06:02:07 CET 2016


I am trying to use the function gl (generate levels with different number of replications), generate different number of replications in each level.examplei have factor with this levels (BR,CNS ,CO,LE,ME,LC,OV,PR,RE),
 and the replications is not the same , i want (4 replication for BR),( 6 replications for 
CNS,7 replications for CO,6 for LE,10 for ME,9 for LC,7 for OV, 2 for PR ,and 8 for RE).thank you v much . Hisham AL-bukhaiti  Ph.D Student (Information system )  China, changsha,Hunan university.  Mobile: 0068-15 111 4246 91.
	[[alternative HTML version deleted]]



More information about the R-help mailing list