Tutor profile: Amr M.
Subject: R Programming
How to read these types of files in R? 1- tab-separated value - files (“.txt”). 2- file in a table format. 3- "comma separated value” files (“.csv”)
1- Data = read.delim("FILE NAME.txt", header = FALSE) if By default, point (“.”) is used as decimal points. AND use this: Data = read.delim2("FILE NAME.txt", header = FALSE) if By default, point (“,”) is used as decimal points. 2- Data = read.table("FILE NAME") 3- Data = read.csv("FILE NAME.csv")
How to write this equations? 1- a^2 + b^2 = c^2. 2- gamma^2 +theta^2 = omega^2" - in a separate line with its own space.
1- $a^2+b^2=c^2$ 2- \[ \gamma^2+\theta^2=\omega^2\]
What is Statistics ? and Why is it important?
Statistics is the science of Collecting, Organizing, Describing, and Analyzing the data. Statistics plays a vital role in every fields of human activity. Statistics are used to analyze what is happening in the world around us. As we all know that today we live in the Information Age full of internet around us, where every single activity of ours can be monitored. Statistics can be used in the following fields: - Weather forecasting - Financial markets forecasting - Medical field; doctors need to test how significant the new drug is before releasing it. - Predicting diseases.