[R] Retrieving the matched data frame from Matching?
David L Carlson
dcarlson at tamu.edu
Fri May 16 16:49:49 CEST 2014
The str() function will show you what is contained in m8. If you look at the manual page for Match:
> ?Match
the section labeled "Value" gives more details on what results are returned by the Match() function. The print() and summary() functions usually show abbreviated results. In this case a list with 20 elements returned. If you don't know what a list is or how to extract things from a list, you will have to learn more about R.
The official documentation: http://cran.r-project.org/manuals.html
User-contributed manuals and tutorials: http://cran.r-project.org/other-docs.html
David C
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Bert Gunter
Sent: Thursday, May 15, 2014 10:27 PM
To: Art Burke
Cc: r-help at r-project.org
Subject: Re: [R] Retrieving the matched data frame from Matching?
Don't know anything about this in particular, but ?str, as in
str(m8)
is often useful in such situations. But hopefully you'll get a better,
more specific answer.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch
On Thu, May 15, 2014 at 6:13 PM, Art Burke
<Art.Burke at educationnorthwest.org> wrote:
> I'm trying to use the Matching package to create a matched dataset but I'm having trouble retrieving the data frame where the comparison cases are identified. Could someone please give me a pointer on how to do this? The call was a simple one and seems to have worked with no errors ...
>
> m8 <- Match(TR = Tr8, X = X8, M = 2)
> summary(m8)
>
> Appeciated!
>
> Art
> ____________________________________________________________
> Arthur Burke, Ph.D.
> Senior Methodology Advisor
> Education Northwest
> 101 SW Main St., Ste 500
> Portland OR 97204
> Email: art.burke at educationnorthwest.org
> Phone: 503.275.9592
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list