help for cf (manual: [R] cf)
--------------------------------------------------------------------------------------------------------
Compare two datasets
cf varlist using filename [, verbose ]
Description
cf compares varlist of the data in memory (master data) to the corresponding variables in filename
(using data). cf returns 0 if the specified variables are identical and 9 if there are any differences.
Only the variable values are compared. Variable labels, value labels, notes, characteristics, etc. are
not compared.
Options
verbose mentions the result of the comparison variable-by-variable. If not specified, only differences
are mentioned.
Examples
. cf mpg weight displ using mydata
. cf _all using mydata
Also see
Manual: [R] cf
On-line: help for compare
或者net search compare
你会找到cf的其他版本
cf2 from http://fmwww.bc.edu/RePEc/bocode/c
'CF2': module to compare two datasets / cf2 is a slight variation of cf to
list the observations where / differences exist. Option verbose must be
specified to obtain / the listing. Like cf, cf2 compares varlist of the
data in memory / (master data) to the corresponding variables in filename
cf3 from http://fmwww.bc.edu/RePEc/bocode/c
'CF3': module to compare two datasets / cf3 matches observations by a
record id variable and lists the / observations where differences exist.
It compares variables of / the dataset in memory (the 'master' data) to
the corresponding / variables in a file (the 'using' data). Only the
[此贴子已经被作者于2007-11-14 15:26:18编辑过]