X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Ftransformation.texi;h=e10cf8374fc16c4a37810c976568b91b5e950e37;hb=3c7a003b64e72aa4a6a97d5197f303c3cd1c6221;hp=dfacfcdaed1e5bb19e8e6055bdfef9b479dea12c;hpb=41a628f070c7a0d2e9468308cb1bf4ff77de9900;p=pspp diff --git a/doc/transformation.texi b/doc/transformation.texi index dfacfcdaed..e10cf8374f 100644 --- a/doc/transformation.texi +++ b/doc/transformation.texi @@ -1,3 +1,12 @@ +@c PSPP - a program for statistical analysis. +@c Copyright (C) 2017 Free Software Foundation, Inc. +@c Permission is granted to copy, distribute and/or modify this document +@c under the terms of the GNU Free Documentation License, Version 1.3 +@c or any later version published by the Free Software Foundation; +@c with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +@c A copy of the license is included in the section entitled "GNU +@c Free Documentation License". +@c @node Data Manipulation @chapter Data transformations @cindex transformations @@ -304,7 +313,8 @@ When @cmd{COMPUTE} is specified following @cmd{TEMPORARY} @vindex COUNT @display -COUNT @var{var_name} = @var{var}@dots{} (@var{value}@dots{}). +COUNT @var{var_name} = @var{var}@dots{} (@var{value}@dots{}) + [/@var{var_name} = @var{var}@dots{} (@var{value}@dots{})]@dots{} Each @var{value} takes one of the following forms: @var{number} @@ -579,7 +589,7 @@ The behaviour of the command is slightly different depending on whether it appears or not. If @samp{INTO @var{dest_vars}} does not appear, then values will be recoded -``in place´´. +``in place''. This means that the recoded values are written back to the source variables from whence the original values came. In this case, the @var{dest_value} for every mapping must imply a value which @@ -672,7 +682,7 @@ recode @end example @noindent Here we have two recodings. The first affects the source variable @var{a} and recodes in-place the value 2 into 22 and all other values to 99. -The second recoding copies the values of @var{b} into the the variable @var{z}, +The second recoding copies the values of @var{b} into the variable @var{z}, changing any instances of 1 into 3. @node SORT CASES