Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Do you have a reproducible example? As posed I have no idea what this vector contains. Are you assuming a specific distribution type and using these vectors to parameterize it? On Tue, May 17, 2011 at 10:08 AM, Alaios...
It would help people who know more about R's guts than me if you posted your sessionInfo() output and exactly what commands produced your error. It is also recommended that you try simply upgrading R to the latest version...
The package ggplot2 can do this using a density statistic, polar coordinates, and faceting. Extra documentation for the package can be found at the author's site [1]. [1] http://had.co.nz/ On Mon, May 2, 2011 at 10...
?do.call Second argument is a list of arguments to pass. Try do.call(mean, list(x, na.rm = T)) On Thu, May 12, 2011 at 1:57 PM, John Kerpel <john.kerpel at gmail.com> wrote: > Hi all! ?I...
Assuming the matrix is named X: X[which(rowSums(X) > 0),] should work. Also, this list is a text-only list. As you are using gmail, sending text only messages is very easy, and may clear confusion in future posts...
1) This mailing list is not for homework. 2) I would recommend reading the introduction to R that comes with every installation of R, since your answer is in there. Alternatively, you could google R and quasi poisson. On Wed...
try using `...` function <- function(x, ...) { #do stuff plot(xy, ...) } On Thu, Jun 2, 2011 at 1:26 PM, eldor ado <rat.cage at gmail.com> wrote: > Hello, > > following problem: > > i have a written my own function ?to draw some sophisticated...
I am assuming in this case that you are looking for continuity along integers, so if you expect noninteger values this will not work. You can get the index of where breaks can be found in your example using which...
Do you mean prompts (the > that indicates R is waiting for input)? Your issue is not clear. Please post a copy/paste of your session, as well as your sessionInfo(). On Thu, Jun 16, 2011 at 7:16 AM, Rosario...
What exactly is the problem? Please read the posting guide and follow it. Your message is hard to interpret as is (in no small part because it looks like markup), contains no R code, and has no mention of an...
Actually, it is plotting the points in the decreasing order. See: plot(xx) Are you looking to reverse the x axis? Perhaps you will find an answer in either ?par or ?axis. On Thu, Apr 28, 2011 at 2:09...
There is probably a more elegant way to do this, but you could write it into dummy1(): dummy1 <- function() { ...original function options(old.options) } Alternatively, you could use ?tryCatch with the finally argument as a call to options. HTH, Jon...
If you want to extract values from without printing, use indexing. Check ?`[` for various ways to extract values. These, of course, depend on what x is, which you have still not provided. This is also fairly basic and covered in...
The function you are looking for is ?assign. assign(paste(pds_gagehandles[[i]], "_pdswy", sep = ""), ...) For the reverse, in case you are interested, check out ?get. HTH, Jon On Fri, Apr 22, 2011 at 1:49 PM, armstrwa <William.Armstrong...
Try this: sum(dat$Number >= 10) On Thu, Apr 28, 2011 at 3:13 PM, Abraham Mathew <abmathewks at gmail.com> wrote: > I'm using the subset() function in R. > > dat <- data.frame(one=c(6,7,8,9,10...
?cumsum On Tue, May 3, 2011 at 11:32 AM, Alaios <alaios at yahoo.com> wrote: > Dear all, > I would like to know what is the most time efficient way to calculate the following in a huge vector. > > Let's...
If you read the help documentation, lattice is not really compatible with standard graphics. library("lattice") ?lattice 2011/5/4 Lucia Ca?as <lucia.canas at co.ieo.es>: > Dear R users, > > I would like to combine lattice plot (xyplot...
Try ?scan or ?readLines. On Wed, Apr 27, 2011 at 11:42 AM, Lisa <lisajca at gmail.com> wrote: > Dear all, > > I am trying to write a script to pause the execution of a function and > provide some additional commands...
Well, since we have no idea what x is, that is going to be hard to do. Are you calling summary because you want the info on the last iteration of a loop? If so, just put the summary call...
According to documentation, tkrplot's fun parameter accepts a function of no arguments. If you remove the arguments from your function, does that kill the error message? On Fri, Jun 3, 2011 at 11:42 AM, Costas Vorlow <costas.vorlow...
Can't find what you're looking for? Try searching with Google .