similar to: merging data frame

Displaying 20 results from an estimated 600 matches similar to: "merging data frame"

2010 May 12
1
data frame subscription
Dear group, Here is my df : pose16 <- structure(list(DESCRIPTION = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 12L), .Label = c("COPPER May/10", "COTTON NO.2 Jul/10", "CRUDE OIL miNY May/10", "GOLD Jun/10", "ROBUSTA COFFEE (10) Jul/10", "SOYBEANS Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 May/10",
2010 May 11
2
Regex and gsub
Dear group, Here is my df : df3 <- structure(list(DESCRIPTION = c("COPPER May/10", "COTTON NO.2 Jul/10", "CRUDE OIL miNY May/10", "GOLD Jun/10", "ROBUSTA COFFEE (10) Jul/10", "SOYBEANS Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 May/10", "WHEAT Jul/10", "SPCL HIGH GRADE ZINC USD",
2010 Apr 28
1
gsub,regex and replacing
Dear group, I need to modify some characters in a data frame. I want to use gsub and the regex functionalities to do this. Here is the data frame (df): DESCRIPTION prix quantity 1 CORN Jul/10 -1.5 0 2 CORN May/10 -1082.0 -3 3 ROBUSTA COFFEE (10) Jul/10 11084.0 8 4 SOYBEANS Jul/10 1983.5
2010 Apr 28
3
data frame move columns
Dear group, Here is my df: avprix <- structure(list(DESCRIPTION = c("CORN Jul/10", "CORN May/10", "ROBUSTA COFFEE (10) Jul/10", "SOYBEANS Jul/10", "SPCL HIGH GRADE ZINC USD", "STANDARD LEAD USD"), prix = c(-1.5, -1082, 11084, 1983.5, -2464, -118), quantity = c(0, -3, 8, 2, -1, 0), fees = c(-8.64, -30.24, -26.4, -25.92, -37.5,
2010 Aug 04
3
merge two data frames
Dear list, here are my two data frames: av <- structure(list(DESCRIPTION = c("COFFEE C Sep/10", "COPPER Sep/10", "CORN Dec/10", "CRUDE OIL miNY Sep/10", "GOLD Aug/10", "HENRY HUB NATURAL GAS Sep/10", "PALLADIUM Sep/10", "SILVER Sep/10", "SOYBEANS Nov/10", "SPCL HIGH GRADE ZINC USD", "SUGAR
2010 May 20
6
writing function
Dear group, I am trying to write functions, but as a beginner, everything is not so obvious. Let's say I want the results in a list of elemts like this : tot1, tot2, etc Here is a function: toto <- function(x,y) { for(i in x:y){ paste(c("tot",i),collapse="")<-(i*2) } } If I type this : >toto(1,5) I get this message error: Error in paste(c("tot",
2010 May 11
1
merge two data frames
Dear group, I have these 2 following data frame: allcon <- structure(list(DESCRIPTION = structure(1:17, .Label = c("COFFEE C Jul/10", "COPPER May/10", "CORN Jul/10", "CORN May/10", "COTTON NO.2 Jul/10", "CRUDE OIL miNY May/10", "GOLD Jun/10", "HENRY HUB NATURAL GAS May/10", "ROBUSTA COFFEE (10)
2010 May 26
5
(no subject)
Dear group, Here is my data frame: > dput(u) structure(list(DESCRIPTION = structure(c(2L, 5L, 6L, 7L, 9L, 11L, 12L, 15L, 14L, 16L, 1L, 10L, 3L, 4L, 13L, 8L, 17L), .Label = c("COFFEE C Jul/10", "COPPER May/10", "CORN Jul/10", "CORN May/10", "COTTON NO.2 Jul/10", "CRUDE OIL miNY May/10", "GOLD Jun/10", "HENRY HUB
2010 Apr 30
1
read.csv and blank character in object name of my data.frame
Dear group, Here is my data frame: position100415 <- structure(list(DESCRIPTION = structure(1:9, .Label = c(" SUGAR NO.11 Jul/10 ", " SUGAR NO.11 May/10 ", "CORN May/10 ", "COTTON NO.2 Jul/10 ", "CRUDE OIL miNY May/10 ", "ROBUSTA COFFEE (10) Jul/10 ", "SILVER May/10 ", "SOYBEANS Jul/10 ", "WHEAT May/10
2010 Apr 23
2
read.csv data frame thousands separator
Dear group, Here is my df, trades1 : trades1 <- structure(list(Instrument.Long.Name = c("CORN", "CORN", "CORN", "CORN", "CORN", "SOYBEANS", "SOYBEANS", "SOYBEANS", "SOYBEANS", "SOYBEANS", "SOYBEANS", "STANDARD LEAD USD", "STANDARD LEAD USD", "SPCL
2010 May 13
1
access objects in my environment
Dear group, Here are my objects in my environment: > ls() [1] "Pos100415" "Pos100416" "posA" "pose15" "pose16" "pose16t" "position" "trade" "x" I need to pass the object "Pos100415" to a function. This element is a data.frame, obtained through a function: Pos(x)<-myfun(x)
2010 Apr 29
3
convert Factor as numeric
Dear group, I know this issue has been already covered, and before you reply I must say I have read the R-FAQ and search the mailing list archive. I still can't manage to change my factor to numeric as I couldn't find any clear answer. Here is my df : Pose1 <- structure(list(DESCRIPTION = structure(c(1L, 2L, 3L, 4L, 5L, 8L), .Label = c(" SUGAR NO.11 May/10 ", "COTTON
2010 Jun 18
1
Re: Links 2003 & Grand Prix 4
Update: Grand Prix 4 plays almost flawlessly with Catalyst 10.6 and WINE 1.2rc3.. HOWEVER, over the past few releases of WINE (audio work), I've noticed that partly through the playback of Grand Prix 4, the audio suddenly stops. Prior to 1.2rc3, Grand Prix 4 used to crash shortly thereafter. However, since WINE 1.2rc3, after the audio stops, Grand Prix 4 continues without crashing ... just
2002 Jul 25
3
Warning message
hi! i'm quite new in R and i don't understand why this statement doesn't work: > mode(mensuel$VARIANCE.PRIX) [1] "numeric" > storage.mode(mensuel$VARIANCE.PRIX) [1] "integer" > mean(mensuel$VARIANCE.PRIX) [1] NA Warning message: argument is not numeric or logical: returning NA in: mean.default(mensuel$VARIANCE.PRIX) Thanks for help!
2010 May 26
2
writing function : can't find an object
Dear group, Here is my function: #return the daily PL for day y PLDaily<-function(x,y) { #find elements in my directory with "LSCPos" in the name, keep the numeric part in the name and #create a list l<-gsub("\\D","",dir()[grep("LSCPos",dir())]) #select in the list the desired elements
2006 Sep 06
1
R 2.3.1 and R2.3.0 crash with system() and shell() commands (PR#9207)
Full_Name: Johannes Prix Version: 2.3.1/2.3.0 not 2.1.1 OS: Windows XP Service Pack 2 Build 2600.xpsp_sp2_gdr.0503011519 Submission from: (NULL) (137.208.41.103) In a vanilla R, version 2.3.1 or version 2.3.0 the following crashes: system("gzip.exe") where I did nothing, prior to this command, but change the directory to my other working directory where there's gzip.exe. Same
2006 Apr 18
3
seq() function accuracy inacceptable (PR#8779)
Full_Name: Johannes Prix Version: 2.1.1 OS: WinXP, SuSE Linux Submission from: (NULL) (137.208.41.195) The seq-command produces unnescessary inaccurate results, which can be extremely annoying. I absolutely do not see the nescessity of numerical garbage to appear in the following simple case. E.g. try this: > seq ( 61.55 , 62.00 , by=0.01 ) - round ( seq ( 61.55 , 62.00 , by=0.01 ) ,
2008 Mar 31
3
Links 2003 & Grand Prix 4
Grand Prix 4 doesn't install completely, i.e. the installation terminates just at the end of the process which might be due to the msi installer. Links 2003 installs, but aborts in the early stages of boot which might be due to copy protection, e.g. SafeDisc.
2010 Jan 02
3
DxDiag not working - Wine 1.1.35 + Ubuntu 9.10
wine dxdiag.exe spews a few fixme messages (Related to ALSA drivers) and then exits. No Window, no error messages. Till now, this wasn't a problem (several games ran fine) but when I tried installing a legacy game (Grand Prix World by Microprose), it could not detect my graphics card. Tried DxDiag but it isnt working. Any help will be much appreciated, thanks.
2006 Jul 15
1
Running Grand Prix Legends in wine
I am trying to run Grand Prix legends, more specifically the 2004 Demo (http://www.bhmotorsports.com/GPL/downloads/3239) I could install the demo using wine but when I launch it, forcing it in a 1024x768 windows, a blue screen opened then closed, no error messages. I found an old howto (http://www.zefix.tv/linux_wine_racing_simulations/GrandPrixLegends) but I still couldn't figure it out. I