search for: pperkin

Displaying 11 results from an estimated 11 matches for "pperkin".

Did you mean: pperkins
2000 Dec 29
0
unlisting a list with names components (PR#645)
Summary of report from Peter Perkins <pperkins@ucsd.edu> on Sat Aug 26 09:41:52 2000 i think the lines below demonstrate a problem with unlist when the list contains components that are names. _anything_ can go in a list, right? this came up in the context of trying to unlist(list(attr(terms(formula), "variables")). > list2...
2001 Feb 22
1
onefile= arg to postscript() (PR#854)
Full_Name: Peter Perkins Version: 1.2.1 OS: LinuxPPC Submission from: (NULL) (24.4.89.36) Unlike (at least some) other args/components of ps.options(), the onefile= arg to postscript() does not default to ps.options()$onefile. For the family= and landscape= args, for example, it does. Looking at postscript()'s code, this appears to be intentional. If it _is_ intentional, the following
2000 Oct 11
1
documentation bug in grep (PR#692)
Full_Name: Peter Perkins Version: 1.1.1 OS: LinuxPPC Submission from: (NULL) (24.4.89.36) the man page for grep mistakenly says "gsub" whn it should say "grep" in the Details section of grep.Rd. a diff -u with a corrected version follows: diff -u R-1.1.1/src/library/base/man/grep.Rd grep.Rd-new --- R-1.1.1/src/library/base/man/grep.Rd Wed Apr 19 08:51:19 2000 +++
2001 Feb 09
1
default data= arg to glm() (PR#844)
Full_Name: Peter Perkins Version: 1.2.1 OS: LinuxPPC Submission from: (NULL) (24.4.89.36) the lines if (missing(data)) data <- environment(formula) in glm() seem to contradict the documentaton: data: an optional data frame containing the variables in the model. By default the variables are taken from the environment from which `glm' is called. actually,
2001 Jan 02
1
pos.to.env and sys.xxx documentation (PR#801)
Full_Name: peter perkins Version: 1.2.0 OS: linuxppc Submission from: (NULL) (24.4.89.36) i'm assuming that these are shortfalls in the documentation, and not bugs in the function themselves. 1) the help page for pos.to.env gives two examples: Examples: pos.to.env(1) pos.to.env(length(search())) the second of these returns NULL which (to me) does not seem to fit the
2001 Feb 24
0
Canonical Correspondence Analysis in R
I think i mentioned this in private communication a while back, but in case anyone else cares: I have a version of canonical correspondence analysis (CCA) coded up in R. I based it on Ter Braak and Prentice (1988) Adv. Ecol. Res. 18:271-317, Ter Braak (1986) Ecol. 67(5):1167-1179, and Ter Braak (1995) Section 5.9 in Jongman, Ter Braak, and van Tongeren "Data Analysis in
2000 Aug 26
0
unlisting a list with names components (PR#645)
hi - i apologize if this is a duplicate. i think the lines below demonstrate a problem with unlist when the list contains components that are names. _anything_ can go in a list, right? this came up in the context of trying to unlist(list(attr(terms(formula), "variables")). perhaps unrelated but i thought i'd mention: unlist() complains about a call/formula object, but sapply()
2001 Feb 22
1
cex= and plot(), title(), mtext()
using R 1.2.1 under LinuxPPC, using the default X11 graphics device, i can't get the cex= argument for plot() and title() to have any effect. works for text(), though. the text size for plot() and title() _is_ correct if par(cex=size) is called first. oddly, mtext() seems to pay attention to cex=, but to ignore the value set by par(). for example, > plot(1:5, 1:5,
2001 Feb 10
1
match.call() and do.call()
hi all - i have a function that needs to call glm() with a weights argument that includes a variable whose name comes from the caller. so instead of: fit <- glm(formula, poisson(), data, weights = 1-z, ...), i do something like this: fit <- do.call("glm", list(formula=formula, family=poisson(), data=data, weights = call("-", 1, as.name(zname)), ...))
2000 Oct 05
2
attaching something.RData in pos=1
hi - running R 1.1.1 under LinuxPPC: i was pleasantly surprised to find that attaching .RData files was added somewhere along the line, but i am having trouble getting the sort of behavior that i got used to in S. specifically, i'd like to be able to attach() a file at pos=1 and edit its contents directly, then save() and detach() it. i know i can load() the file, but this merges its
2000 Nov 11
1
-ffloat-store
hi - in the context of funny problems with optim() -- bug report 671 -- Prof Brian Ripley wrote: > I think this is the usual problem with inconsistent internal precision > on Linux compilers, so try compiling optim.c with -ffloat-store to make > gcc IEEE-compliant. this was new to me, but then i am somewhat new to linux and gcc. a grep on the R-1.1.1 source dist'n does not match