Displaying 20 results from an estimated 52 matches for "metal_l".
Did you mean:
metall
2012 Dec 13
3
how to aggregate the dataset
HI,
Sorry for messing up..
I want to transform the following dataset:
product min_price max_price mean_price country price_band
11 34 50 40 VN 0-300
22 10 30 15 VN 0-300
Into:
product VN price_band
11 40 0-300
[34,50]
22 15
2012 Nov 08
5
map two names into one
Thanks.
Yes. Your approach can identify:
Glaxy ace S 5830 and
S 5830 Glaxy ace
But you can not identify using same program:
Iphone 4S 16 G
Iphone 4S 16G
How should I solve both in same time.
Kind regards,Tammy
[[alternative HTML version deleted]]
2013 Mar 15
3
How to list the all products' information of the latest month?
Hi,
I have data frame like this:
Product Price Year_Month PE
A 100 201012 -2
A 98 201101 -3
A 97 201102 -2.5
B 110 201101 -1
B 100 201102 -2
B 90 201103 -4
How can I achieve the following result
2009 Oct 01
2
The problem of readLines
Dear R-users,
I use "readLines" to read data, but when processing the large data set, there are few files which can not be readed in:
48: In readLines(name_c[i]) ... :
incomplete final line found on 'C:/Documents and Settings/lma/My Documents/habitdata/244052900243997/calllog/calllog_log-20050505T121611.txt'
...
Whats the problem about this?
Regards,
Tammy
2013 Jan 24
3
how to combine unequal rows and columns in R
HI,
I have the following list:
crosspries
$crosspries[[1]]
Product Year_Month prod1
A 201208 1
B 201208 2
C 201208 1
$crosspries[[2]]
Product Year_Month prod1 prod2
A 201209 1 1
B 201209 2
2009 Mar 05
2
File checking
Hello,
How can I check if file is empty in R, if it is, then jump out and read next file; if it isn't, then read through?
Thanks a lot for any help.
Tammy
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
[[alternative HTML version deleted]]
2012 Dec 12
2
how to grep in r
Hi,
I met this problem.
Trade_Price_Band x
1 0-30 0.6237240
2 101-150 0.6743857
3 151-200 0.6778513
4 201-300 0.6640293
5 301-400 0.6630991
6 31-50 0.6314547
7 401-500 0.6776249
8 500+ 0.6557705
9 51-75 0.6621073
10 76-100 0.6623469
I want to get the following matrix
2013 Jan 25
3
how to delete the null elements in list
HI,
I have the list:
> suu
[[1]]
NULL
[[2]]
NULL
[[3]]
item_id prod
1 2
[[4]]
item_id prod
1 2
2 4
how to delete all "NULL" elements from suu to get only
>suu
[[3]]
item_id prod
1 2
[[4]]
item_id prod
1 2
2 4
??
Kind regards,
Tammy
[[alternative HTML version deleted]]
2013 Mar 14
2
HOw to achieve big vector times big dataframe in R?
HI,
I have the following question:
Vector a with lenght 150
A B C D.........
dataframe b with dim 908X150
1 1 1 1.....
2 2 2 2
3 3 3 3
4 4 4 4
................
final result I want is the vector with length 908:
A*1+B*1+C*1+D*1+.....
A*2+B*2+C*2+D*2+.....
A*3+B*3+C*3+D*3+.....
A*4+B*4+C*4+D*4+.....
....
because of too large dimension, how can I achieve this in R?
2009 Mar 17
4
Merging
Hi, All.
I have a data frame with the part as :
.....
142 2006-02-22 16:28:18 useractivity_act 8 0
143 2006-02-22 16:28:26 4 2 0
144 2006-02-22 16:28:28 3 3 0
145 2006-02-22 16:28:31 4 4 1
146 2006-02-22 16:28:35 3 159 0
147
2012 Dec 13
2
How to create multiple country's data into multiple sheets of one excel
HI,
I have large dataset of many countries. I have written the program to run through each country to generate one output for each country. I want to put the output like this:
one sheet has output for one country. How do I achieve it by r.
I have tried this:
library(xlsx)
write.xlsx(nnn, "vn.xlsx", sheetName="Sheet1") [1]
but when I change sheetName="Sheet2"
2009 Sep 30
2
Change directory to implement same programes
HI, R-Users,
I have one problem:
I have written the the programs which process all file in one directory: for example:
setwd("C:/Documents and Settings/lma/My Documents/Vappu-saved/Log") as the start.
..........
But I have many folders like "Vappu-saved" and there are a lot of files in each directory. What I want is using the same program what I write for the above
2009 Sep 01
3
data frame
HI, R user,
I generate the vectors with the same length. I want to put each vector into each column of data frame. Why it doesnt work`?
rm<-data.frame()
for(a in 1:6){
rm[,a]<-getmeasure(p1,a,speech)
}
thanks a lot
Tammy
_________________________________________________________________
Share your memories online with anyone you want.
2013 Mar 28
2
How to search in each excel in my working dir and extract part information of one product in each country?
Hello,
I have created many excel files in my working dir. each excel file contain one country's data. In the excel, I have dataframe in sheet1, where each product and its relative information is
in each row as following:
Product PE Retail_price_Band Country Model_Fit
A -2.5 0-50 CN 84%
B -2.1 51-100
2013 Jan 22
3
How to align group based on the common values of two columns in r
HI,
I met this problem:
I have the feature data frame:
Feature OS
4 2
4 1
4 3
1 2
4 1
what I want to do is to autimatically create one more column called "group":
Feature OS Group
4 2 1
4 1 2
4 3
2012 Sep 26
3
map two names into one
Dear R user:
I have got the following problem:
I have imported two data sets into R: one set includes price information, another one includes volume information. but I noticed the wrong data order problem in the product name,
for instance,
in one data set,
"GALAXY ACE S 5830"
in another one,
it is "S 5830 GALAXY ACE"
both represent same product. how do i map two name
2013 Mar 04
3
Excel User interface for R
HI,
Assume I have the data frame generated from R as the following:
Product Price market_share
A 100 10%
B 110 9%
C 120 20%
D 90 61%
What I want to do is to have this kind of excel user interface by changing price of certain products, to get the impact of market share generated from R:
if I change A
2009 Mar 12
4
who can give me some hint?
Hi All,
> act_2
Date Dtime Hour Min Second Rep
51 2006-02-22 14:52:18 14 52 18 useractivity_act
52 2006-02-22 14:52:18 14 52 18 4
55 2006-02-22 14:52:49 14 52 49 4
57 2006-02-22 14:52:51 14 52 51 4
58 2006-02-22 14:52:52 14 52 52 3
60 2006-02-22 14:54:42 14 54
2009 Oct 01
2
Debug
From: metal_licaling@live.com
To: r-help@r-project.org
Subject: Debug
Date: Thu, 1 Oct 2009 15:21:42 +0300
Hi, R-Users,'
I have written a programe to process the bunch of files in one folder.
But there is a error came out;
How can I know which file returns error when being processed?
I have tested t...
2009 Mar 11
1
Date frame
Hi, All,
How to make a data frame, each row of data frame store the different length of vector?
Thanks.
Tammy
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx
[[alternative HTML version deleted]]