Skip to content

Kent-PHO/kent-pho.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Welcome to GitHub Pages

You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.

Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.

Markdown

Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for

# Use the mtcars dataset. This is built into R and should always be available
# View() function will create a new tab in Rstudio to browse and filter the 
# dataset. 
View(mtcars)

# The head() function prints the first six rows of every column in the console
# but it is possible to change this default behaviour
head(mtcars)
head(mtcars, n = 10)

# Check what class of object it is
class(mtcars)

# Check the structure
str(mtcars)

# Find out the how many rows and columns it contains using dim() function
dim(mtcars)

# Alternatively use nrow() and ncol()
nrow(mtcars)
ncol(mtcars)

# Create a summary output of each variable (or column)
# Note that summary() does not apply to the row names
summary(mtcars)

# View the distrubution of a numeric variable in a histogram
hist(mtcars$mpg)

# Add more breaks if required
hist(mtcars$mpg, breaks = 20)
Syntax highlighted code block

# Header 1
## Header 2
### Header 3

- Bulleted
- List

1. Numbered
2. List

**Bold** and _Italic_ and `Code` text

[Link](url) and ![Image](src)

For more details see GitHub Flavored Markdown.

Download a simple csv file

Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml configuration file.

Support or Contact

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors