similar to: AlgDesign expand.formula()

Displaying 20 results from an estimated 1000 matches similar to: "AlgDesign expand.formula()"

2007 Aug 13
0
Odp: Very new - beginners questions
>>> Petr PIKAL <petr.pikal at precheza.cz> 13/08/2007 14:10:40 >>> >> How do I read one row of data so as to load site2 into a variable >>called site2? > >?read.table and other read..... commands. Don't forget scan(). But Petr is right, you probably do not need to read one row at a time. >> Once I plot a graph using ordiplot how do I
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
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
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
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 =
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
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
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
2007 Oct 10
2
how to generate and evaluate a design using Algdesign
Hi, I have some problems when using AlgDesign->optFederov() generating designs. I have 6 variables, all factors. 3^2 and 4^4, I want to have a design that can take care of main effects and two interactions within 2 pair of variables v3-v4 and v5-v6, the following is the code ################ require(AlgDesign) set.seed(1) levels = c(v1=3,v2=3, v3=4,v4=4,v5=4,v6=4)
2009 Sep 28
1
model.matrix troubles with AlgDesign
Dear DevelopeRs, in continuing with my suite of packages on experimental design, I am stuck with an issue that appears to be related to package AlgDesign - I have tried to get it solved by Bob Wheeler, but he seems to be stuck as well. Whenever AlgDesign is loaded, some of my code does not work any more. For example, in a fresh R session: require(DoE.base) fac.design(nlevels=c(2,6,2))