Displaying 20 results from an estimated 800 matches similar to: "Stacking several vectors from the list"
2011 Aug 23
1
Testing Specific Hypothesis
Hi All!
I am interested in testing whether the means for the data I am investigating
are equal to a specific value - let's say 0.01. I have already run a
one-way ANOVA and know that the differences in the means are not
significant, so now I want to know what values the means take on. "otestme"
is the data I am working with (it would be hard for me to get into a form
that would be
2011 Sep 13
1
Deleting Rows based on Factor and Time Period
Hi All!
I have been messing around with this problem for about a week but to no
avail! The following data has been cut down in order to make my question
reproducible. The alldat data frame includes 2 columns: 1 date column and 1
factor column (equity names)).
2011 Oct 01
1
error using ddply to generate means
Dear list,
I encounter an error when I try to use ddply to generate means as follows:
fun3<-structure(list(sector = structure(list(gics_sector_name = c("Financials",
"Financials", "Materials", "Materials")), .Names = "gics_sector_name",
row.names = structure(c("UBSN VX Equity",
"LLOY LN Equity", "AI FP Equity",
2023 Jul 06
1
Plotting factors in graph panel
Hi John:
Thanks! Below is the data using your suggestion. I used "ggplot" to make a
graph. I am not too happy with it. I am looking for something simpler and
cleaner. Plot is attached.
I also tried "lattice" package, but nothing got plotted with "xyplot"
command, because it is looking for a numeric variable on x-axis.
ggplot(TrialData4, aes(x=Income, y=Percent,
2023 Jul 06
1
Plotting factors in graph panel
Btw, I think "lattice" graphics will provide a better solution than
"ggplot", because it puts appropriate (space saving) markers on the axes
and does axes labels well. However, I cannot figure out how to do it in
"lattice".
On Thu, 6 Jul 2023 at 15:11, Anupam Tyagi <anuptyagi at gmail.com> wrote:
> Hi John:
>
> Thanks! Below is the data using your
2007 Jan 10
0
Column names in Zoo object
Hi,
I am downloading Bloomberg data from R. This data will be stored in a
zoo object by default. The command is
dat<-blpGetData(con,c("NOK1V FH Equity","AUA AV
Equity"),"PX_OPEN",start=as.chron(as.Date("12/1/2006",
"%m/%d/%Y")),end=as.chron(as.Date("12/28/2006", "%m/%d/%Y")))
Here I am downloading the data for two
2011 Feb 27
1
Plotting two lines on a graph when using par(mfrow=)
Basic question but still learning ....
How do I plot two lines (f$equity and f$bh.equity) on one of the three
graphs under mfrow ? I tried putting brackets around the first plot and
lines command but that didn't work.
par(mfrow=c(3,1))
{plot(f$Date,f$equity, col="blue", type="l", main="equity")
lines(f$bh.equity, col="gray")}
plot(f$Date,f$indicator,
2023 Jul 07
1
Plotting factors in graph panel
Hallo Anupam
I do not see much difference in ggplot or lattice, they seems to me provide almost identical results when removing theme part from ggplot.
library(ggplot2)
library(lattice)
ggplot(TrialData4, aes(x=Income, y=Percent, group=Measure)) + geom_point() +
geom_line() + facet_wrap(~Measure)
xyplot(Percent ~ Income | Measure, TrialData4,
type = "o", pch = 16, as.table =
2023 Jul 07
1
Plotting factors in graph panel
Thanks! You are correct, the graphs look very similar, except ggplot is
scaling the text font to make it more readable. Is there a way to scale
down the x-axis labels, so they are readable?
On Fri, 7 Jul 2023 at 12:02, PIKAL Petr <petr.pikal at precheza.cz> wrote:
> Hallo Anupam
>
> I do not see much difference in ggplot or lattice, they seems to me
> provide almost identical
2023 Jul 06
2
Plotting factors in graph panel
On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi <anuptyagi at gmail.com> wrote:
>
> Btw, I think "lattice" graphics will provide a better solution than
> "ggplot", because it puts appropriate (space saving) markers on the axes
> and does axes labels well. However, I cannot figure out how to do it in
> "lattice".
You will need to convert Income to a
2013 Mar 28
0
CRAN R Help
Dear Katherine,
For your first question:
If you are creating these files in a specific folder, then
list.files()
#[1] "Individual_Present_Value_BONDS.csv"? "Individual_Present_Value_Equity.csv"
#[3] "Individual_Present_Value_FOREX.csv"
gives you which files are present.? But, suppose you have other files too in the folder and you want to check only the above
2009 Feb 09
5
"reaper" is not picking up new changes to my application???
Hi,
Can anyone shed any light on why "reaper" (whilst seemingly working re
restarting my mongrel ruby process) does not pick up changes to my
application? (e.g. changing a title in a view for example). It''s like the
"mongrel_rails start etc..." is just restarting the current process but
ignoring the new details re where the new application directory is. That
is
2007 Mar 16
1
cumsum over varying column lengths
Folks,
I have a matrix of historicalReturns, where entry (i, j) is the daily return
corresponding to date i and equity j. I also have a matrix startOffset,
where entry (1, k) is the row offset in historicalReturns where I entered
into equity k.
So we have that NCOL(startOffset) = NCOL(historicalReturns).
Now I would like compute for each column in historicalReturns, the
cumulative return
2005 May 06
0
Toronto/GTA - Programmer for UNIX/ Linux/FreeBSD
Sorry for the second post. I just wanted to clarify location. I would
prefer someone local (1-2 hours away maybe) to the Toronto, Canada area.
I don't mind hearing from other areas as I haven't completely ruled
out a 100% remote team-up if I can't find the local help or can be
convinced tools for colaboration work well.
Job Type: Contract
Location: Toronto, ON, CANADA;
Job
2012 Oct 17
0
postForm() in RCurl and library RHTMLForms
Hi R Users,
I want to get the data from the url given from 10/09/2012 to 15/10/2012.
I don't know how to pass the parameters .
.......................................................................................................................................
library(RHTMLForms)
>
> ff = getHTMLFormDescription("
2009 Aug 07
2
bug? rsync counts inaccesible file as being transferred
hello,
with --stats, shouldn`t we differ between "number of files transferred" and "number of files failed" ?
the problem is, that i have files which ALWAYS fail on transfer, and to check for "number of files failed"<=2 would be the best way for me to check if the overall transfer was ok.
if i magaged to create a patch to adress this, would such patch be
2023 Jun 29
1
Plotting factors in graph panel
Reposting the data did not help. We do not like to guess, and doing so takes a great deal of time that is likely wasted.
Rows are observations.
Columns are variables.
In Excel, the first row will be variable names and all subsequent rows will be observations.
Income is the first variable. It has seven states: $10, $25, $40, $75, >$75, "No", "Answer"
MF is the second
2012 Jul 24
1
quantstrat questions
Quantstrat useRs,
I have a number of questions about how to use quantstrat that I have accumulated since I have begun playing with it. First, can the orderqty be dynamic? All of the examples I have seen are based on placing an order for 100 shares when a rule is triggered. Is it possible to set it up to buy the maximum number of shares given the starting or current equity? Similar to that
2023 Jun 29
1
Plotting factors in graph panel
Anupa,
I think your best bet with your data would be to tidy it up in Excel, read
it into R using something like the readxl package and then supply some
sample data is the dput() function.
In the case of a large dataset something like dput(head(mydata, 100))
should supply the data we need. Just do dput(mydata) where *mydata* is your
data. Copy the output and paste it here.
On Thu, 29 Jun 2023
2006 Nov 22
1
RBloomberg Multi-ticker problem
Hi,
I am trying to download data from Bloomberg through R. If I try to
download intraday data for multiple tickers and only one field, I get
the error, written below in red. How do I get rid of this error?
> dat<-blpGetData(conn, c("NOK1V FH Equity","AUA AV Equity"),
"LAST_PRICE",