Go to content ALT+c

Intro to Computational BioStatistics with R  (Fall 2018) (Old site; new site is at https://scinet.courses)

Friday May 31, 2024 - 14:33
Reply
  • Clarification about Assignment 5

      Thu Oct 25 13:31

    There are several places indicated in Assignment 5 where optional arguments for functions can be used, but part 2 specifically notes that the script accepts no arguments from the command line. Should we be including the ability for users to input mean/rate in part 1 then? Just a bit confused as to where user input should be accepted, if at all. Thanks!

 

  • Re: Clarification about Assignment 5

      Thu Oct 25 13:38

    The functions should include optional arguments. The script does not accept any command line arguments. Don't confuse the two. Some people still are.

    No, since the script does not accept command line arguments there is no way for a user to send information into the script. User input is not accepted.

    Sincerely,
    Erik

  • Re: Clarification about Assignment 5

      Thu Oct 25 15:33

    So we need to create (and pass in) a vector for variable sample numbers in the script. Do we have to do something equivalent for variable means or rates? Or do we just use the default values only for calculations?

  • Re: Clarification about Assignment 5

      Thu Oct 25 16:06

    This is a good point, as a matter of fact we don't ask you to do that in the assignment, ie. to specify the values of mean when calling he sampling fns.
    However as Erik mentioned the fns should define optional arguments that are used to compute the values.
    In principle you could add, those argument to the SimProbConcusion fn too, hence pass those values into the fns themselves... again not required for the assignment (yes the optional arguments) but that's how I'd do it in order to be consistent and keep the "flow of communication" from the main driver script to to the fns.

Page: 1
  • You must be logged in to post.


Content Navigation


Course Calendar


Forum Posts


Course Events



Questions? Contact Support.
Web site engine's code is copyright © ATutor®.
Modifications and code of added modules are copyright of SciNet.