Displaying 8 results from an estimated 8 matches for "255b488f".
2010 May 26
5
(no subject)
...sing mapply with some line like this :
> mapply(if,u$POSITION,==0,print("WARNING:POSITIONS ARE WRONG",quote=F))
But it seems it is not the correct way to pass the various arguments.
Any help is appreciated
***************************
Arnaud Gaboury
Mobile: +41 79 392 79 56
BBM: 255B488F
2010 May 21
1
select elements in a list
...419,100420.
The object "l" is a list, but can be of any other kind if it can help.
I tried something like this :
>select<-l[c(x:y)]
But it doesn't return the needed result
Any help would be appreciated
***************************
Arnaud Gaboury
Mobile: +41 79 392 79 56
BBM: 255B488F
2010 Apr 23
3
substract start from the end of the vector
...te (09/07/10 .). I
know the function substr(x, start, stop), but in my case, I need to indicate
I want to start from the end of the vector, and I have no idea how to pass
this argument.
TY for any help
***************************
Arnaud Gaboury
Mobile: +41 79 392 79 56
BBM: 255B488F
***************************
[[alternative HTML version deleted]]
2010 Apr 27
1
save a data frame in environment
...on. If I do a
save(), it will be saved in my directory, but won't see it when I do ls(),
even if I do a get() before. What is the process to save these 2 objects in
order to access them later in another function?
***************************
Arnaud Gaboury
Mobile: +41 79 392 79 56
BBM: 255B488F
***************************
[[alternative HTML version deleted]]
2010 May 11
2
Regex and gsub
...was thinking using
something like this:
>df3$DESCRIPTION<- gsub("here is a regex expression","",df3$DESCRIPTION).
Can't write the pattern argument in regex.
Any help would be appreciated.
TY
***************************
Arnaud Gaboury
Mobile: +41 79 392 79 56
BBM: 255B488F
2010 Apr 23
2
read.csv data frame thousands separator
...ot; column is character, when I want it numeric.
I can't change the column class, even when playing with the read.csv or
as.numeric commands and all their arguments.
Any help would be appreciate.
***************************
Arnaud Gaboury
Mobile: +41 79 392 79 56
BBM: 255B488F
***************************
[[alternative HTML version deleted]]
2010 Apr 14
6
sum specific rows in a data frame
I have a data frame called "pose":
DESCRIPTION QUANITY CLOSING.PRICE
1 WHEAT May/10 1 467.75
2 WHEAT May/10 2 467.75
3 WHEAT May/10 1 467.75
4 WHEAT May/10 1 467.75
5 COTTON NO.2 May/10 1 78.13
6 COTTON NO.2 May/10 3 78.13
7 COTTON NO.2 May/10 1 78.13
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