Answer:
Step-by-step explanation:
The first 6 rows of the eruptions data :
eruptions waiting
1 3.600 79
2 1.800 54
3 3.333 74
4 2.283 62
5 4.533 85
6 2.883 55
R code :
1. You can directly access the "Faithful" data in R without importing the data. The dataset faithful is present in the R or you can load the datasets. or use install the datasets.load. package
If you have the data in a text file, make sure all the columns and rows are separated by commas
Step 1: open notepad
Step 2: enter data with no spaces but only commas
Step 3: save the file as ‘faithful.txt’ on your Desktop
# Get R help
?read.table
# Import the data
rain<-read.table("C:/Users/YOUR-NAME/Desktop/faithful.txt", header = TRUE,
sep = ",")
Check the data
data("faithful") #Loading Faithful data
head(faithful, 6) #Reading first 6 rows of the data
Answer:
Input: 0, 2, 4
Output: 3, -1, 1
Step-by-step explanation:
0-3= -3
2-3= -1
4-3= 1
Answer:
154
Step-by-step explanation:
if you write down all the numbers in a line then you go from 169 and 144 equally to the middle you would reach 154
Answer:
10:30 A.M
Step-by-step explanation:
Answer:
0.4 of the chocolate bar.
Step-by-step explanation: