![]() ![]() ![]() library(memisc) Warning in readRDS(pfile): Eingabezeichenkette 'Martin Elff (with contributions from Christopher N. The following code extracts the SPSS portable file NES1948.POR from zip file NES1948.ZIP delivered with the memisc package. # We can now adjust the number of digits after the comma Before we start, we adjust knitrās output (with which this vignette is formatted) to produce HTML where possible. The following code also demonstrates how output created with some of the facilities of memisc can neatly integrated in reports generated with knitr. This allows to showcase not only data management facilities provided by memisc. This vignette is run with the help of the knitr package. It should be noted that the analyses reported in the following are conducted only for purpose of demonstrating the features of the package and are not to be considered of conclusive scientific evidence of any kind. In addition, a logit analysis is demonstrated and the collection of several logit coefficients into a comprehensive table by the mtable function. After loading this subset into memory, some descriptive analyses are conducted that showcase the construction of contingency tables and of general tables of descriptive statistics using the genTable function. This vignette starts with a demonstration how a data file can be examined before loading it and how a subset of the data can be loaded into memory. ![]() Unlike the 1948 ANES data, their size as well as, in some cases, legal restrictions prohibit the inclusion of such a data set into the package, however. Such larger data sets can be processed along the same lines as in this vignette. With 662 cases and 65 variables, the 1948 ANES data set is relatively small as compared to current social science data sets. The total number of cases in the data set is 662 and the number of variables is 65 (more details about this data set can be found at ). The data file contains data from to USA-wide surveys conducted October and November 1948 by the Survey Research Centre, University Michigan (principal investigators: Angus Campbell and Robert L. It is the data file of the American National Election Study of 1948 1 available from the American National Election Studies website. This vignette gives an example for the analysis of a typical social science data set. ![]()
0 Comments
Leave a Reply. |