text()

Add Text Annotations to ggplot2 Faceted Plot

August 31, 2012 | 0 Comments

In my experience with R learners there are two basic types. The “show me the code and what it does and let me play” type and the “please give me step by step directions” type. I’ve broken the following tutorial … Continue reading →
[Read more...]

igraph and structured text exploration

June 29, 2012 | 0 Comments

I am in the slow process of developing a package to bridge structured text formats (i.e. classroom transcripts)  with the tons of great R packages that visualize and analyze quantitative data (If you care to play with a rough build … Continue reading → [Read more...]

Example 8.33: Merging data sets one-to-many

April 5, 2011 | 0 Comments

It's often necessary to combine data from two data sets for further analysis. Such merging can be one-to-one, many-to-one, and many-to-many. The most common form is the one-to-one match, which we cover in section 1.5.7. Today we look at a one-to-man...
[Read more...]

Converting text files with sed

March 3, 2011 | 0 Comments

Sed is my friend to change fixed-width text files (e.g., from an R screen output) to a comma delimited file using sed 's/ */,/g' file1 __file2.csv Note the two spaces between s/ and */. [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)