similar to: Odp: Very new - beginners questions

Displaying 20 results from an estimated 2000 matches similar to: "Odp: Very new - beginners questions"

2007 Aug 09
0
AlgDesign expand.formula()
Can anyone explain why AlgDesign's expand.formula help and output differ? #From help: # quad(A,B,C) makes ~(A+B+C)^2+I(A^2)+I(B^2)+I(C^2) expand.formula(~quad(A+B+C)) #actually gives ~(A + B + C)^2 + I(A + B + C^2) They don't _look_ the same... Steve E ******************************************************************* This email contains information which may be confidential and/or
2004 Nov 25
0
help with error message - problem solved
Apologies to the listing, the problem was with the data set and not the code Thanks Michael Griffiths, Ph.D. Chemometrician Training, Quality and Statistics Group LGC Limited Queens Road Teddington Middlesex, TW11 0LY, UK Tel: +44 (0)20 8943 7352 Fax: +44 (0)20 8943 2767 e-mail: michael.griffiths at lgc.co.uk >>> "Michael Griffiths" <Michael.Griffiths at lgc.co.uk>
2017 Aug 07
0
Latin hypercube sampling from a non-uniform distribution
> How can I draw a Hypercube sample for the variable mortality_probability so > that this variable exhibits the same pattern as the observed distribution? One simple way is to use the uniform random output of randomLHS as input to the quantile function for your desired distribution(s). For example: q <- randomLHS(1000, 3) colnames(q) <- c("A", "B",
2015 Oct 08
0
authorship and citation
> > I read the CRAN policies twice, and there > > is no official guideline on how to compile the citation. The policies are about copyright and IP, not credited authorship. There's overlap but they are not the same thing. You can see whether someone is a copyright holder by referring to the license you had and whether there is any of their content remaining. But that might not
2018 Oct 17
1
invisible functions
> 2. change cfun[[1]] <- quote(cord.work) to cfun[[1]] <- > quote(survival:::cord.work). You say this will mess up your test bed. > That suggests that your test bed is broken. This is a perfectly legal > and valid solution. Valid in a package, but forces code to call a loaded library version of a function rather than (say) a 'source'd user-space version that is under
2018 Nov 29
0
Unexpected argument-matching when some are missing
> When trying out some variations with `[.data.frame` I noticed some (to me) > odd behaviour, Not just in 'myfun' ... plot(x=1:10, y=) plot(x=1:10, y=, 10:1) In both cases, 'y=' is ignored. In the first, the plot is for y=NULL (so not 'missing' y) In the second case, 10:1 is positionally matched to y despite the intervening 'missing' 'y=' So it
2018 Nov 29
0
Unexpected argument-matching when some are missing
> > plot(x=1:10, y=) > > plot(x=1:10, y=, 10:1) > > > > In both cases, 'y=' is ignored. In the first, the plot is for y=NULL (so not > 'missing' y) > > In the second case, 10:1 is positionally matched to y despite the intervening > 'missing' 'y=' > > > > So it isn't just 'missing'; it's 'not there
2018 Nov 30
0
Unexpected argument-matching when some are missing
> Yes, I think all of that is correct. But y _is_ missing in this sense: > > plot(1:10, y=) > > ... > Browse[2]> missing(y) Although I said what I meant by 'missing' vs 'not present', it wasn't exactly what missing() means. My bad. missing() returns TRUE if an argument is not specified in the call _whether or not_ it has a default, hence the behaviour of
2018 Nov 30
0
Unexpected argument-matching when some are missing
Argument matching is by name first, then the still missing arguments are filled positionally. Unnamed missing arguments are thus left missing. Does that help? Michael On Fri, Nov 30, 2018 at 8:18 AM Emil Bode <emil.bode at dans.knaw.nl> wrote: > > But the main point is where arguments are mixed together: > > > debugonce(plot.default) > > plot(x=1:10, y=, 'l')
2018 Dec 17
0
Documentation examples for lm and glm
Dear Steve, Since this relates as well to the message I posted a couple of minutes before yours, I agree that it?s possible to phrase ?best practices? too categorically. In the current case, I believe that it?s reasonable to say that specifying the data argument is ?generally? or ?usually? the best option. That doesn?t rule out exceptions. Best, John
2017 Aug 08
1
Latin hypercube sampling from a non-uniform distribution
Thanks for your answer. I have attached the plot for representing the variable. I think that I need to draw a Hypercube sample for each age class (i.e., for 0, 1, 2, 3, 4, 5, 6, 7) in a given simulation (i.e., N = 1) and the LHS values for all age classes should be like the observed cumulative distribution (see attached figure). Thus, the output of randomLHS should be a matrix with 100 rows (N =
2015 Oct 06
5
authorship and citation
> The former co-author contributed, so he is still author and probably copyright > holder and has to be listed among the authors, otherwise it would be a CRAN > policy violation ... It's a bit of a philosophical question right now, but at some point in a developing package's life - particularly one that starts small but is subsequently refactored in growth - there may be no code
2004 Nov 25
0
help with error message
Before I receive a barrage of 'try looking in the help file' messages, I have and to no avail. For a new user of R I would like to point out that in order to be able to use the help files/manuals effectively one must know the correct question and that only comes with using R! Could someone please direct me to why I keep getting the following error message "Error: subscript out of
2004 Dec 02
0
Final comment from a newbie_and another
I wholeheartedly agree. Maybe in time the list will divide into two whereby 'apparantly' simple questions will be answered without a curt rebuke! I too am now signing off the list and will bury my head in a manual ot two. As a last comment; everyone has to start the learning process somewhere and lets face it, with a deadline looming and what appears to be an insurmaountable question
2016 Apr 06
0
Problem with <= (less than or equal): not giving the expected result
> Apparently, abs(1 - 0.95) is not equal to 0.05, which I find however quite > disturbing. It's normal.* See R FAQ 7.31 in the html help system. S Ellison *... and common to all computers that use binary. ******************************************************************* This email and any attachments are confidential. Any use, copying or disclosure other than by the intended
2007 Aug 13
3
Very new - beginners questions
Dear all, I have 4 sites and want to determine how different they are from each other. For this I have decided to use R though it seems a bit daunting to learn. I have read data in from a CSV the structure is : Species1 Species2 Species3 Site1 4 4 7 Site2 3 1 0 Site3 0 99 6 Site4 75 3 33 There are many more species than shown above this is just an example. Here are the
2017 Sep 05
0
Strange lazy evaluation of default arguments
Mathias, If it's any comfort, I appreciated the example; 'expected' behaviour maybe, but a very nice example for staff/student training! S Ellison > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Matthias > Gondan > Sent: 02 September 2017 18:22 > To: r-help at r-project.org > Subject: [R] Strange lazy evaluation of
2018 Nov 30
2
Unexpected argument-matching when some are missing
But the main point is where arguments are mixed together: > debugonce(plot.default) > plot(x=1:10, y=, 'l') ... Browse[2]> missing(y) [1] FALSE Browse[2]> y [1] "l" Browse[2]> type [1] "p" I think that's what I fall over mostly: that named, empty arguments behave entirely different from omitting them (", ,") And I definitely agree we need
2004 Oct 29
4
Installation problems with R.classes bundle
Firstly hi to everyone on the list, I am new to this list ans also R so please forgive the simplicity of my questions over the next few months. I have version R 1.9.1 and want to perform z-scoring for a benchmarking procedure. I have tried to install Henrik Bengtsson's R.classes bundle (http://www.maths.lth.se/help/R/R.classes). I have downloaded the .zip file and placed the relevant folders
2011 Jan 07
0
Odp: Currency return calculations
My mistake sir. I was literally engrossed in my stupid logic, and while doing so, overlooked the simple and very effective solution you had offered. Sorry once again sir and will certainly try to be very careful in future. Thanks again and have a great weekend sir. Regards Amelia --- On Fri, 7/1/11, Petr PIKAL <petr.pikal@precheza.cz> wrote: From: Petr PIKAL