Displaying 20 results from an estimated 400 matches similar to: "How to make the labels of pie chart are not overlapping?"
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
2008 Jan 30
9
catching errors, rspec basics
Trying to spec the following but don''t know if I''m using the right matcher.
How do I spec? Plz, sugar on tops.
Audience.stats
- should have a stats of 80 when passed a flux of 10
- should return an error when passed a string (ERROR - 1)
1)
TypeError in ''Audience.stats should return an error when passed a string''
String can''t be coerced into Fixnum
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]]
2016 Aug 10
2
Asterisk & Vitelity Invite issues
On 8/9/16 12:40 PM, Matt Fredrickson wrote:
> On Mon, Aug 8, 2016 at 9:25 AM, Tammy Firefly <tammy-lists at wiztech.biz> wrote:
>> Hi All,
>>
>> We have asterisk 11.23 running sip to vitelity and from there IAX trunks
>> split off to where they need to go. We are having a problem getting
>> chan_sip to quit ignoring re-invites from Vitelity. Our side ends
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 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
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 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
2013 Jan 25
2
How to name the elements of list
HI,
I have the array list:
X<-vector("list", 2)
X[[1]] : data frame 1
X[[2]]: dataframe2
now i want to change index 1 and 2 into: "0-10" , "11-20" ,.
finally I want to have
X[["0-10"]]:dataframe1
X[["11-20"]]:dataframe2
how do I get them?
Thanks a lot.
Kind regards,
Tammy
[[alternative HTML version deleted]]
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
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.
2012 Jun 01
2
Day or Month difference between dates???
HI, R-Users:
I got a questions. have been struggling so long time....
I have this data:
> m1$Year_Month
201009 201010 201011 201101 201102
> min(m1$Year_Month)
201009
I want to calculate the following two answers, how do I program it?
> difference in Month?????
[1] 0 1 2 4 5
>difference in Days?????
0 31 61 ....
Thank you in advance!!!
Tammy
[[alternative
2012 Dec 05
2
how to assign factor level into each value
HI, All
I met the following problem. I dont know how to handle it.
Country Price
1 CN 44.25
2 CN 21.07
3 CN 92.70
4 CN 47.41
5 CN 111.67
6 CN 50.57
I want to create the 3rd colume with different
2009 Sep 21
3
Create directory and copy files in R
HI, All R users,
My problem is:
> fn
[1] "C:/Documents and Settings/lma/Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha/book_log-20041210T095019.txt"
> dpath
[1] "C:/Documents and Settings/lma/My Documents/Juha/book"
I want to make a function "cyfun" to copy all files in "dir" to "deskdir" but I always got the following problem:
Error
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
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 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
2016 Aug 08
2
Asterisk & Vitelity Invite issues
Hi All,
We have asterisk 11.23 running sip to vitelity and from there IAX trunks
split off to where they need to go. We are having a problem getting
chan_sip to quit ignoring re-invites from Vitelity. Our side ends up
sending a reinvite which their side & they do not support us sending a
reinvite. Ive tried:
canreinvite=no which was supposedly replaced by:
directmedia=no
Can anyone shed
2009 Mar 11
2
Repeated values
Hi,All.
How to make a program to delete repeated value?
a example
> c
[1] 4 3 0 3 4 1 0 1 4 4 3 4 3 4
I want to get : 4 3 0 3 4 1 0 1 4 3 4 3 4
two 4 is being represented by one 4.
Thanks.
Tammy
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
[[alternative HTML
2009 Sep 22
2
Manipulate directory-help
Dear R-users,
I have a problem:
I have many files in the directory:"C:/Documents and Settings/lma/Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha"
I want to copy those files into the new directory: "C:/Documents and Settings/lma/My Documents/Juha/book" (<-use "paste"), I first create the directory using dir.create, but it looks doesnt work.
How do I implement