Skip to content

Commit

Permalink
added examples, more talk, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeromy Anglim committed Jul 16, 2012
1 parent 88c432c commit b99ea1e
Show file tree
Hide file tree
Showing 40 changed files with 3,439 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,24 @@ I sent out an online query about things that people might like me to cover:
* "Best way of producing reproducible and visually appealing slideshows."
* "integration of Knitr with RStudio, so I'm interested in learning more about
that"



* integrate LaTex and R or exporting R results for writing reports or journal papers.
* I'm interested in how he uses RStudio & the applications of his reproducible
research (how does it get published? does he publish the whole report with
source? Share with his peers? Just remember it for later.
* I would be interested in experience-based best practices for keeping analyses
organised as well as reproducible. Any tips about streamlining the re-use of
analyses with different data sets would be good too.
* Latex
* I'm interested in reproducible analysis because it seems to offer the ability
to complete more experiments in less time. I'm most interested in the planning
that goes into it and how you would still have the flexibility to follow
results.
* Macros
* Any experience integrating with the new generation of javascript visualisation
tools like d3?
* workflow and good practice (e.g. spreading source code over multiple files vs
single file) in using Srstudio and markdown as an IDE, also in integrating them
with unit testing (e.g. Hadley Wickham's testthat package).



Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
305 changes: 305 additions & 0 deletions examples/markdown-introduction/markdown-introduction.html

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions examples/markdown-introduction/markdown-introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
## Basic markdown functionality

# Heading 1
## Heading 2
### Heading 3
#### Heading 4






### Basic formatting
Bold text: **Bold text**
Italics text: *italics text*

### Paragraphs
Insert blank line:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


### Dot Points
Simple dot points:

* Point 1
* Point 2
* Point 3

and numeric dot points:

1. Number 1
2. Number 2
3. Number 3

and nested dot points:

* A
* A.1
* A.2
* B
* B.1
* B.2



### Equations
Uses Mathjax to support LaTeX equations.

Inline equations: e.g., $y_i = \alpha + \beta x_i + e_i$.

Displayed equations:

$$
\frac{1}{1+\exp(-x)}
$$



### Hyperlinks

* [my RSS feed](http://feeds.feedburner.com/jeromyanglim).
* <http://www.r-project.org/>



### Images

![image description here](figure/buildings.jpg)







### Code
Inline code between backticks: e.g., `print('hello world!')`.

Displayed code can be tab indented or four space indented:

```{r}
x <- 1:10
x
```


### Quote
Quotes by adding greater than to start of each line.

> To be, or not to be, that is the question:
> Whether 'tis nobler in the mind to suffer
> The slings and arrows of outrageous fortune,

### Tables
Extended github table functionality:

A | B | C
--- | --- | ---
1 | Male | Blue
2 | Female | Pink

Or just write HTML:

<table border="1">
<tr>
<td>Cell A1</td>
<td>Cell B1</td>
</tr>
<tr>
<td>Cell A2</td>
<td>Cell B2</td>
</tr>
</table>



### HTML is passed through
Hyperlink
<a href="http://jeromyanglim.blogspot.com">My website</a>

E.g., new line
<hr />

HTML Symbol Entities

&alpha; &beta; &trade;






136 changes: 136 additions & 0 deletions examples/markdown-introduction/markdown-introduction.rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
## Basic markdown functionality

# Heading 1
## Heading 2
### Heading 3
#### Heading 4






### Basic formatting
Bold text: **Bold text**
Italics text: *italics text*

### Paragraphs
Insert blank line:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


### Dot Points
Simple dot points:

* Point 1
* Point 2
* Point 3

and numeric dot points:

1. Number 1
2. Number 2
3. Number 3

and nested dot points:

* A
* A.1
* A.2
* B
* B.1
* B.2



### Equations
Uses Mathjax to support LaTeX equations.

Inline equations: e.g., $y_i = \alpha + \beta x_i + e_i$.

Displayed equations:

$$
\frac{1}{1+\exp(-x)}
$$



### Hyperlinks

* [my RSS feed](http://feeds.feedburner.com/jeromyanglim).
* <http://www.r-project.org/>



### Images

![image description here](figure/buildings.jpg)







### Code
Inline code between backticks: e.g., `print('hello world!')`.

Displayed code can be tab indented or four space indented:

```{r}
x <- 1:10
x
```




### Quote
Quotes by adding greater than to start of each line.

> To be, or not to be, that is the question:
> Whether 'tis nobler in the mind to suffer
> The slings and arrows of outrageous fortune,

### Tables
Extended github table functionality:

A | B | C
--- | --- | ---
1 | Male | Blue
2 | Female | Pink

Or just write HTML:

<table border="1">
<tr><td>Cell A1</td>
<td>Cell B1</td></tr>
<tr><td>Cell A2</td>
<td>Cell B2</td></tr>
</table>



### HTML is passed through
Hyperlink
<a href="http://jeromyanglim.blogspot.com">My website</a>



E.g., new line
<hr />

HTML Symbol Entities

&alpha; &beta; &trade;






Loading

0 comments on commit b99ea1e

Please sign in to comment.