程序代写代做代考 —


title: ‘R Markdown Sample Template’
fontfamily: mathpazo
output:
pdf_document:
toc: true
fig_caption: yes
highlight: haddock
number_sections: true
df_print: paged
fontsize: 10.5pt
editor_options:
chunk_output_type: console

“`{r, echo=FALSE, warning=FALSE, message= FALSE}
library(knitr)
opts_chunk$set(tidy.opts=list(width.cutoff=60))
“`

“`{r libraries, echo=FALSE, warning=FALSE, message=FALSE}
rm(list=ls(all=TRUE))
rm(list=ls(all=TRUE))
library(tm)
library(SnowballC)
library(lda)
library(topicmodels)
library(LDAvis)
library(dplyr)
library(stringi)
library(plyr)
library(foreign)
library(xts)
library(tis)
library(jsonlite)
library(FNN)
library(hexbin)
library(RColorBrewer)
library(MASS)
library(ldatuning)
library(gofastr)
library(quantmod)
library(tseries)
library(foreign)
library(forecast)
library(MASS)
library(TTR)
library(vars)
library(readtext)
library(tidyr)
library(scales)
library(tinytex)
library(fitdistrplus)
library(rgl)
“`

Note: To access your textbook resources type the following on the console:
“`{r }
#library(car)
#carWeb()
“`

##############
# I. Section
##############
You can include a discussion here and insert figures like this:

![Figure Title would go here](mt2.png){width=25%}

## I.1 Subsection
You can add subsections well. And below is an example of how to include R code.

“`{r, warning=FALSE, message=FALSE}
library(pastecs)
# Summary for 1 variable:
summary(rnorm(100),norm=TRUE)
“`

Equations can easily be written following LaTeX syntax.

$$k= 1 + \log_{2}(n)$$

\vspace{10pt}