Displaying 20 results from an estimated 5000 matches similar to: "match in dependence of 2 columns"
2002 Jan 18
2
length of dimnames???
Hi:
I have made a lot of progress reading and manipulating large data
files, thanks to the help of several of you. I am now stuck with
writing the final file with the following error (see also the full
transcript below):
Error in as.matrix.data.frame(x) : length of dimnames[2] not
equal to array extent
I do not know what it means and could not find how to get around that
in the manual nor
2011 Apr 05
2
Help to check data before putting it in a database
The example scene:
I have a database with stats about each goal made by my soccer team. This
database (a data frame in R) is organized in lines (goals) with a set of
columns containing data about these goals (player name, tactic position,
etc). For now, this database will be called "data.frame1".
What I need is to feed this "data.frame1" with new information about my team
2005 Aug 12
2
coercing created variables into a new data frame using na.omit()
Hi,
I am an R newbie and one thing I am having trouble with binding variables that
I have created within one data frame into a new data frame when using
na.omit(). To illustrate this problem I will give the example I am working on
and the approah I have been using:-
data.frame1<-filepath....
attach(data.frame1)
#create a new variable using a function
new.variable<-rep(1,length(weight3))
2012 Jan 14
3
add column with values found in another data frame
I am positive this problem has a very simple solution, but I have been
unable to find it, so I am asking for your help. I need to know how to look
something up in one data frame and add it as a column in another. If I have
a data frame that looks like this:
> frame1
ID score test age
1 Guy1 10 1 20
2 Guy1 13 2 20
3 Guy2 9 1 33
4 Guy2 11 2 33
and another frame that looks like this:
2007 Aug 14
2
Question about unicode characters in tcltk
hello list,
Can someone help me figure out why the following code doesn't work?
I'm trying to but both Greek letters and subscripts into a tcltk menu.
The code creates all the mu's, and the 1 and 2 subscripts, but it
won't create the 0. Is there a certain set of characters that R won't
recognize the unicode for? Or am I input the \u2080 incorrectly?
library(tcltk)
m
2002 Jan 02
1
Combining files
Hi:
I am a very recent user of R 1.40 for MacOSX and went through the
help files but did not not find the function that I am looking for.
I have two comma separated files which I want to partly combine.
File 1 has 49670 lines and 26 columns (separated by commas) and looks
like this:
...
2010 Jan 20
1
Merge and join data
Hi,
I'm looking to combine two data frames. Several of the columns are in
common while the others need to be summed up. The apply functions and
the merge functions don't seem to be working. I've included a basic
example of what I'm trying to do below. Thanks!
Sean
data.frame1<-as.data.frame(matrix(c('winter','dredge','515',100,150),1,5))
2006 Oct 16
3
lda
I'm trying to do a linear discriminant analysis on a dataset of three
classes ("Affinities"), using the MASS library:
> data.frame2 <- na.omit(data.frame1)
>
> data.ld = lda(AFFINITY ~ ., data.frame2, prior = c(1,1,1)/3)
Error in var(x - group.means[g, ]) : missing observations in cov/cor
What does this error message mean and how can I get rid of it?
Thanks!
Pieter
2008 May 26
1
To draw observation [m, n] from 20 data frames named frame1, ... , frame20
Hi all,
I have 20 data frames, named frame1, ... , frame20. Each data frame has the
dimension 20x5. I need to build a function that calls out the observation in
Row 1, Col 2 from all 20 data frames and places it in a vector of length 20. I
have tried the following code:
vect <- rep(0,20)
for(i in 1:20){
vect[i] <- paste("frame",i,"[1,2]",sep="")
}
The
1999 Mar 01
1
"xpdrows.data.frame" (PR#131)
This is a follow-up to bug sent to days ago, which bounced from r-devel
because
the example was to large. Now example is smaller, and behaviour is as
belo,
EXEPT that r-windows not any more bombs, so main problem is
"xpdrows.data.frame"???
By the way, how to debug this example under windows? debug() doesnt
accept
the functions used (.Primitive), and R wont run under gdb --- may have
2004 Aug 06
1
auto-detection of frame boundary
I tried feeding in the 3 encoded frame in ONE BLOCK, and calling speex_decode() 3 times in a roll. Only the 1st frames came out perfectly. For the other 2, I got "corrupt" frame warning.
I was supposed to get 38 bytes consumed each frame (narrow-band, VBR off). I tried speex_bits_remaining() to peek on the # of bits consumed, and got variable (clearly wrong)#s returned.
But if I
2002 Feb 20
1
Is there a way to tell the sshd to ignore the security check on t he user's home permissions?
Is there a way to tell the sshd to ignore the security check on the user's
home permissions?
debug3: secure_filename: checking '/ftpdata/pxdata/pold/data/.ssh'
debug3: secure_filename: checking '/ftpdata/pxdata/pold/data'
Authentication refused: bad ownership or modes for directory
/ftpdata/pxdata/fold/data
debug1: restore_uid
debug2: userauth_pubkey: authenticated 0 pkalg
2002 Jun 27
1
Simple Matrix plot question
Hello.
I'd like to produce a simple pairs-like plot
with two data frames - but not a traditional scatter-plot matrix -
just multiple bivariate plots of data.frame1[i] vs data.frame2[i] ...
In other words, given data frames X and Y, I'd like multiple plots on a
page like:
Y1 Y2 Y3
X1
X2
X3
Thanks in advance.
-R
2010 Sep 29
2
Adding two data.frames.
Hi
I have two data frames that contains the same sort of data and I want do add
them together to get one big data frame, anyone know how to do that?
ex:
data.frame1
A B C
1 2 3
4 5 6
7 8 9
and
data.frame2
A B C
9 8 7
6 5 4
3 2 1
Would then become one big set:
data.frame3
A B C
1 2 3
4 5 6
7 8 9
9 8 7
6 5 4
3 2 1
Thx for your help
//Joel
--
View this message in context:
2002 Mar 06
3
help with combining data frames
Dear R user,
I'm relative new and need some help / advise from you. I have
organised my data in several frames, mainly because the data came
from different sources. One common variable in all data frames is the
day post transplantation. I would like to combine the data frame to
one big data frame which contains all the data, however no duplicate
rows should occour (only one row for one
2004 Aug 26
4
Column names of a data frame
I'm coming out with all the classic problems today ;-)
Can anyone tell me how to change the column names of an already existing
data frame? I've read the docs for ?data.frame and ?as.data.frame but
can't figure it out.
I want to make a new data.frame from some of the columns of an existing
data.frame, but when I do that, the new data.frame columns have the same
names as the old
2012 Aug 19
1
[PATCH 09/10] drm/nv50/evo: store iomem pointer in properly typed field
Abuse of function pointer was noticed by sparse.
Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
---
drivers/gpu/drm/nouveau/nv50_evo.c | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv50_evo.c b/drivers/gpu/drm/nouveau/nv50_evo.c
index 0f53416..0483cbd 100644
--- a/drivers/gpu/drm/nouveau/nv50_evo.c
+++
2011 Jul 01
13
For help in R coding
Dear all,
I am doing a project on variant calling using R.I am working on pileup file.There are 10 columns in my data frame and I want to count the number of A,C,G and T in each row for column 9.example of column 9 is given below-
.a,g,,
.t,t,,
.,c,c,
.,a,,,
.,t,t,t
.c,,g,^!.
.g,ggg.^!,
.$,,,,,.,
2008 Nov 25
1
Efficient passing through big data.frame and modifying select
> -----Original Message-----
> From: William Dunlap
> Sent: Tuesday, November 25, 2008 9:16 AM
> To: 'johannes_graumann at web.de'
> Subject: Re: [R] Efficient passing through big data.frame and
> modifying select fields
>
> > Johannes Graumann johannes_graumann at web.de
> > Tue Nov 25 15:16:01 CET 2008
> >
> > Hi all,
> >
> >
2008 Mar 12
3
CentOS 5 Evolution Update errors.
Folks,
Evo update on my 4.x worked just fine. 5.0 generated a bunch of parsing
errors preceded and followed by a couple of I/O errors that appear
related to an unavailable URL.
I first figured corruption on my node, so I yum erased evo, its -
connector and -webcal units. The data-server removal looked as if it
might remove half my Gnome desktop, so I left it in place.
Then I did a selective