|
Dear list! I seem to remember that Venn diagrams was
discussed in this list several years ago but don’t remember the result.
Is it possible to draw o Venn diagram with 4 circles overlapping to various
degrees in SPSS or does it require some special program and in that case which? best Staffan Lindberg Sweden |
|
Administrator
|
You're right, this question was raised before.
http://old.nabble.com/Venn-diagrams-in-SPSS--ts25328451.html#a25328451
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
|
In reply to this post by Staffan Lindberg
|
|
This package does work under V18 (with R2.8), but the diagram from the code below was rather unsatisfactory, because it did not draw all the set boundary lines. But here is a version that yields a rather pleasing pattern. GET FILE='C:\spss18\Samples\English\employee data.sav'. compute rand1 = rv.normal(0,1). compute rand2 = rv.normal(0,1). compute rand3 = rv.normal(0,1). compute rand4 = rv.normal(0,1). BEGIN PROGRAM R. library(gplots) df <- spssdata.GetDataFromSPSS(variables="rand1 rand2 rand3 rand4") items <- list(df$rand1,df$rand2, df$rand3,df$rand4) venn(items) END PROGRAM. p.s. I would avoid using attach() like the plague. It causes horrible pollution of the namespace in R. (In my opinion, the R handling of namespaces is one of its biggest flaws.) END PROGRAM. Jon Peck SPSS, an IBM Company [hidden email] 312-651-3435
|
| Free forum by Nabble | Edit this page |
