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 Abstract
107 An abstract of less than 150 words.
110 \begin_layout Section
111 Section title in sentence case
114 \begin_layout Standard
115 Write something here.
117 \begin_inset CommandInset citation
126 \begin_layout Section
130 \begin_layout Standard
137 and input R code chunks which will be compiled with the
142 \begin_inset Flex URL
145 \begin_layout Plain Layout
147 http://yihui.name/knitr/
155 \begin_layout Standard
159 \begin_layout Plain Layout
161 <<sample-chunk, echo=TRUE>>=
164 \begin_layout Plain Layout
169 \begin_layout Plain Layout
174 \begin_layout Plain Layout
179 \begin_layout Plain Layout
189 \begin_layout Standard
190 You can also plot your data; see Figure
191 \begin_inset CommandInset ref
193 reference "fig:sample-figure"
200 \begin_layout Standard
201 \begin_inset Float figure
207 \begin_layout Plain Layout
211 \begin_layout Plain Layout
213 <<sample-figure, fig.width=5, fig.height=3, out.width='.4
217 linewidth', fig.align='center'>>=
220 \begin_layout Plain Layout
222 par(mar = c(4,4,.1,.1))
225 \begin_layout Plain Layout
227 plot(x, pch=19, col=1:10)
230 \begin_layout Plain Layout
240 \begin_layout Plain Layout
243 \begin_layout Plain Layout
245 \begin_inset CommandInset label
247 name "fig:sample-figure"
264 \begin_layout Standard
265 \begin_inset Note Note
268 \begin_layout Plain Layout
269 When you insert a BibTeX bibliography here, do not use any bib styles.
270 The R Journal has declared the style to be
271 \begin_inset Quotes eld
275 \begin_inset Quotes erd
286 \begin_layout Standard
287 \begin_inset CommandInset bibtex
296 \begin_layout Address
298 \begin_inset Newline newline
304 arg "newline-insert newline"
308 \begin_inset Newline newline
312 \begin_inset Newline newline
316 \begin_inset Flex Email
319 \begin_layout Plain Layout
328 \begin_layout Address
330 \begin_inset Newline newline
334 \begin_inset Flex Email
337 \begin_layout Plain Layout