1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/templates/
8 \use_default_options true
12 \maintain_unincluded_children false
14 \language_package none
17 \font_roman "default" "default"
18 \font_sans "default" "default"
19 \font_typewriter "default" "default"
20 \font_math "auto" "auto"
21 \font_default_family default
22 \use_non_tex_fonts false
25 \font_sf_scale 100 100
26 \font_tt_scale 100 100
28 \default_output_format default
30 \bibtex_command bibtex
31 \index_command default
32 \paperfontsize default
37 \use_package amsmath 1
38 \use_package amssymb 1
41 \use_package mathdots 1
42 \use_package mathtools 0
44 \use_package stackrel 0
45 \use_package stmaryrd 0
46 \use_package undertilde 0
48 \cite_engine_type authoryear
49 \biblio_style plainnat
52 \paperorientation portrait
62 \paragraph_separation indent
63 \paragraph_indentation default
64 \quotes_language english
67 \paperpagestyle default
68 \tracking_changes false
77 \begin_layout Standard
81 \begin_layout Plain Layout
83 <<setup, include=FALSE>>=
86 \begin_layout Plain Layout
88 render_sweave() # use Schunk, Sinput and Soutput environments defined by
92 \begin_layout Plain Layout
94 set_header(highlight = '') # no need for
99 \begin_layout Plain Layout
110 Capitalized Title Here
114 by Author A and Author B
117 \begin_layout Abstract
118 An abstract of less than 150 words.
121 \begin_layout Section
122 Section title in sentence case
125 \begin_layout Standard
126 Write something here.
128 \begin_inset CommandInset citation
130 key "article-minimal"
137 \begin_layout Section
141 \begin_layout Standard
148 and input R code chunks which will be compiled with the
153 \begin_inset Flex URL
156 \begin_layout Plain Layout
158 http://yihui.name/knitr/
166 \begin_layout Standard
170 \begin_layout Plain Layout
172 <<sample-chunk, echo=TRUE>>=
175 \begin_layout Plain Layout
180 \begin_layout Plain Layout
185 \begin_layout Plain Layout
190 \begin_layout Plain Layout
200 \begin_layout Standard
201 You can also plot your data; see Figure
202 \begin_inset CommandInset ref
204 reference "fig:sample-figure"
211 \begin_layout Standard
212 \begin_inset Float figure
218 \begin_layout Plain Layout
222 \begin_layout Plain Layout
224 <<sample-figure, fig.width=5, fig.height=3, out.width='.4
228 linewidth', fig.align='center', dev=c('pdf','postscript')>>=
231 \begin_layout Plain Layout
233 par(mar = c(4,4,.1,.1))
236 \begin_layout Plain Layout
238 plot(x, pch=19, col=1:10)
241 \begin_layout Plain Layout
251 \begin_layout Plain Layout
252 \begin_inset Caption Standard
254 \begin_layout Plain Layout
256 \begin_inset CommandInset label
258 name "fig:sample-figure"
275 \begin_layout Standard
276 \begin_inset Note Note
279 \begin_layout Plain Layout
280 When you insert a Bib\SpecialChar TeX
281 bibliography here, do not use any bib styles.
282 The R Journal has declared the style to be
283 \begin_inset Quotes eld
287 \begin_inset Quotes erd
298 \begin_layout Standard
299 \begin_inset CommandInset bibtex
308 \begin_layout Address
310 \begin_inset Newline newline
316 arg "newline-insert newline"
320 \begin_inset Newline newline
324 \begin_inset Newline newline
328 \begin_inset Flex Email
331 \begin_layout Plain Layout
340 \begin_layout Address
342 \begin_inset Newline newline
346 \begin_inset Flex Email
349 \begin_layout Plain Layout