similar to: Apply command on vectors

Displaying 20 results from an estimated 20000 matches similar to: "Apply command on vectors"

2001 Feb 01
1
Generalized Error Distribution (Exponential Power) CDF?
Hi all, Just a random shot in the dark. Does anyone have/know of a function for the CDF of a generalized error dist? -- Elliot Williams (ewilliams at ucsd.edu) Economics Department, UC San Diego -------------- next part -------------- An embedded message was scrubbed... From: Elliot Williams <ewilliams at ucsd.edu> Subject: [R] Generalized Error Distribution (Exponential Power) CDF?
2001 Apr 25
2
Max/Min w/ Non-linear constraints
Hi all, How do people do non-linear constrained maximization in R? If in C, are there any packages people would recommend as being particularly easy to interface/hack to work with R? And if not, does anyone want me to? -- Elliot Williams (ewilliams at ucsd.edu) Economics Department, UC San Diego -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing
2001 Feb 13
1
Which.min bug?
Hi, I'm not sure this is a bug, so I thought I'd bounce it off the help group first. I had a dataset which I was subsetting, and occasionally I get an empty subset. If I don't check for emptiness and go straight to a which.min call on the subset, the program gets a big negative number back. One-line Example: > which.max(NULL) [1] -2147483647 This caused an indexing
2001 Oct 20
1
Animating a persp plot: non-constant scaling?
Hi all, I'm making an animation of a rotating persp plot of some data. It's easy, really: I just plot the persp in a loop over the theta parameter, saving each plot, and then chain them together with ImageMagick (as suggested on Paul Johnson's R-tips page). But... when you run the animation, because each graph is individually re-scaled, the image is not the same size in each
2001 Jan 07
2
"Invalid character 32" problem with Pager??
Hi all, I'm having a very minor problem. Most every time I use the pager (I think) I get the following error about character 32. It works fine, but the error is a bit annoying. > ?version sh: invalid character 32 in exportstr for export R_NSIZE sh: invalid character 32 in exportstr for export R_VSIZE R.Version package:base R Documentation (and then the
2000 Oct 20
0
Re: R-help Digest V2 #236
R-help Digest wrote: > Date: Thu, 12 Oct 2000 20:48:59 -0700 (PDT) > From: Elliot Williams <ewilliams at ucsd.edu> > Subject: [R] GARCH in package tseries > > I was running some likelihood ratio tests (using the current version of > tseries) and found a different value for the log-likelihood from what I > was getting using other software. I've traced the problem to
2004 Jul 08
1
Bug in Make or configure: spaces in path (PR#7068)
>>>>> "williams" == williams elliot <williams.elliot@bls.gov> >>>>> on Thu, 8 Jul 2004 01:50:16 +0200 (CEST) writes: williams> Full_Name: Elliot Williams Version: 1.9.1 OS: williams> Linux Submission from: (NULL) (146.142.53.18) williams> Hi, williams> The usual configure/make procedure hangs when williams>
2002 Oct 02
1
Re: [slugnet] Password Expiry
Hi Elliot, I couldn't find anything related to smbpasswd expiry. Since u have "unix password sync = true", just a wild guess, if u could turn off password ageing in unix passwd file (man passwd for more detail) and see if problem persists. Rgds Gary Elliot wrote: > Hi guys... I setup samba 2.2.5 as a PDC ... I have w2k clients. It seems > that now I am prompted to change
2002 Oct 09
1
Problem with mails
I got a problem sending to this mail listing. Can someone pls figure it out? cheers` Elliot Williams IT Executive --------------------------------- ebius tagline. This is a moebius tagline. This is a mo
2002 Oct 28
4
2.2.6 error
guys .. when i run ./configure for my samba 2.2.6 .. i get this error checking for test routines... configure: error: cant find test code. Aborting config I am not sure how to resolve it. I search for the archive but only found solutions for redhat My system : linux mandrake 9.0 cheers` Elliot Williams IT Executive --------------------------------- Judge not the horse by his saddle. -
2012 Jul 31
2
Error Installing Package with Dependency on "Matrix"
I'm attempting to update to R 2.15.1, and I'm having trouble with a package that depends on the "Matrix" package. I've created a dummy package consisting only of a DESCRIPTION file that specifies the dependence on "Matrix", a NAMESPACE file, and an R directory, containing a single function, "square <- function(x) { return (x*x) }". When I try to
2012 Aug 07
2
Repeated Aggregation with data.table
I have been using ddply to do aggregation, and I frequently define a single aggregation function that I use to aggregate over different groups. For example, require(plyr) dat <- data.frame(x = sample(3, 100, replace=TRUE), y = sample(3, 100, replace = TRUE), z = rnorm(100)) f <- function(x) { data.frame(mean.z = mean(x$z), sd.z = sd(x$z)) } ddply(dat, "x", f) ddply(dat,
2012 Jul 30
2
Thinning Lattice Plot
Is there an easy way to "thin" a lattice plot? I often create plots from large data sets, and use the "pdf" command to save them to a file, but the resulting files can be huge, because every point in the underlying dataset is rendered in the plot, even though it isn't possible to see that much detail. For example: require(Hmisc) x <- rnorm(1e6)
2000 Nov 08
3
state-space models and kalman filter
Hello again, A different but related question to my last one: Does anyone know if one can easily estimate state-space models using ML and the kalman filter using R? I would be especially interested in a relatively flexible function that would allow for estimation of hyperparameters, or could be made to do so. Thanks Michael J. Roberts Resource Economics Division, PMT USDA-ERS 202-654-5557
2010 Nov 17
1
Multiple Line Plots with xyplot
I'm trying to make multiple line plots, each with a different color, using the xyplot command. Specifically, I have an NxK matrix Y and an Nx1 matrix x. I would like the plot to contain a line for each (x, Y[,i]), i=1:K. I know something like xyplot(Y[,1] + Y[,2] + Y[,3] ~ x, type='l') will work, but if Y is large, this notation can get very awkward. Is there a way to do something
2012 Jun 25
1
combineLimits and Dates
I'm having some trouble using the latticeExtra 'combineLimits' function with a Date x-variable: require(lattice) set.seed(12345) dates <- seq(as.Date("2011-01-01"), as.Date("2011-12-31"), "days") dat <- data.frame(d = rep(dates, 4), g = factor(rep(rep(c(1,2), each = length(dates)), 2)), h =
2011 Feb 18
2
Scaling Lattice Graphics for tikzDevice
I'm trying to use lattice graphics to produce some small plots for inclusion in a LaTeX file. I want the LaTeX fonts to be used in the plots, but to be scaled down to match the size of the plot. I have written the following code to apply a scaling factor to all the "cex" and "padding" entries in the trellis parameters, but there is still a large white space between the key
2016 Jul 29
1
Understanding failed assert in reg pressure reduction list scheduler
Sure, I've attached it to the bug report. Direct link is here: https://llvm.org/bugs/attachment.cgi?id=16840 - Elliot "llvm-dev" <llvm-dev-bounces at lists.llvm.org> wrote on 2016/07/29 03:46:41 PM: > From: Krzysztof Parzyszek via llvm-dev <llvm-dev at lists.llvm.org> > To: llvm-dev at lists.llvm.org > Date: 2016/07/29 03:46 PM > Subject: Re: [llvm-dev]
2009 Sep 06
1
running a asterisk -rx command in bash backgroun
Hello! I have a very simple bash script: #!/bin/bash asterisk -rx "sip show peers" > /var/log/devices When I run it in bash shell, everything works fine, but if I background it (by adding & or using bg), nothing appears in the /var/log/devices file. Any reason for this behavior or help would be great! Thanks, Elliot
2010 Dec 29
2
\VignetteKeywords{}, for KEYWORDS or for free-tagging?
Hi R-devel, [Question]: * Is there a KEYWORDS file to lookup 'keywords' to supply the vignette command, '\VignetteKeywords{}'? -or, is the pkg writer free to tag the vignette using any keywords he/she chooses? i.e., free-tagging. Thank you, + Elliot Kleiman __________________________ San Diego State University http://www.sdsu.edu/