S 5.4 Use R to Generate Fractional Factorials Use R and the FrF2 Package to create...
R Programming Language
This question uses the lattice package. Show the code you used
to generate the graphs. Use the state.region and state.x77 data set
(recall typing ?state.x77 into the console will provide a
discription of this data set).
Question 1a
Investigate the population density of USA states within the four
regions: Northeast, South, North Central and West. Observe the
graph of State Population as a Function of Area. Create Figure
1.
Question 1b
There is one state in the...
Scatterplots in .R Generate a scatterplot: Load the storms data.frame contained in the tidyverse package, and Produce a scatterplot to explore the relationship between wind speed and storm pressure. Hint: make sure that each storm status is plotted in a different color. library(ggplot2) library(tidyverse) data(storms) head(storms) ## # A tibble: 6 x 13 ## name year month day hour lat long status category wind pressure ## <chr> <dbl> <dbl> <int> <dbl> <dbl> <dbl> <chr> <ord> <int> <int> ## 1 Amy...
R STUDIO
Create a simulated bivariate data set consisting of n 100 (xi, yi) pairs: Generate n random a-coordinates c from N(0, 1) Generate n random errors, e, from N(0, o), using o 4. Set yiBoB1x; + , Where Bo = 2, B1 = 3, and eN(0, 4). (That is, y is a linear function of , plus some random noise.) (Now we have simulated data. We'll pretend that we don't know the true y-intercept Bo 2, the true slope...
Please use R. Thank you!
Q4: (1) Create vector s as a random sample of 12 numbers from 1, 2, 3, ..., 99, 100 without replacement, using function sample. (2) Print the data structure of s.
ANSWER 2 & 3 please. Show work for my understanding and
upvote. THANK YOU!!
2. Given a regular n-gon, let r be a rotation of it by 2π/n radians. This time, assume that we are not allowed to flip over the n-gon. These n actions form a group denotecd (a) Draw a Cayley diagram for Cn for n-4, n-5, and n-6 (b) For n 4, 5, 6, find all minimal generating sets of C.· [Note: There are minimal generating sets...
Let S = {n ∈ N | 1 ≤ n < 6} and R = {(m, n) ∈ S × S | m ≡ n mod 3} a. List all numbers of S. b. List all ordered pairs in R. c. Does R satisfy any of the following properties: (R), (AR), (S), (AS), and/or (T)? d. Draw the digraph D presenting the relation R where S are the vertices, and R determines the directed edges. e. Give each edge in...
JAVA PROG HW Problem 1 1. In the src −→ edu.neiu.p2 directory, create a package named problem1. 2. Create a Java class named StringParser with the following: ApublicstaticmethodnamedfindIntegerthattakesaStringandtwocharvariables as parameters (in that order) and does not return anything. The method should find and print the integer value that is located in between the two characters. You can assume that the second char parameter will always follow the firstchar parameter. However, you cannot assume that the parameters will be different from...
do numbers 4-8
4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...
In a new file located in the same package as the class Main, create a public Java class to represent a photograph that consists of a linear (not 2D) array of pixels. Each pixel is stored as an integer. The photograph class must have: (a) Two private fields to represent the information stored about the photograph. These are the array of integers and the date the photograph was taken (stored as a String). The values in the array must be...
what I need for is #2!
#1 is attached for #2.
Please help me! Thanks
1. In class we showed that the function f : R → R given by (if>o 0 if a S0 was smooth (but not real analytic). Note that f(x) approaches a horizontal asymptote (y = 1) as a goes to positive infinity. (a) Show that f(x)+f(1-2)メ0 for all x E R, so that g : R → R given by g(x)- 70 is also a...