1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
6 \use_default_options true
10 \maintain_unincluded_children false
12 \language_package none
17 \font_typewriter default
18 \font_default_family default
19 \use_non_tex_fonts false
26 \default_output_format default
28 \bibtex_command default
29 \index_command default
30 \paperfontsize default
39 \cite_engine natbib_authoryear
42 \paperorientation portrait
51 \paragraph_separation indent
52 \paragraph_indentation default
53 \quotes_language english
56 \paperpagestyle default
57 \tracking_changes false
66 \begin_layout Standard
70 \begin_layout Plain Layout
72 <<setup, include=FALSE>>=
75 \begin_layout Plain Layout
77 render_sweave() # use Schunk, Sinput and Soutput environments defined by
81 \begin_layout Plain Layout
83 set_header(highlight = '') # no need for
88 \begin_layout Plain Layout
99 Capitalized Title Here
103 by Author A and Author B
106 \begin_layout Standard
107 \begin_inset Flex Abstract
110 \begin_layout Plain Layout
111 An abstract of less than 150 words.
119 \begin_layout Section
120 Section title in sentence case
123 \begin_layout Standard
124 Write something here.
126 \begin_inset CommandInset citation
135 \begin_layout Section
139 \begin_layout Standard
146 and input R code chunks which will be compiled with the
151 \begin_inset Flex URL
154 \begin_layout Plain Layout
156 http://yihui.name/knitr/
164 \begin_layout Standard
168 \begin_layout Plain Layout
170 <<sample-chunk, echo=TRUE>>=
173 \begin_layout Plain Layout
178 \begin_layout Plain Layout
183 \begin_layout Plain Layout
188 \begin_layout Plain Layout
198 \begin_layout Standard
199 You can also plot your data; see Figure
200 \begin_inset CommandInset ref
202 reference "fig:sample-figure"
209 \begin_layout Standard
210 \begin_inset Float figure
216 \begin_layout Plain Layout
220 \begin_layout Plain Layout
222 <<sample-figure, fig.width=5, fig.height=3, out.width='.4
226 linewidth', fig.align='center'>>=
229 \begin_layout Plain Layout
231 par(mar = c(4,4,.1,.1))
234 \begin_layout Plain Layout
236 plot(x, pch=19, col=1:10)
239 \begin_layout Plain Layout
249 \begin_layout Plain Layout
252 \begin_layout Plain Layout
254 \begin_inset CommandInset label
256 name "fig:sample-figure"
273 \begin_layout Standard
274 \begin_inset Note Note
277 \begin_layout Plain Layout
278 When you insert a BibTeX bibliography here, do not use any bib styles.
279 The R Journal has declared the style to be
280 \begin_inset Quotes eld
284 \begin_inset Quotes erd
295 \begin_layout Standard
296 \begin_inset CommandInset bibtex
305 \begin_layout Standard
306 \begin_inset Flex Address
309 \begin_layout Plain Layout
311 \begin_inset Newline newline
317 arg "newline-insert newline"
321 \begin_inset Newline newline
330 \begin_inset Newline newline
334 \begin_inset Flex Email
337 \begin_layout Plain Layout
346 \begin_layout Standard
347 \begin_inset Flex Address
350 \begin_layout Plain Layout
357 \begin_inset Newline newline
361 \begin_inset Flex Email
364 \begin_layout Plain Layout