Cetis Blogs - expert commentary on educational technology » R http://blogs.cetis.org.uk Specialists in educational technology and standards Tue, 12 May 2015 11:45:38 +0000 en-US hourly 1 http://wordpress.org/?v=4.1.22 Topic Models to explore and compare communities http://paddytherabbit.com/topic-models-explore-compare-communities/ http://paddytherabbit.com/topic-models-explore-compare-communities/#comments Mon, 11 Nov 2013 13:07:39 +0000 http://paddytherabbit.com/?p=471 Recently I’ve been playing with an R wrapper for a machine language library called Mallet  to generate lists of topics from a series of text documents. The technique is called Topic Modelling and I have gotten to grips with it from Ben Marwick‘s readings of archaeology papers which has some excellent reusable code.  A topic […]

The post Topic Models to explore and compare communities appeared first on David Sherlock.

The post Topic Models to explore and compare communities appeared first on Cetis Blogs - expert commentary on educational technology.

]]>
Recently I’ve been playing with an R wrapper for a machine language library called Mallet  to generate lists of topics from a series of text documents. The technique is called Topic Modelling and I have gotten to grips with it from Ben Marwick‘s readings of archaeology papers which has some excellent reusable code.  A topic in my model is simply a collection of words that make up the topic. Mallet can do all sorts of fancy things with the words and topics, it can tell me how likely a word is to appear in the topic, analyse text and tell me how much of that text belongs to which topics.

The post Topic Models to explore and compare communities appeared first on Cetis Blogs - expert commentary on educational technology.

]]>
http://paddytherabbit.com/topic-models-explore-compare-communities/feed/ 0
Changing Style – knitr and markdown in RStudio http://blogs.cetis.org.uk/adam/2013/10/25/changing-style-knitr-and-markdown-in-rstudio/ http://blogs.cetis.org.uk/adam/2013/10/25/changing-style-knitr-and-markdown-in-rstudio/#comments Fri, 25 Oct 2013 09:11:57 +0000 http://blogs.cetis.org.uk/adam/?p=760 Knitr support in RStudio is a nice but the default styling of the HTML output, in particular the treatment of tables, is not to my taste. It is possible to override the default handler for markdown, as described on the RStudio site, but this doesn’t immediately work when using knitr in RStudio as several posts […]

The post Changing Style – knitr and markdown in RStudio appeared first on Cetis Blogs - expert commentary on educational technology.

]]>
Knitr support in RStudio is a nice but the default styling of the HTML output, in particular the treatment of tables, is not to my taste. It is possible to override the default handler for markdown, as described on the RStudio site, but this doesn’t immediately work when using knitr in RStudio as several posts to stackoverflow etc testify (with some interesting workarounds proposed involving post-processing the output). This blog post (Neil Saunders) explains how to make it work but requires sourcing a file manually.

[..]

The post Changing Style – knitr and markdown in RStudio appeared first on Cetis Blogs - expert commentary on educational technology.

]]>
http://blogs.cetis.org.uk/adam/2013/10/25/changing-style-knitr-and-markdown-in-rstudio/feed/ 0