structed.perm {ShapDoE}R Documentation

Generate the structured samples of simple random samples

Description

Generate the structured samples of simple random samples

Usage

structed.perm(permatrix, jcom, d)

Arguments

permatrix

a matrix, each row is a permutation.

jcom

an integer, represents the target component. Hope that the component jcom appears the same number of at each position.

d

the number of components.

Value

a matrix represents the structured samples.

Examples

temp_samples<-matrix(nrow=10,ncol=5)
for(i in 1:10){temp_samples[i,]<-sample(1:5,5)}
structed.perm(temp_samples,3,5)

[Package ShapDoE version 1.0.0 Index]