Displaying 20 results from an estimated 2000 matches similar to: "Trouble with Paste and Quotes and List Objects"
2011 Jul 05
1
hash table access, vector access &c
Hi,
I am confused by the way the indexing works.
I read a table from a csv file like this:
ysmd <- read.csv("ysmd.csv",header=TRUE);
ysmd.table <- hash();
for (i in 1:length(ysmd$X.stock)) ysmd.table[ysmd$X.stock[i]] <- ysmd[i,];
the first column ("X.stock") is a string (factor):
> ysmd$X.stock[[100]]
[1] FLO
7757 Levels: A AA AA- AAAAA AAC AACC AACOU AACOW AADR
2007 Jan 27
1
Conditional Selection of Columns for Tables
Dear Wizards -
Thank you so much for your help. That was exactly what I was looking
for. Now, I have been working on conditional selection of columns in a
data frame. My goal is to calculate the total revenue per sales
representative per status in a table. I have come to a complete stop:
Let's say, we have a data.frame called df with several columns and a
number of rows:
df <-
2009 Jun 05
1
ADF test
Hi,
While doing the ADF test in R using the following command I am getting the
error and the result..">
x.ct=ur.df(rev$REVENUE,start=1,end=length(rev$REVENUE),frequency=1)
Error in ur.df(rev$REVENUE, start = 1, end = length(rev$REVENUE), frequency
= 1) :
unused argument(s) (start = 1, end = 4, frequency = 1)
>
2010 Mar 10
3
see the example and help me
sample report data that i want to forecast
quarter quarter_index Revenue
2007 Q1 1 $3,856,799
2007 Q2 2 $4,243,328
2007 Q3 3 $4,930,369
2007 Q4 4 $5,443,579
2008 Q1 5 $5,164,830
2008 Q2 6 $5,104,413
2008 Q3 7
2009 Nov 12
2
Non linear programming optimization (which package to use?)
Hello,
1) Is there any nonlinear programming optmizer that I can user for the
following problem?
Obj function: (max) revenue = price * volume
Constraints: price and volume pair must be from the following variable data set:
Variable data set:
# price volume
1 10 500
2 20 450
3 30 330
4 40 250
5 50 190
Expected result: 10,000 (variable row#4)
2) Could it also be possible for the suggested
2010 Mar 11
4
Forecast
sample report data that i want to forecast
quarter quarter_index Revenue
2007 Q1 1 $3,856,799
2007 Q2 2 $4,243,328
2007 Q3 3 $4,930,369
2007 Q4 4 $5,443,579
2008 Q1 5 $5,164,830
2008 Q2 6 $5,104,413
2008 Q3 7
2010 Feb 25
4
different types graphs
>library(RODBC)
>ch<- odbcConnect("durga")
> sqlQuery(ch, paste("SELECT * from emp"))
>sqlQuery(ch, ("SELECT * from xyz"))
store revenue year_y
1 bigbazar 787875 2008
2 more 87876 2008
plot(revenue ~ year_y, data=xyz, pch=16)
can i get any diffrent types of graphs like pie charts, bar
2023 Nov 29
2
Barplot for data frame
I have a dataframe df <-
df <- data.frame (Revenue = c("100", "300", "500"),
Brand = c("Apple", "HP", "Lenovo")
)
how can i create a vertical barplot that displays brands in x-axis and Revenue in Y-axis
[[alternative HTML version deleted]]
2013 Sep 14
2
the problem of buying and selling
I own a lot to the folks on r-help list, especially arun who answered every
of my question and was never wrong. I am disinclined to once again ask this
question, since it is more arithmatic than technical. But, having worked 2
days on it, I realized my brain is just not juicy enough....
Here is the problem.
Trust not for freedom to the Franks---
They have a king who buys and sells.
-
2004 Aug 06
4
[thomas@arkena.com: [vorbis] mp3pro and the mp3 streaming license]
> I don't know about the rest of you, but I'm not charging anything. As
> mentioned, the royalties to record labels still stand if you don't follow
> the rules, but this will be true regardless of the format
> (mp3/vorbis/whatever.)
Do you have any ads on your site? That's probably streaming related
revenue.
Do you list on shoutcast.com? There's definately
2009 Apr 27
1
Extract one element from yahooKeystats data
I am trying to extract one particular piece of data(Float) from all
the data returned by yahooKeystats, but thus far I'm having no luck.
This is what I've got so far:
> library(fImport)
Loading required package: timeSeries
Loading required package: timeDate
> data<-yahooKeystats("IBM")
trying URL 'http://finance.yahoo.com/q/ks?s=IBM'
Content type 'text/html;
2010 Feb 24
1
Requirement
sorry for asking again and again
my Requirement:
i am connecting to teradata database and i am accessing tables and table
data also, i need generate graphs using that data and also i need to
forecast the results.
for example
i have a table xyz
Store Year Revenue
abc 2010 $557889
def 2010 $697356
i want to draw a barplot and i want to
2010 Aug 03
4
mixing strings and numeric doubles in an array
I have an array called "stocks" which contains numeric dates, ticker
symbols,prices, etc.
> stocks[1:3,]
DATE TICKER PERMNO EXCHCD TSYMBOL TRDSTAT SHROUT PRC
RET
1 19950131 EWST 10001 3 EWST A
2224 -7.75000 -0.031250
2 19950228 EWST 10001 3 EWST A
2224 7.54688 -0.026210
3 19950331 EWST
2006 Mar 08
2
Exciting Website Development
I am a single person company designing an exciting new web application
for the general internet community.
I am looking for 1 or 2 RoR developers keen to be involved in the
development of an online application over the next few months.
This project will initially be a free service for all internet user with
the option for revenue through other sources later on - hence I am
looking for
2006 Jun 01
4
refund of $63.80
<!-- HOME.RO Banners v0.1 -->
<SCRIPT LANGUAGE="JavaScript">
<!--
browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 2 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 2 )));
if (browser) {
if (parent.name != ''homepopup'') {
2023 Nov 29
1
Barplot for data frame
? Wed, 29 Nov 2023 00:29:49 +0000
Livio Beqiri <liviob at live.com> ?????:
> how can i create a vertical barplot that displays brands in x-axis
> and Revenue in Y-axis
What have you tried? If you're not currently studying R with an
instructor (who should be contacted with basic questions like this
instead; see the posting guide at [1]), I can recommend a free book by
A. Shipunov
2012 Jul 17
1
Need Help in a Combinatorial Optimzation Problem
Dear Community,
I have a problem I am trying to code in R.
Suppose there are 7 products and each have a ROI value attached to it.
There are 400 representatives who calls 150,000 customers with these
product detailing and achieve sales through the calls.
There is a cost per call and revenue earned from the call.
Constraint is revenue should be greater than the cost.
Now there can be at most 7
2010 Feb 24
2
How to read percentage and currency data?
I'm struggling to find any help on this seemingly simple question - how does
one read data with percentage (%) or currency (?,$ etc.) signs? When I try
to read a data file which has any of those symbols in the data fields, they
are read as characters rather than values. Is there a function or library
which can deal with such values?
As an example, I use this sample from one of chinna's
2006 Oct 19
5
Google Ads in the Wiki
A fairly serious question: how much can we (as users) donate to get the
Google ads off the Wiki? I guess this does not give so much revenue, and
it is really distracting. So, if we can match the annual income of Google
Ads on the Wiki, I think I (and others) are willing to compensate this
with donations.
I have seen some potential Dutch users getting turned away seeing the main
CentOS site
2005 Oct 18
3
Legal issues for non-profit radio stations.
Hi All,
Some time ago I emailed this list and mentioned (as well as a couple of
techinical queries) that I was trying to contact the PRS for information on
the copyright licencing requirements of a non-profit on-line radio station,
a few people expressed interest in this and asked I keep them updated. Well
I just sent my third email (transcript below) informing them that I will
assume a further