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 to
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
181 and input R code chunks which will be compiled by the
186 \begin_inset Flex URL
189 \begin_layout Plain Layout
191 http://yihui.name/knitr/
199 \begin_layout Standard
203 \begin_layout Plain Layout
205 <<sample-chunk, echo=TRUE>>=
208 \begin_layout Plain Layout
213 \begin_layout Plain Layout
218 \begin_layout Plain Layout
223 \begin_layout Plain Layout
233 \begin_layout Standard
234 You can also plot your data; see Figure
235 \begin_inset CommandInset ref
237 reference "fig:sample-figure"
244 \begin_layout Standard
245 \begin_inset Float figure
251 \begin_layout Plain Layout
255 \begin_layout Plain Layout
257 <<sample-figure, fig.width=5, fig.height=3, out.width='.4
261 linewidth', fig.align='center'>>=
264 \begin_layout Plain Layout
266 par(mar = c(4,4,.1,.1))
269 \begin_layout Plain Layout
271 plot(x, pch=19, col=1:10)
274 \begin_layout Plain Layout
284 \begin_layout Plain Layout
287 \begin_layout Plain Layout
289 \begin_inset CommandInset label
291 name "fig:sample-figure"
308 \begin_layout Standard
309 \begin_inset Note Note
312 \begin_layout Plain Layout
313 When you insert BibTeX bibliography here, do not use any bib styles.
314 The R Journal has declared the style to be
315 \begin_inset Quotes eld
319 \begin_inset Quotes erd
330 \begin_layout Standard
331 \begin_inset CommandInset bibtex
340 \begin_layout Standard
341 \begin_inset Flex Address
344 \begin_layout Plain Layout
346 \begin_inset Newline newline
349 Press Ctrl+Enter to input
350 \begin_inset Newline newline
359 \begin_inset Newline newline
363 \begin_inset Flex Email
366 \begin_layout Plain Layout
375 \begin_layout Standard
376 \begin_inset Flex Address
379 \begin_layout Plain Layout
386 \begin_inset Newline newline
390 \begin_inset Flex Email
393 \begin_layout Plain Layout
402 \begin_layout Standard
406 \begin_layout Plain Layout
416 \begin_inset Note Note
419 \begin_layout Plain Layout
422 begin{article} in the beginning of this article; now we close the
423 \begin_inset Quotes eld
427 \begin_inset Quotes erd