-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 503
\begin_document
\begin_header
+\origin /systemlyxdir/templates/
\textclass RJournal
\use_default_options true
\begin_modules
\language_package none
\inputencoding auto
\fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
-
+\font_sf_scale 100 100
+\font_tt_scale 100 100
\graphics default
\default_output_format default
\output_sync 0
-\bibtex_command default
+\bibtex_command bibtex
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
-\use_amsmath 1
-\use_esint 1
-\use_mhchem 1
-\use_mathdots 1
-\cite_engine natbib_authoryear
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
+\cite_engine natbib
+\cite_engine_type authoryear
+\biblio_style plainnat
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
+\justification true
\use_refstyle 1
\index Index
\shortcut idx
\begin_body
-\begin_layout Standard
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-You have to put the body of your article inside the
-\begin_inset Quotes eld
-\end_inset
-
-article
-\begin_inset Quotes erd
-\end_inset
-
- enviroment defined by RJournal.sty.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{article}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
\begin_layout Standard
\begin_inset ERT
status open
by Author A and Author B
\end_layout
-\begin_layout Standard
-\begin_inset Flex Abstract
-status open
-
-\begin_layout Plain Layout
+\begin_layout Abstract
An abstract of less than 150 words.
\end_layout
-\end_inset
-
-
-\end_layout
-
\begin_layout Section
Section title in sentence case
\end_layout
A sample citation is
\begin_inset CommandInset citation
LatexCommand citet
-key "Lam94"
+key "article-minimal"
\end_inset
\begin_layout Standard
Press
-\family sans
-Ctrl+L
-\family default
+\begin_inset Info
+type "shortcut"
+arg "ert-insert"
+\end_inset
+
and input R code chunks which will be compiled with the
\series bold
knitr
\backslash
\backslash
-linewidth', fig.align='center'>>=
+linewidth', fig.align='center', dev=c('pdf','postscript')>>=
\end_layout
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
A sample figure.
status open
\begin_layout Plain Layout
-When you insert a BibTeX bibliography here, do not use any bib styles.
+When you insert a Bib\SpecialCharNoPassThru TeX
+ bibliography here, do not use any bib styles.
The R Journal has declared the style to be
\begin_inset Quotes eld
\end_inset
\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
-bibfiles "biblio"
+bibfiles "xampl"
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset Flex Address
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Address
Author A
\begin_inset Newline newline
\end_inset
-Press Ctrl+Enter to input
-\begin_inset Newline newline
+Press
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
\end_inset
-address here
-\end_layout
-
+ to input
+\begin_inset Newline newline
\end_inset
-
+address here
\begin_inset Newline newline
\end_inset
\begin_inset Flex Email
-status collapsed
+status open
\begin_layout Plain Layout
author.a@email
\end_layout
-\begin_layout Standard
-\begin_inset Flex Address
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Address
Author B
-\end_layout
-
-\end_inset
-
-
\begin_inset Newline newline
\end_inset
\begin_inset Flex Email
-status collapsed
-
-\begin_layout Plain Layout
-author.b@email
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{article}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
status open
\begin_layout Plain Layout
-Note
-\backslash
-begin{article} in the beginning of this article; now we close the
-\begin_inset Quotes eld
-\end_inset
-
-article
-\begin_inset Quotes erd
-\end_inset
-
- environment.
+author.b@email
\end_layout
\end_inset