Movatterモバイル変換


[0]ホーム

URL:


PC-Axis and the pxR package

R build status

PC-Axisis a software family consisting of a number of programs for the Windowsand Internet environment used to present statistical information. It isused by national and international institutions to publish statisticaldata.

Programs in the PC-Axis family use a particular data file format (seethe fullPX-Axisdata format description or this othertechnicaldocument). ThepxR package provides a set of functionsfor reading and writing PC-Axis files. This will facilitate the analysisof statistical data to the R community.

Reading PC-Axis files into R

Functionread.px reads a PC-Axis file from a givenlocation and returns an object of classpx containing allthe data and metadata in the original PC-Axis file.

The single most important piece of information within apxobject is the data matrix, which can be extracted into aR data.frame using functionas.data.frame. Forinstance,

my.px.object <- read.px("/path/to/pc-axis/file")my.px.data   <-  as.data.frame(my.px.object)

will create the data.framemy.px.data with the data inthe corresponding PC-Axis file.


[8]ページ先頭

©2009-2025 Movatter.jp