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
67 \begin_inset Note Note
70 \begin_layout Plain Layout
71 You have to put the body of your article inside the
72 \begin_inset Quotes eld
76 \begin_inset Quotes erd
79 enviroment defined by RJournal.sty.
87 \begin_layout Standard
91 \begin_layout Plain Layout
103 \begin_layout Standard
107 \begin_layout Plain Layout
109 <<setup, include=FALSE>>=
112 \begin_layout Plain Layout
114 render_sweave() # use Schunk, Sinput and Soutput environments defined by
118 \begin_layout Plain Layout
120 set_header(highlight = '') # no need for
125 \begin_layout Plain Layout
136 Capitalized Title Here
140 by Author A and Author B
143 \begin_layout Standard
144 \begin_inset Flex Abstract
147 \begin_layout Plain Layout
148 An abstract of less than 150 words.
156 \begin_layout Section
157 Section title in sentence case
160 \begin_layout Standard
161 Write something here.
163 \begin_inset CommandInset citation
172 \begin_layout Section
176 \begin_layout Standard
183 and input R code chunks which will be compiled with the
188 \begin_inset Flex URL
191 \begin_layout Plain Layout
193 http://yihui.name/knitr/
201 \begin_layout Standard
205 \begin_layout Plain Layout
207 <<sample-chunk, echo=TRUE>>=
210 \begin_layout Plain Layout
215 \begin_layout Plain Layout
220 \begin_layout Plain Layout
225 \begin_layout Plain Layout
235 \begin_layout Standard
236 You can also plot your data; see Figure
237 \begin_inset CommandInset ref
239 reference "fig:sample-figure"
246 \begin_layout Standard
247 \begin_inset Float figure
253 \begin_layout Plain Layout
257 \begin_layout Plain Layout
259 <<sample-figure, fig.width=5, fig.height=3, out.width='.4
263 linewidth', fig.align='center'>>=
266 \begin_layout Plain Layout
268 par(mar = c(4,4,.1,.1))
271 \begin_layout Plain Layout
273 plot(x, pch=19, col=1:10)
276 \begin_layout Plain Layout
286 \begin_layout Plain Layout
289 \begin_layout Plain Layout
291 \begin_inset CommandInset label
293 name "fig:sample-figure"
310 \begin_layout Standard
311 \begin_inset Note Note
314 \begin_layout Plain Layout
315 When you insert a BibTeX bibliography here, do not use any bib styles.
316 The R Journal has declared the style to be
317 \begin_inset Quotes eld
321 \begin_inset Quotes erd
332 \begin_layout Standard
333 \begin_inset CommandInset bibtex
342 \begin_layout Standard
343 \begin_inset Flex Address
346 \begin_layout Plain Layout
348 \begin_inset Newline newline
354 arg "newline-insert newline"
358 \begin_inset Newline newline
367 \begin_inset Newline newline
371 \begin_inset Flex Email
374 \begin_layout Plain Layout
383 \begin_layout Standard
384 \begin_inset Flex Address
387 \begin_layout Plain Layout
394 \begin_inset Newline newline
398 \begin_inset Flex Email
401 \begin_layout Plain Layout
410 \begin_layout Standard
414 \begin_layout Plain Layout
424 \begin_inset Note Note
427 \begin_layout Plain Layout
430 begin{article} in the beginning of this article; now we close the
431 \begin_inset Quotes eld
435 \begin_inset Quotes erd