Hi Yang, 

You can control the output with the p2s argument. Set it to p2s=0 and it will omit any printing.

Hope that helps!

Cheers,
Matt

~~~~~~~~~~~
Matthew Blackwell
Assistant Professor of Government
Harvard University
url: http://www.mattblackwell.org

On Thu Nov 20 2014 at 3:45:04 PM Yang Lu <yang.lu2014@gmail.com> wrote:
Hi,

Is there a way to hide the output on imputation iterations (such as Imputation 1, 2 etc) in the package? It seems that the imputation counts are hard-coded to print out the progress.

Thank you very much.

Yang

> library(Amelia)
Loading required package: foreign
Loading required package: RcppArmadillo
##
## Amelia II: Multiple Imputation
## (Version 1.7.2, built: 2013-04-03)
## Copyright (C) 2005-2014 James Honaker, Gary King and Matthew Blackwell
## Refer to http://gking.harvard.edu/amelia/ for more information
##
> data(freetrade)
> a.out <- amelia(freetrade, m = 5, ts = "year", cs = "country")
-- Imputation 1 --

  1  2  3  4  5  6  7  8  9 10

-- Imputation 2 --

  1  2  3  4  5  6  7  8  9 10 11 12 13

-- Imputation 3 --

  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19

-- Imputation 4 --

  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15

-- Imputation 5 --

  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16


--
Amelia mailing list served by HUIT
[Un]Subscribe/View Archive: http://lists.gking.harvard.edu/?info=amelia
More info about Amelia: http://gking.harvard.edu/amelia
Amelia mailing list
Amelia@lists.gking.harvard.edu

To unsubscribe from this list or get other information:

https://lists.gking.harvard.edu/mailman/listinfo/amelia