Displaying 20 results from an estimated 2000 matches similar to: "Conditional Selection of Columns for Tables"
2007 Jan 10
2
select subsets in data frame
Dear WizaRds!
A trivial question indeed on selecting subsets in data frames. I am
sorry. Unfortunately, I did not find any helpful information on the
introduction, searched the help archive and read in introductory books.
Please help:
I want to select column "KB" which is read via read.csv2 as a data.frame
into d. I checked that it is indeed a data.frame object and included the
2005 Nov 02
2
Anything like associative arrays in R?
Let me preface my question by stressing that I am much less interested
in the answer than in learning a way I could have *found the answer
myself*. (As helpful as the participants in this list are, I have far
too many R-related questions to resolve by posting here, and as I've
written before, in my experience the R documentation has not been very
helpful, but I remain hopeful that I may have
1999 Mar 25
1
Y-limits of barplots
Hello everybody,
I frequently have to produce barplots from variables the natural variation
of which is far away from zero. A typical range would be, say from -16 to
-28.
So, the following example should give an "honest" presentation:
x<-c(-20,-22,-21,-28)
barplot(x,beside=T,ylim=c(-18,-30))
But using anything else but "0" for the first element of ylim
leads to strange
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)
>
2011 Jun 18
1
Trouble with Paste and Quotes and List Objects
Dear R Helpers,
I have a list that contains a number of objects, each of them financial
statement data from quantmod (although I don't think that knowledge of
quantmod is necessary to help with this problem).
> str(listfinobj)
chr [1:4815] "A.f" "AA.f" "AACC.f" "AAME.f" "AAN.f" "AAON.f" "AAP.f"
"AAPL.f"
2008 Oct 01
1
Help with CrossTable
Hi,
I am using the CrossTable function from library(gmodels).
x=unique(data[,c("L1","L1_Revenues","RIC")])
L1_Classification=CrossTable(x$L1,x$L1_Revenues,exclude =
c("NA","","0%","0"),prop.r=FALSE,prop.c=FALSE,prop.t=FALSE,prop.chisq=FA
LSE,dnn=c("L1_Classification","Revenue"))
What I would like
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;
2012 Jan 09
0
power in generalized linear models with categorical independent variables
Dear r-help list members,
Is there an R package to compute the power and sample size of
generalized linear models
with categorical independent variables? I am especially interested in
the
negative binomial error model.
Failing this, is there any package outside of R that does this kind
of calculation?
Thanks!
Rich
------------------------------------------------------------
Richard A.
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
2011 Jun 27
0
cld object did not plot
Dear R list.,
I am running a script to get a compact letter display.
library(lme4)
library(multcomp)
library(gplots)
####### Mixed Effects Model #########
data <- read.table("AJmix.txt",header=TRUE, sep="\t")
attach(data)
y<-cbind(positive,negative)
treatment<-factor(treatment)
mouse<-factor(mouse)
data$obs<-1:nrow(data)
names(data)
detach(data)
attach(data)
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