Displaying 20 results from an estimated 1000 matches similar to: "Passing on "groups" argument to xyplot within a plotting function"
2012 Mar 03
3
Using ddply within a function by argument transfer
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120303/a62e41f2/attachment.pl>
2012 Oct 07
3
get: problem with environments
Dear R users,
I am running R-2.15.1 in Linux Slackware64-14.0. Here is my minimal working example:
testfun <- function (x) {
a <- 0;
sapply(X="a", FUN=get, envir=sys.frame(which=x));
}
Inside R, that is R called from within a Linux terminal, the following code works:
testfun(x=5)
print(testfun(x=6))
But within rkward the above code fails and the following works:
testfun(x=1)
2009 Sep 16
3
apply function across two variables by mult factors
Greetings,
I am attempting to run a function, which produces a vector and
requires two input variables, across two nested factor levels. I can
do this using by(X, list(factor1, factor2), function), however I
haven't found a simple way to extract the list output into an
organized vector form. I can do this using nested loops but it isn't
exactly an optimal approach.
Thank you
2012 Jun 04
1
Math labels in .eps files
Dear list,
I have non-ascii labels that I want to include somethow in a .eps file for
inclusion into a LateX document. Is this possible?
What I see is that the (attached) png file looks ok but the .eps renders
all non-ascii labels at the bottom as [..].
I've searched around enough to learn that including math labels in a .eps
is a problem. Hower, is there a solution too somewhere?
2008 May 08
3
histogram() with "Date" class?
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080508/a79fbde1/attachment.pl>
2011 Aug 16
3
Constructing an additional key inside of a lattice panel
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110816/b1fd368c/attachment.pl>
2008 Apr 24
2
Factor to numeric
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080424/d118f1b7/attachment.pl
2007 Jan 21
1
identify selected substances across individuals
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070121/436ed377/attachment.pl
2007 Apr 16
1
Export multiple data files from R
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070416/912fba6b/attachment.pl
2011 Jul 10
1
How do I get two levels of grouping for in a lattice panel function?
Dear list,
I'm working on a panel function where I would like to be able to visualise
data grouped by the category of the data, and then also changes in summary
descriptives from one condition to another in the same scatter plot. Like
the figure attached, but with one polygon for each subset of the data set
given by a second variable (with colours still coming from the variable
specified in
2012 Jan 26
1
Finding suspicious data points?
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120126/7b076e84/attachment.pl>
2013 Apr 24
1
Problems with Fortran calls when loaded a dll compiled with gfortran-4 Cygwin 4.5.3
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130424/70100a7f/attachment.pl>
2007 Jan 14
1
extracting data into different subsets
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070114/756160fa/attachment.pl
2006 Dec 14
1
question about for loop
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061214/3ac79a40/attachment.pl
2008 May 12
2
Cumulative lattice histograms
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080512/9533b31f/attachment.pl>
2011 Jun 10
2
How do I make proper use of the by() function?
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110610/b259a660/attachment.pl>
2007 Jun 08
1
still trying to wrap xyplot - ignore previous
As you may not be surprised to hear, no sooner did I post the previous
message than I realized I had a really dumb mistake. I've now gotten
a bit farther but am still stuck. New code:
graph <- function (x, data, groups, xlab) {
pg <- function(x, y, group.number, ...) fnord
body(pg) <- substitute({
panel.xyplot(x, y, ..., group.number=group.number)
panel.text(2,
2007 Apr 26
2
evaluation in unattached namespace
Hi,
I recently discovered this buglet in lattice: If lattice is _not_
attached, I get
> lattice::dotplot(~1:10)
Error in eval(expr, envir, enclos) : could not find function "bwplot"
This happens because of this:
> lattice:::dotplot.formula
function (x, data = NULL, panel = "panel.dotplot", ...)
{
ocall <- ccall <- match.call()
ccall$data <- data
2007 Jan 03
3
How to add characters on graph ?
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070103/d0f3260e/attachment.pl
2006 Dec 20
4
R windows crash (PR#9426)
Full_Name: Robert Denham
Version: R-2.4.1
OS: Windows Xp
Submission from: (NULL) (61.88.57.1)
R gui exits without warning when I run a function which has an argument with a
default that is not found.
This was a result of an error in a function I wrote, but I thought that it
should exit more gracefully than it does. Here is an example:
testfun <- function(aa=aa) {
aa <-