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
Slope ~3
y intercept ~7
y= equation ~y=3x+7
This probability is the same as 1-(two different suited cards). Your first card can be any of the 52 cards. Your second card must be any of the 39 different suited remaining 51 cards. So the answer is 1 - (52/52)(39-51). Note: I assumed there was no replacement.
The number of natural numbers less than n is n-1.
Natural numbers are whole and positive numbers that are not 0.
If n is 2, there is one natural number less than n... and that is 1.
If n is 5, there are four natural numbers less than n... which are 1, 2, 3, and 4.
There are three more angles with the same measure. A pair of corresponding angles and a pair of vertical angles.