similar to: Merge records in the same dataframe

Displaying 20 results from an estimated 400 matches similar to: "Merge records in the same dataframe"

2007 Mar 15
0
Mauchly.test
Bonjour, elles correspondent ? des donn?es de diff?rents traitements (EU) avec des dates diff?rentes j'aimerai pouvoir faire une comparaison de k moyennes selon ces deux variables date et EU ANOVA ? n facteurs n'est pas la bonne solution je voudrai savoir qu'elles sont les tests qui permettent de r?soudre ce probl?me (?chantillons appari?s) je suis partis sur le test de Mauchley
2009 Feb 26
2
Merge question
Hi: I am a new R user. I have the following question and would appreciate your input Data1 (data frame 1) p1,d1,d2 (p1 is text and d1 and d2 are numeric) xyz,10,25 Data2 (data frame 2) p1,d1,d2 xyz,11,15 Now I want to create a new data frame that looks like so below. The fields d1 and s2 are summed by the product key. Data3 p1,d1,d2 xyz,21 (sum of 10 from Data1 and 11 from Data2),40 (sum of 25
2009 Oct 28
1
Generating sequence of dates
Hello All: I have the following question # instantiate a date current = as.Date("2009/10/25") #generate a sequence of dates in the future future_dates = seq(current,by='1 week',length=53) Question: How to generate a sequence of past dates starting one week in the past relative to the current date. Obviously, what I wrote below is not correct. I think I can write a for loop and
2009 Nov 05
1
How to read numeric as text
Hi: If I want to read a file with read.table. I want x1 and x2 to be read as character and x3 as numeric. How to do this? Thanks. Satish x1 ,x2,x3 10,20,30 11 ,22,35
2010 Jan 27
1
Installing R and modules on Unix OS
Hi: I have a question about installing R (and modules) on a Unix system (AIX). Can I just gunzip (or the equivalent) the installation files into my home directory or will I need someone with root access to install R? I am hoping that the answer is the former (I can unzip all files to a directory R that I create under my home directory and I can start using it). Could you please help me with this
1999 Oct 13
1
dataframe transposition
Dear R-helpers, I wonder if I could impose upon you for forther assistance, this time with dataframes: hopefully this will be of general interest, as I personally have found them hard to get to grips with. I was trying to transpose rows and cols and move col1 to the names. Then all sorts of things go wrong. Although the end result looks the same, page() shows the structure to be quite
2002 May 19
2
Samba and windows 2K Active Directory
Hi; I have a client who wishes to implement SAMABA in a windows 2k AD environment. The client has not moved to wk2 as yet. Can Samba be use for w2k mixed mode authentication? Regards; Bill Watterson Technical Solution Architect DS Infrastructure and Architecture IBM Global Services Australia 8 Brisbane Ave, Barton ACT 2601 Mobile: 0401 717 210
1999 Jun 02
1
Import Possibilities for Excel or lotus 1 2 3 table
Hi, is there any possibility to import excel or lotus 123 (.wk1) files to R without using Excel to export as ASCII itself? Any external converter for unix will also do the job, but i do not know about one. Thanks chris -- Christoph M. Friedrich | mailto:friedrich at computer.org University of Witten/Herdecke | http://www.tussy.uni-wh.de/~chris Institut fuer Angewandte Biotechnik und
2002 Nov 20
1
Not able to see public shares on W2k from Linux
Hi all, I work with linux and SUSE 8.1 in a W2K PDC environment. I successfully configured Samba to be able to connect from the Wk2 computers to linux and vice versa with one exception: I'm not able to see the public shares of the window computers from linux (NetShareEnum failed, NT_STATUS_ACCESS_DENIED) unless I provide a username and password. From Windows to Windows it's no problem to
2003 Jan 02
1
Windows 2000 Terminal Server Connections
We have "upgraded" from NT Terminal Server to Wk2. In Windows NT we set the registry MulitpleUsersOnConnection = false. What is thier in equivilance for Windows 2000? Our Samba is running out of free connections per Terminal Server. Currently that number is 128. We have 5 terminal servers and each server spawns a single smbd process with 128 connections. Do I have to increase the
2005 Nov 09
1
using abline and a fitted 2nd degree formula
Hello all, R2.1.1, Wk2 I am doing some two-step plotting, first using plot() to illustrate the datapoints and then using abline() to place a trend line from a fitted model into the plot. Everything works well as long as the formula of the fitted model i of the type: m1 <- lm(Dependent ~ Independent) then abline(m1) puts the proper straight line into the plot. But if I use: m2 <-
2008 Jun 12
3
Adding new columns to (output) data - e.g., read 5 cols write 8
Hello, I have the following task I'd like to accomplish: A file contains 5 columns of data (several hundred rows), let's call them a, b, c, d and e (ie these are their column headers) I also have a set of definitions, e.g., f = a + b g = a * 3 h = c + d etc. I would like to write out a new .rda file that contains columns a b c d e f g h etc. I.e. , the original data plus new columns
2012 Aug 27
6
find and replace
I have 5 (A,B,C,D,E) columns in my dataframe. I want to replace all "x" with "y" and all "a" with "b" within these 5 columns. Can I do it in one step? Thanks [[alternative HTML version deleted]]
2004 Jul 21
3
How to sort TWO columns ?
Dear ALL, I fear my question has already been answered many times before, but I haven't fund that in archives... I am working on spatial datasets and, in most arrays I'm handling, there are two columns dedicated to (x,y)-coords. For different reasons - notably to draw image() plots, I need to have these two columns sorted in increasing order. But sort() and order() seem to apply to
2005 Dec 22
1
strsplit with dataframes
Hello fellow R people, I can not figure out a pretty way to use strplit with vectors Imagine that I got the following data from someone with ID's representing several factors ID data A1-B1-t1 0 A1-B1-t2 1 A1-B2-t1 5 A1-B2-t2 10 A1-B10-t1 0 A1-B10-t2 1 A1-B20-t1 5 A1-B20-t2 10 ... I would like to turn this dataframe to station substation time data A1 B1 t1 0 A1 B1 t2 1 A1 B2 t1 5
2009 Jul 25
1
regex expression to select row or column
I have a multidimensional data which looks like the following: "S1-a" "S2-b" "S3-c" "S4-d" "S5-a" "S6-b" "S7-c" "S8-d" "T1-A" "T1-B" "T1-C" "T1-D" "T2-A" "T2-B" "T2-C" "T2-D" I read it from csv file and would like to have 16
2008 Jul 10
3
Sorting a matrix
Hi, I want to sort a matrix by a specific variable without changing the row binding between variables. Ex. Name Sex Age Fred M 24 John M 18 Mary F 21 ordered by Age Name Sex Age John M 18 Mary F 21 Fred M 24 Thanks Angelo
2011 Dec 22
3
delete all columns with all values equal to zero
Hello all: I'm sure this is quite simple, but I tried several options and I still can't get I right. I've got a data.frame and I want to delete all columns of which the sum is zero. Any ideas? Thanks, Frederico Mestre [[alternative HTML version deleted]]
2008 Nov 07
5
grouping data together
Hi. i have a data, and there is 3 columns, Month, Year and Total. and there is over 1000 rows for them because there is 87 years data for every month, so there is month from Jan-Dec, and year from 1900-1987, so i was wondering if i would want to make 12 groups (Jan,Feb.......,Dec), and put each year's total into the corresponding month (so every month group will have 88 values of total) how
2012 Mar 30
1
Multiple line Graphs
Hi Guys, I am trying to create 20 indivudual line graphs that will be updated on a weekly bases. I have managed to read in my data from SQL and defined my loop. I am having difficulty in plotting the data and I think it may have something to do with the way my data has been read in and maybe I need to change it in a dataframe?! Easch graph will be based on PolyNam, so this is defined in the