Displaying 18 results from an estimated 18 matches similar to: "new column from column in another df"
2008 Feb 08
1
Can I index a dataframe with a reference from/to a second dataframe?
Hello,
I am unable to figure out how to code a new column in a data frame based
on an existing column that matches a column in a reference data frame,
in a relational-db fashion. I would like this to maintain a minimum set
of reference tables that may be reused over several similar datasets.
Specifically, I have two data frames as listed below, 'Bos' and 'tree.'
For each case in
2012 Jul 15
4
computing a subset using a loop
Dear all,
I have a data frame with different variables and I want to build different
subsets out of this data frame using some conditions and I want to use a
loop because there will be a lot of subsets and this would be saving a lot
of time.
I try to give you an overview about my data frame. I have a data frame named
"Baumdaten" and it has one column named "transectID" with
2007 Feb 13
1
lme4/lmer: P-Values from mcmc samples or chi2-tests?
Dear R users,
I have now tried out several options of obtaining p-values for
(quasi)poisson lmer models, including Markov-chain Monte Carlo sampling
and single-term deletions with subsequent chi-square tests (although I
am aware that the latter may be problematic).
However, I encountered several problems that can be classified as
(1) the quasipoisson lmer model does not give p-values when
2007 Feb 12
1
lmer and estimation of p-values: error with mcmcpvalue()
Dear all,
I am currently analyzing count data from a hierarchical design, and I?ve
tried to follow the suggestions for a correct estimation of p-values as
discusssed at R-Wiki
(http://wiki.r-project.org/rwiki/doku.php?id=guides:lmer-tests&s=lme%20and%20aov).
However, I have the problem that my model only consists of parameters
with just 1 d.f. (intercepts, slopes), so that the
2009 Jul 28
4
How to do poisson distribution test like this?
Dear R-listers,
I want to reperfrom a poisson distribution test that presented in a
recent-published biological research paper (Plant Physiology 2008, vol 148,
pp. 1189-1200). That test is about the occurrence number of a kind of gene
in separate chromosomes.
For instance:
The observed gene number in chromosome A is 36.
The expected gene number in chromosome A is 30.
Then, the authors got a
2003 May 31
0
logistic regression
hi all,
I am fitting a logistic regression model on binary data. I care about
the fitted probabilities, so I am not worried about infinite
(or non-existent) MLEs. I use:
> glm(Y~., data=X, weights=wgt, family=binomial(link=logit), maxit=250)
I understand the three ways to fit model, and in my case Y is a factor,
one column
> Y <- c(rep("A",679), rep("B",38))
2007 Apr 25
0
Split column of concatenated data
Hi
I have a column of concatenated information stored in an RG object in the limma package and I need to split this information and then paste the first two pieces of data in each case back into two columns of the RG object.
This is how I am currently doing this
gene.info.split<-strsplit(RG$genes$Name,",",fixed=TRUE)
for (h in 1: length(gene.info.split)){
2003 May 31
0
logistic regression (weights)
hi all,
I am fitting a logistic regression model on binary data. I care about
the fitted probabilities, so I am not worried about infinite
(or non-existent) MLEs. I use:
> glm(Y~., data=X, weights=wgt, family=binomial(link=logit), maxit=250)
I understand the three ways to fit model, and in my case Y is a factor,
one column
> Y <- c(rep("A",679), rep("B",38))
2008 Aug 05
0
P values in non linear regression and singular gradients using nls
Dear all,
We are trying to fit a non linear model to dispersal data.
It seems that sometimes when the fit of the model of the data is not
very good we start getting singular gradient errors. However if we
modify slightly the data this won't occurr. We have also tried changing
the initial parameter values and the algorithm for fitting in nls but
didn't help.
So we ended up programming a
2004 Aug 06
0
ogg vorbis works in windows media plyaer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Jun 28, 2001 at 10:10:40PM -0600, Jack Moffitt wrote:
> The first release of the DirectShow filters, which also enables Ogg
> Vorbis playback in Windows Media Player was released today.
>
> http://prdownloads.sourceforge.net/zorannt/Codecs-0.0.3.msi
>
> This installed great for me on win2k, but reportedly has issues with
2004 Aug 06
0
a new directory service
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Sep 16, 2001 at 11:31:50PM -0600, Jack Moffitt wrote:
> First off, I think getting rid of # of listeners is a must. It just
> creates a self-fulfilling prophecy and encourages cheating.
Amen. I got sick and tired of the little cheats that people would use to
boost themselves to the top of the various directory lists.
> type
2004 Aug 06
0
a new directory service
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Sep 17, 2001 at 06:04:00PM +0300, Akos Maroy wrote:
> >how about instead of bitrate, something more generic like "Quality".
> >This should be a number, which (in the case of application/ogg) might be
> >64 (as in kbps) or (in the case of audio/mpeg) might be 30 (as in FPS).
> >I would say, for most media
2004 Aug 06
0
a new directory service
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Sep 17, 2001 at 01:59:03PM -0700, rillian wrote:
> Unfortunately, anything more secure requires a shared secret, and thus
> and ssl-connection over which to send it.
Not necessarily. There's always public-private key encryption, which
wouldn't be too hard to implement. Of course, now we run into the trust
problem of
2004 Aug 06
0
a new directory service
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Oct 17, 2001 at 08:42:57PM -0600, Jack Moffitt wrote:
> It would take a bit of effort. And it would also be totally useless.
> What benefit would it provide? You're publishing the information
> publically anyway :)
A fully-encrypted connection would nearly eliminate the possibility of a
man-in-the-middle attack either
2004 Aug 06
0
a new directory service
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Oct 17, 2001 at 08:57:13PM -0600, Jack Moffitt wrote:
> A man-in-the-middle attack is not easy to pull off. If you can show me
> why some person would be incented to attack someone like this, then
> maybe there is a case for it.
>
Two easy motivations. #1 is deliberate sabotage. Let's say my station is
not doing so well in
2004 Aug 06
2
CVS restored
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Looks like the icecast CVS server has been restored to full service. Now I
can get back to rebuilding my server. :)
- --
"I'm alive, and filled with goo! VISION GOO!"
- Zim, "Invader Zim"
-----BEGIN PGP SIGNATURE-----
Comment: For info see http://www.gnupg.org
2004 Aug 06
0
ice2 CVS build problems under Solaris 7
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Build environment: Solaris 7, JKP 106541-18
gcc 2.95.3
Current (as of a couple hours ago) CVS ice2
After a long bit of downtime, I'm throwing myself back into icecast with a
fervor. I'm attempting to build ice2 on my Solaris box, and everything
goes fine (well, went fine once I got libxml...) until the
2004 Aug 06
4
QuickTime Streaming Server 4 streams MP3s
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somewhat OT, but it looks like a new player has entered the streaming MP3
server arena.
http://www.apple.com/quicktime/products/qtss/
QTSS v4 was announced at the QuickTime Live conference today. Amongst its
other features, it can now stream MP3s to any Internet-capable MP3
listener program.
Source is available at