-#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 410
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 413
\begin_document
\begin_header
\textclass article
\begin_document
\begin_header
\textclass article
\end_modules
\maintain_unincluded_children false
\language english
\end_modules
\maintain_unincluded_children false
\language english
+\language_package default
\inputencoding auto
\fontencoding global
\inputencoding auto
\fontencoding global
-\font_roman lmodern
-\font_sans lmss
-\font_typewriter lmtt
+\font_roman default
+\font_sans default
+\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\tracking_changes false
\output_changes false
\html_math_output 0
\tracking_changes false
\output_changes false
\html_math_output 0
\html_be_strict false
\end_header
\html_be_strict false
\end_header
We can also emulate a simple calculator:
\end_layout
We can also emulate a simple calculator:
\end_layout
+\begin_layout Chunk
+
+\end_layout
+
\begin_layout Chunk
<<echo=TRUE,print=TRUE>>=
\end_layout
\begin_layout Chunk
<<echo=TRUE,print=TRUE>>=
\end_layout
Now we look at Gaussian data:
\end_layout
Now we look at Gaussian data:
\end_layout
+\begin_layout Chunk
+
+\end_layout
+
\begin_layout Chunk
<<>>=
\end_layout
\begin_layout Chunk
<<>>=
\end_layout
placement tbph
wide false
sideways false
placement tbph
wide false
sideways false
-status open
-
-\begin_layout Plain Layout
-\noindent
-\align center
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-<<fig=TRUE>>=
-\end_layout
-\begin_layout Plain Layout
-\begin_layout Plain Layout
-\begin_layout Plain Layout
+\begin_layout Chunk
+\align center
+<<fig=TRUE>>=
+\begin_inset Newline newline
+\end_inset
+library(graphics)
+\begin_inset Newline newline
+pairs(iris)
+\begin_inset Newline newline
+\end_inset
\end_layout
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
placement tbph
wide false
sideways false
placement tbph
wide false
sideways false
-\begin_layout Plain Layout
-\noindent
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-\end_layout
-
-\begin_layout Plain Layout
+\begin_inset Newline newline
+\end_inset
boxplot(Sepal.Length~Species,data=iris)
boxplot(Sepal.Length~Species,data=iris)
-\end_layout
-
-\begin_layout Plain Layout
-
-@
-\end_layout
-
+\begin_inset Newline newline
\end_layout
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
sideways false
status open
sideways false
status open
-\begin_layout Plain Layout
-\noindent
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-\end_layout
-
-\begin_layout Plain Layout
+\begin_inset Newline newline
+\end_inset
boxplot(Sepal.Length~Species,data=iris)
boxplot(Sepal.Length~Species,data=iris)
-\end_layout
-
-\begin_layout Plain Layout
-
-@
-\end_layout
-
+\begin_inset Newline newline
\end_layout
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout