Profile cover photo
Profile photo
Sacha Epskamp
About
Sacha's posts

Post has attachment
Just got published! Our tutorial on network analysis for personality researchers using #Rstats: http://www.sciencedirect.com/science/article/pii/S0092656614000701

Post has attachment
My paper about the semPlot #Rstats  package  (http://sachaepskamp.com/semPlot) has been accepted into the journal Structural Equation Modeling!!

Post has attachment
Trying out +Yihui Xie 's knitr #rstats package and liking it alot so far! I made a shortcut for emacs using this bash script:

http://sachaepskamp.com/files/knit

which is a modified version of an earlier modified version of +Aleksandar Blagotić 's bash script for Sweave:

http://sachaepskamp.com/files/sweave

Enable them (C-c S for Sweave and C-c D for Knitr) with this in .emacs:


;; Sweave buffer - set global keybinding
(global-set-key (kbd "C-c s")
(lambda ()
(interactive)
(shell-command (concat "sweave " buffer-file-name))))
(global-linum-mode t)

;; Sweave buffer - set global keybinding
(global-set-key (kbd "C-c d")
(lambda ()
(interactive)
(shell-command (concat "knit " buffer-file-name))))
(global-linum-mode t)

Uploaded the last slides on my introductory course to LaTeX, which is about reproducible research and Sweave. With this the full material is now online:

http://sachaepskamp.com/latex-course

#rstats #LaTeX

Post has attachment
I've put a second version of #rstats package swst on GitHub:

https://github.com/SachaEpskamp/swst

Changed it to work with S3methods now. first time I use git so I might screw something up though:)

Loving #rstats 2.14 so far. Every package now has a NAMESPACE and I just ran a testrun of R CMD Sweave --pdf and saw that it not only included pdflatex but also bibtex and cleaned up afterwards :o

Post has attachment
Wrote a small #rstats package yesterday that only does one thing: Extract from an object gotten through a statistical test the statistic, df and p-value and print it in LaTeX format:

http://cran.r-project.org/web/packages/swst/index.html

As I said, very small: It is mainly aimed to lure R and LaTeX beginners in the wonderfull world of Sweave. If you have any ideas or any code snippets to extract the information of a certain class please let me know and I'll put you on the author list (if you want).

Before I waste time making it, is there an #rstats package that easilly formats and outputs statistical results in #LaTeX code to use in Sweave? Like:

R> somefunction( ttestobject )

resulting in:
"($t(..) = .., p < 0.001$)"

Any way to make Emacs + ESS R editor work in a shell way. That is, press up to retrieve last command rather than to go up in the window? #rstats
Wait while more posts are being loaded