Rainer M Krug <r.m.krug <at> gmail.com> writes: > > Hi > > I want to du a sensitivity analysis using Latin Hypercubes. But my > parameters have to fulfill two conditions: > > 1) ranging from 0 to 1 > 2) have to sum up to 1 >
Perhaps I'm missing something, but it seems that there's only one vector that satisfies these two conditions simultaneously, which is x={0,1} ... ??? (Actually, technically speaking you could have as many zeros as you wanted -- x = {0,0,0,1} would also work -- but I don't think that's going to help much.) If min(x)=0 and max(x)=1, then x must contain 0 and 1. If x contains any other non-zero values, and no negative ones, then sum(x)>1 ... You seem to have a problem either in your definitions, or in your communication of those definitions to us ... cheers Ben Bolker ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.