Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Project 3, you wrote a function 2.test() that implements the z-test. Write a package called MyzTest making this function easily available. Your package should
In Project 3, you wrote a function 2.test() that implements the z-test. Write a package called MyzTest making this function easily available. Your package should resemble the package created during the lecture. Your package should be appropriately named, with a descriptive DESCRIPTION file. (You can continue to use the cco license, or GPL-3 if you actually are worried about your rights. With CCO anyone can do anything with the package and not even acknowledge your eristence.) If you wish you may have only one file in the R/ file, with the function 2.test(). There's no reason to have more than one file. You can clear out the man/ directory; we may put something interesting here in a future project, but for now there's nothing to put here. Write a README.md and a NEWS.md file and be sure to update . Rbuildignore accordingly. With as little as you have to do, NEWS.md should be comprehensive in that it says you added a single function, z.test()). Make an example data set and put it in data/. Write a vignette and put it in the vignettes/ folder. Be sure that the vignette can be built and users can access it. I expect to be able to build and install your package and that the code in it runs correctly. I expect that the example data set you provide can be used with your function. Admittedly files such as README.md and your vignette can have not much in them while still getting full credit, but I may give extra credit for more comprehensive submissions. I want to build your package myself. Submit a .zip file with a single directory named MyzTest as its contents, and that directory contains the package files. I will inspect the contents and test that your package works as I expect myself. Additionally I want to see that you can also build your package and distribute it. Do this by building the package tarball and placing the tarball in the root directory of the .zip file you submit to me, beside the directory MyzTest. I will attempt to install this file as if it were a package. 58 59 - " '{r, error = TRUE} 60 z.test
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started