Re: [R] how to extract data from a function printout - example provided

2011-06-26 Thread Ana Kolar
Oh. Fantastic! Many thanks for this, Sarah! Have a great week! Ana > >From: Sarah Goslee >To: Ana Kolar ; r-help >Sent: Sunday, 26 June 2011, 17:06 >Subject: Re: [R] how to extract data from a function printout - example >provided >

Re: [R] how to extract data from a function printout - example provided

2011-06-26 Thread Sarah Goslee
R > Sent: Sunday, 26 June 2011, 16:11 > Subject: Re: [R] how to extract data from a function printout - example > provided > > As a start, run matchit() for a test dataset and look at: > names(m.out) > and > names(summary(m.out)) > You can save those named components in the usua

Re: [R] how to extract data from a function printout - example provided

2011-06-26 Thread Sarah Goslee
As a start, run matchit() for a test dataset and look at: names(m.out) and names(summary(m.out)) You can save those named components in the usual ways. Sarah On Sun, Jun 26, 2011 at 10:06 AM, Ana Kolar wrote: > Hi there, > > Does anyone know how to extract data from a function that prints out tw

[R] how to extract data from a function printout - example provided

2011-06-26 Thread Ana Kolar
Hi there, Does anyone know how to extract data from a function that prints out two or more summaries? In the function below (the whole code is provided) we get 5 different tables of data. I would like to split each of these tables in a separate file (while the function itself shouldn't be chang