1 answer

**1.** In R, you can choose almost any name you like for an object, as long as the name does not begin with a number or a special character like +, -, *, /, ^, !, @, or &.

Note: Remember that the most helpful names will remind you what you put in your object.

Which of these would be valid object names?

^-^

+1

foo

var

**2.** If your vector contains a sequence of contiguous integers, you can create it with the : shortcut. If run 1:5 in command line. What do you get?

1, 2, 3, 4, 5

[1] 1 2 3 4 5

1 : 5

**3.**

You can extract any element of a vector by placing pair of brackets behind the vector. Inside the brackets place the number of the element that you’d like to extract.

If you assign vec <- c(1, 2, 4, 8, 16), then vec[3] would return:

vec[3]

4

16

3

**4.**

Vector recycling: Predict what the code below will return.

1 + c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

1] 3 4 5 6 7 8 9 10 11 12

[1] 0 1 2 3 4 5 6 7 8 9

[1] 2 3 4 5 6 7 8 9 10 11

1 answer
#####
Calculate the mass in grams, of KNO3(s) needed to make 750 mL of a 1.65 M. solution.

Calculate the mass in grams, of KNO3(s) needed to make 750 mL of a 1.65 M. solution....

1 answer
#####
1. In your own words, explain what Korsakoff Syndrome is. 2.How does FTD differ from Alzheimer’s...

1. In your own words, explain what Korsakoff Syndrome is. 2.How does FTD differ from Alzheimer’s disease? 3. Give two examples of how the progression of dementia impacts on a person. 4. What is the link between the onset of dementia and depression? 5. . Why might a person with demen...

1 answer
#####
How do you solve the right triangle if a=3.0cm, b=2.6cm, C=90°?

How do you solve the right triangle if a=3.0cm, b=2.6cm, C=90°?...

1 answer
#####
The company has the following market values of debt and equity: Market value of debt: $50...

The company has the following market values of debt and equity: Market value of debt: $50 Market value of equity: $50 Therefore, the total market value of the assets is $100. The firm has 10 shares outstanding; therefore, the current price per share is $5. The managers are considering an investment ...

1 answer
#####
Need help figuring out the last two colums low a puipeme and lock picture across the...

need help figuring out the last two colums low a puipeme and lock picture across the central C-C bond.) 6. Click on the minimize energy icon. Measure the energy, bond lengths, bond angles, and dihedral angle as before. 7. Repeat for the remaining dihedral angles. Record the energies of each confo...

1 answer
#####
What proton in Penicillin G is the most acidic? What is the structure of the conjugate...

What proton in Penicillin G is the most acidic? What is the structure of the conjugate base?...

1 answer
#####
Equivalent Units of Production The Converting Department of Hopkinsville Company had 600 units in work in...

Equivalent Units of Production The Converting Department of Hopkinsville Company had 600 units in work in process at the beginning of the period, which were 60% complete. During the period, 12,400 units were completed and transferred to the Packing Department. There were 680 units in process at the ...

1 answer
#####
Many persons prepare for retirement by making monthly contributions to a savings program. Suppose that $1,700...

Many persons prepare for retirement by making monthly contributions to a savings program. Suppose that $1,700 is set aside each year and invested in a savings account that pays 8% interest per year, compounded continuously. a. Determine the accumulated savings in this account at the en...

1 answer
#####
Urgent plz olued HW 1 Saved Help (The following information applies to the questions displayed below.)...

urgent plz olued HW 1 Saved Help (The following information applies to the questions displayed below.) In 2021, the Westgate Construction Company entered into a contract to construct a road for Santa Clara County for $10,000,000. The road was completed in 2023. Information related to the contract is...

1 answer
#####
Comparability and Consistency in Income Statements The following income statements were provided by Chisholm Company, a...

Comparability and Consistency in Income Statements The following income statements were provided by Chisholm Company, a wholesale food d 2017 2016 Sales $1,760,000 $1,560,000 Cost of sales Sales salaries Delivery expense Office supplies $642,400 $466,440 432,960 416,520 186,560 182,520 $56,320 $54,6...

1 answer
#####
ABC Corp has a beta of 1.5, the current risk-free interest rate is 3%, and the...

ABC Corp has a beta of 1.5, the current risk-free interest rate is 3%, and the expected return on the market is 12.0%. The market cap of ABC is $2 billion and the company has one 10-year bond outstanding with face value of $1 billion and coupon of 5%. The bond is trading at a premium price of 110. T...

1 answer
#####
MacCorp uses process costing. Conversion costs are added continuously throughout the process and direct materials are...

MacCorp uses process costing. Conversion costs are added continuously throughout the process and direct materials are added at the beginning. During February, Department B had a beginning inventory of 2,000 units, 40% complete. Department A transferred out 18,000 units during the month to Department...

1 answer
#####
6) A ball is thrown across a playing field fror Toss a playing field from a...

6) A ball is thrown across a playing field fror Toss a playing field from a height of 4 ft above the ground at an angle of 45 to the horizontal at a speed of 20 fus. It can be deduced physical principles that the path of the ball is modeled by the function x + x +4 a. At what horizontal distance x i...

1 answer
#####
Questions 1, 2 and 3 are based on the following epidemiological data A village has a...

Questions 1, 2 and 3 are based on the following epidemiological data A village has a total population of 1,000 and the hospital is reporting cases of Disease X The following data was collected YEAR Total With Disease XNew cases of XCured of X At beginning of year r the year By end of year 2013 100 2...

1 answer
#####
B) 16 marks Assume that each set Vi, j = 1, 2, ...k, is a compact...

b) 16 marks Assume that each set Vi, j = 1, 2, ...k, is a compact set in a metric space X. Prove that the (finite union) set V = V1 U V2 U... U Vk is a compact set. c) [7 marks] Let H be a Hilbert space with inner product < x, y > and the induced norm ||2|= << x, x >. (i) Show that ||...

1 answer
#####
Immunology Put the following events in order (1 through 5) Lambda rearrangement IgD, produced Kit/SCF Interaction...

immunology Put the following events in order (1 through 5) Lambda rearrangement IgD, produced Kit/SCF Interaction Large preB cell B cell is in germinal center...

1 answer
#####
Question for SQL in MS SQL Server Management Studio (Please don't use where clause for Joins...

Question for SQL in MS SQL Server Management Studio (Please don't use where clause for Joins use from clause) Need to Create a Query because Northwind Traders wants to make sure that all orders are shipped within 10 days. Display any orders that were not shipped within 10 days. Include the Order...

1 answer
#####
4. Is this molecule aromatic? Explain why or why not. For each molecule below, predict whether...

4. Is this molecule aromatic? Explain why or why not. For each molecule below, predict whether the molecule would be expected to show aromatic character or not. Explain your answer in each case. 5. (f 6. Is this molecule aromatic, antiaromatic, or nonaromatic? Explain....