doc: Move output examples from "examples" to "pspp-figures".
[pspp] / doc / pspp-figures / weight.sps
diff --git a/doc/pspp-figures/weight.sps b/doc/pspp-figures/weight.sps
new file mode 100644 (file)
index 0000000..6fe576e
--- /dev/null
@@ -0,0 +1,15 @@
+data list notable list /item (a16) quantity (f8.0).
+begin   data
+nuts    345
+screws  10034
+washers 32012
+bolts   876
+end data.
+
+echo 'Unweighted frequency table'.
+frequencies /variables = item /format=dfreq.
+
+weight by quantity.
+
+echo 'Weighted frequency table'.
+frequencies /variables = item /format=dfreq.