RandomSample[{e_1, e_2, ...}, n] gives a pseudorandom sample of n of the e_i.RandomSample[{w_1, w_2, ...} -> {e_1, e_2, ...}, n] gives a pseudorandom sample of n of the e_i ...
Read
(Built-in Mathematica Symbol) Read[stream] reads one expression from an input stream and returns the expression. Read[stream, type] reads one object of the specified type. Read[stream, {type_1, type_2, ...
Tally
(Built-in Mathematica Symbol) Tally[list] tallies the elements in list, listing all distinct elements together with their multiplicities.Tally[list, test] uses test to determine whether pairs of elements ...
WeightedAdjacencyMatrix[g] gives the adjacency matrix of edge weights of the graph g.
Now that we have introduced the basic features of patterns in Mathematica, we can use them to give a more or less complete example. We will show how you could define your own ...
In doing many kinds of calculations, you need to evaluate expressions when variables take on particular values. In many cases, you can do this simply by applying ...
Specifying formats for text in graphics. Here is a plot with default settings for all formats. Here is the same plot, but now using a 12-point bold font.
Diagnostics are an important part of analyzing models of data. Plots of residuals and leverage or influence measures provide valuable insight into whether assumptions of the ...
Affymetrix microarray data formats. Family of file formats used for the storage and exchange of microarray data and meta-information. ASCII or binary formats. Native formats ...
WolframAlpha["query"] sends query to Wolfram|Alpha and imports the output.WolframAlpha["query", format] imports the output according to the specified format.