Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Calibr3-IO/e46884f44b0a23f96a2ade6ca828e843 to your computer and use it in GitHub Desktop.
Save Calibr3-IO/e46884f44b0a23f96a2ade6ca828e843 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"collapsed": true
},
"cell_type": "markdown",
"source": "# My Jupyter Notebook on IBM Data Science Experience"
},
{
"metadata": {},
"cell_type": "markdown",
"source": "**MUHANNAD KAMAL** \nData Analyst & Accountant"
},
{
"metadata": {},
"cell_type": "markdown",
"source": "_Data Science first peaked my interest when I realized that I am working with alot of data and producing meaningful insights for my employer. This interest further developed into a hobby and eventually, into a career changing prospect in loving data and its nature, and how they hide stories in plain sight._"
},
{
"metadata": {},
"cell_type": "markdown",
"source": "### The following code illustrates an example as to how a 'variable' can be used in R to store data for further analysis:"
},
{
"metadata": {},
"cell_type": "code",
"source": "var_1 <- 1 + 1\nvar_2 <- 3 + 3\nvar_1 + var_2",
"execution_count": 10,
"outputs": [
{
"output_type": "display_data",
"data": {
"text/plain": "[1] 8",
"text/latex": "8",
"text/markdown": "8",
"text/html": "8"
},
"metadata": {}
}
]
},
{
"metadata": {},
"cell_type": "markdown",
"source": "As we can see that the two variable listed above are: \n1. var_1\n2. var_2 \n---\nThere are 3 ways to assign variables in R: \n\nAssignment Name | Operators | Example Result\n:--- | :--- | :---\nAssignment using _equal_ operator | = | `a = 1 + 1`\nAssignment using _Leftward_ operator | <- | `a <- 1 + 1`\nAssignment using _Rightward_ operator | -> | `1 + 1 -> a`\n\n---\n\n> For further information, kindly visit: [tutorialspoint.com](https://www.tutorialspoint.com/r/r_variables.htm)\n\n---\n\n##### Finally, here is an image to brighten the mood\n\n![Bright & Relax](https://s1.1zoom.me/big3/425/China_Jiuzhaigou_park_Parks_Lake_Mountains_Autumn_530368_4200x2800.jpg)"
}
],
"metadata": {
"kernelspec": {
"name": "r",
"display_name": "R 3.6 with Spark",
"language": "R"
},
"language_info": {
"mimetype": "text/x-r-source",
"name": "R",
"pygments_lexer": "r",
"version": "3.6.0",
"file_extension": ".r",
"codemirror_mode": "r"
}
},
"nbformat": 4,
"nbformat_minor": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment