1 #LyX 2.1 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
19 \font_default_family default
20 \use_non_tex_fonts false
26 \default_output_format default
28 \bibtex_command bibtex
29 \index_command default
30 \paperfontsize default
35 \use_package amsmath 1
36 \use_package amssymb 1
39 \use_package mathdots 1
40 \use_package mathtools 0
42 \use_package stackrel 0
43 \use_package stmaryrd 0
44 \use_package undertilde 0
46 \cite_engine_type authoryear
47 \biblio_style plainnat
50 \paperorientation portrait
60 \paragraph_separation indent
61 \paragraph_indentation default
62 \quotes_language english
65 \paperpagestyle default
66 \tracking_changes false
75 \begin_layout Standard
79 \begin_layout Plain Layout
81 <<setup, include=FALSE>>=
84 \begin_layout Plain Layout
86 render_sweave() # use Schunk, Sinput and Soutput environments defined by
90 \begin_layout Plain Layout
92 set_header(highlight = '') # no need for
97 \begin_layout Plain Layout
108 Capitalized Title Here
112 by Author A and Author B
115 \begin_layout Abstract
116 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
128 key "article-minimal"
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', dev=c('pdf','postscript')>>=
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
250 \begin_inset Caption Standard
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 Address
307 \begin_inset Newline newline
313 arg "newline-insert newline"
317 \begin_inset Newline newline
321 \begin_inset Newline newline
325 \begin_inset Flex Email
328 \begin_layout Plain Layout
337 \begin_layout Address
339 \begin_inset Newline newline
343 \begin_inset Flex Email
346 \begin_layout Plain Layout