Displaying 20 results from an estimated 100 matches similar to: "by() processing on a dataframe"
2010 Aug 21
1
lattice::xyplot() with one factor for points and another for lines
Hi:
In lattice, how does one handle separate graphical behavior for two
different factors? In the xyplot below, the objective is to use the levels
of one factor to distinguish corresponding shapes and colors, and the levels
of the other factor to perform level-wise loess smooths.
# Illustrative data:
d <- data.frame(time = rep(1:8, each = 6), val = rnorm(48),
gp1 =
2009 Aug 12
3
Combinatorial problem
I have been struggling trying to write some code to produce all
combinations subject to some restrictions. I thought someone might have
some bright ideas.
I have 11 values which fall into 5 groups. I want all combinations of
2,3, and 4 values where each value must be from a different group. The
numbers in the groups are different. Here is a definition of the groups:
groups <- list(gp1 =
2011 Sep 29
1
plot.igraph
I am having trouble plotting one of my graphs (think graph theory graph with
edges and vertices, not scatterplots or histograms). For some pairs of
vertices, I want multiple edges to be visible in my graph. As an example of
this, in my script below, I want two edges to be visible from vertex 1 and
vertex 9 (among some others) yet when I plot it, only one edge is visible.
2003 Dec 17
1
repeated measures aov problem
Hi all,
I have a strange problem and rigth now I can't figure out a
solution.
Trying to calculate an ANOVA with one between subject factor (group)
and one within (hemisphere). My dependent variable is source
localization (data). My N = 25.
My data.frame looks like this:
> ML.dist.stack
subj group hemisphere data
1 1 tin left 0.7460840
2 2 tin left
2004 Apr 01
2
row selection based on median in data frame
Hi. I am having trouble thinking of an easy way to grab rows out of a
data frame. I want to select the rows with a median value when the
rows are similar.
A simple example is this table, which I could read into a data frame.
I would like to find a new data frame with only the rows with a median
value for the "c" column given a certain "a" value.
For example, the c values
2010 Aug 22
0
lattice::xyplot() with one factor for points and another for lines - solution
Hi:
Yesterday, I posted a question regarding how to handle different graphical
behavior between two factors in xyplot() [package lattice]. After a public
and private reply from Deepayan Sarkar, the problem has been resolved
nicely, including the addition of a stacked legend for the two factors in
question. The latter requires package latticeExtra.
library(lattice)
library(latticeExtra)
# Test
2009 Nov 05
2
Using a by() function to process several regression (lm()) functions
Hello,
Thank you very much for looking at this. I have a "seasonal" user for R. I
teach my undergrads and graduates students statistics using R and often find
myself trying to solve problems to process student collected data in an
efficient way.
In this case, I have a data.frame with multiple observations. These are gas
concentrations in a chamber and are used to measure into rates,
2015 Apr 30
2
CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
On Wed, Apr 29, 2015 at 11:33 PM, Kelly Prescott <kprescott at coolip.net> wrote:
> to follow-up, I will give an example.
> Here is the listing for the official centos AMI:
>
> IMAGE ami-96a818fe aws-marketplace/CentOS 7 x86_64 (2014_09_29) EBS
> HVM-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-d2a117ba.2 aws-marketplace
> available public [marketplace:
2015 Apr 29
4
CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
I'm staring at the free CentOS images on AWS, and seeing that whoever
set those up elected to use a partition for /dev/xvda1 rather than
taking advantage of Amazon's tendency to use "/dev/xvda", "/dev/xvdb",
etc. for each disk and use those directly as a file system.
The result is that if you elect to allocate a larger base disk image,
for example allocating 50 Gig to
1999 Dec 02
1
Error in plot.aov() (PR#356)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@biostat.ku.dk
#
######################################################
The error occurs following the third Hit <Return> below:
> y_rnorm(40)
>
2008 Aug 20
1
Understanding output of summary(glm(...))
Simple example of 5 groups of 4 replicates.
>set.seed(5)
>tmp <- rnorm(20)
>gp <- as.factor(rep(1:5,each=4))
>summary(glm(tmp ~ -1 + gp, data=data.frame(tmp, gp)))$coefficients Estimate Std. Error t value Pr(>|t|)gp1 -0.1604613084 0.4899868 -0.3274809061 0.7478301gp2 0.0002487984 0.4899868 0.0005077655 0.9996016gp3 0.0695463698 0.4899868
2004 Oct 20
0
Permissions
hello,
I created a share "test"
I would that mydomain+gp1 write in this folder and mydomain+gp2 read only in
this folder.
I don't know to do that.
Could you help me please ??
arnaud
Debian 3.1 / Samba 3.0.7 / winbind 3.0.7
2020 Jun 16
0
iwlwifi problem after Centos 8.2 update
Hi!
I get high cpu usage on my laptop (yes im running Centos on my laptop)
after my last update.
At the beginning i though it was libvrtd but after stopping it gnome
monitor keep showing high cpu usage although i couldnt find the app
that was responsible for it with the top command.
I searched my log files and I saw alot of iwlwifi message.
I had to turn off wifi in order to stop high cpu
2004 Nov 18
1
Method dispatch S3/S4 through optimize()
I have been running into difficulties with dispatching on an S4 class
defined in the SparseM package, when the method calls are inside a
function passed as the f= argument to optimize() in functions in the spdep
package. The S4 methods are typically defined as:
setMethod("det","matrix.csr", function(x, ...) det(chol(x))^2)
that is within setMethod() rather than by name before
2006 Jan 05
1
Xenoppix(Xen 3.0 CD size) is released
Dear,
We released New Xenoppix (based on Xen3.0, CD size).
Detail HP http://unit.aist.go.jp/itri/knoppix/xen/index-en.html
670MB knoppix_v4.0.2CD_20050923_xen3.0-20060104+IPAFont_cdsize.iso
---------------------------------
# New Features
* Xen is updated to version 3.0.
* Host-Xenoppix(Knoppix on Domain0) boots Guest-Xenoppix(Knoppix on
DomainU) with same kernel and same Root
2015 Apr 30
0
CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
I think the command-line is far more flexable then the GUI interface.
I use ec2-api-tools, but the python boto stuff works virtually the same.
On Thu, 30 Apr 2015, Nico Kadel-Garcia wrote:
> On Wed, Apr 29, 2015 at 11:33 PM, Kelly Prescott <kprescott at coolip.net> wrote:
>> to follow-up, I will give an example.
>> Here is the listing for the official centos AMI:
>>
2015 Apr 30
0
CentOS Images on AWS with partitions on /dev/xvda1 are awkwared to resize
to follow-up, I will give an example.
Here is the listing for the official centos AMI:
IMAGE ami-96a818fe aws-marketplace/CentOS 7 x86_64 (2014_09_29) EBS
HVM-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-d2a117ba.2
aws-marketplace available public [marketplace:
aw0evgkw8e5c1q413zgy5pjce] x86_64 machineebs hvm xen
BLOCKDEVICEMAPPING EBS /dev/sda1
1999 Dec 03
0
Error in plot.aov() (PR#356) (fwd)
Confirmation from John Maindonald.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
---------- Forwarded message ----------
Date: Fri, 3
2011 Apr 10
2
Multinomial Logit Model with lots of Dummy Variables
Hi All,
I am attempting to build a Multinomial Logit model with dummy variables of
the following form:
Dependent Variable : 0-8 Discrete Choices
Dummy Variable 1: 965 dummy varsghpow at student.monash.edu.augh@gp1.com
Dummy Variable 2: 805 dummy vars
The data set I am using has the dummy columns pre-created, so it's a table
of 72,381 rows and 1770 columns.
The first 965 columns represent
2004 Mar 01
0
failure notice (PR#6630)
Hi. This is the qmail-send program at provida.org.br.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<musical@provida.org.br>:
vdeliver: ERRO: Usu?rio n?o existe: 'musical'.
--- Below this line is a copy of the message.
Return-Path: <r-bugs@r-project.org>