In this protocol the plot of the real data is embedded amongst a field of plots of data generated to be consistent with some null hypothesis. If the observe can pick the real data as different from the others, this lends weight to the statistical significance of the structure in the plot. The protocol is described in Buja, Cook, Hofmann, Lawrence, Lee, Swayne, Wickham (2009) Statistical inference for exploratory data analysis and model diagnostics, Phil. Trans. R. Soc. A, 367, 43614383.
1 
method 
method for generating null data sets 
true 
true data set. If 
n 
total number of samples to generate (including true data) 
pos 
position of true data. Leave missing to pick position at
random. Encryped position will be printed on the command line,

samples 
samples generated under the null hypothesis. Only specify this if you don't want lineup to generate the data for you. 
Generate n  1 null datasets and randomly position the true data. If you pick the real data as being noticeably different, then you have formally established that it is different to with pvalue 1/n.
1 2 3 4 5 6 7 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.