Displaying 20 results from an estimated 1000 matches similar to: "How to draw following plot in R?"
2008 Dec 02
3
How to solve following equation?
I need to solve a equation like this :
a = b/(1+x) + c/(1+x)^2 + d/(1+x)^3
where a,b,c,d are known constant. Is there any R-way to do that?
Thanks in advance
--
View this message in context: http://www.nabble.com/How-to-solve-following-equation--tp20785063p20785063.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jul 18
7
Question on qplot
Hi, suppose I have following codes :
library(zoo); library(ggplot2)
dat <- matrix(rnorm(500*2), 500); dat <- zooreg(dat, start =
as.Date("01/01/01", "%m/%d/%y"), frequency=1); plot(dat)
head(dat); month.no <- format(index(dat), "%m"); dat1 <-
cbind(coredata(dat), as.numeric(month.no))
x <- dat1[,1]; y <- dat1[,2]; z <- dat1[,3]
Now I draw a
2009 Jan 11
4
How to get solution of following polynomial?
Hi, I want find all roots for the following polynomial :
a <- c(-0.07, 0.17); b <- c(1, -4); cc <- matrix(c(0.24, 0.00, -0.08,
-0.31), 2); d <- matrix(c(0, 0, -0.13, -0.37), 2); e <- matrix(c(0.2, 0,
-0.06, -0.34), 2)
A1 <- diag(2) + a %*% t(b) + cc; A2 <- -cc + d; A3 <- -d + e; A4 <- -e
fn <- function(z)
{
y <- diag(2) - A1*z - A2*z^2 - A3*z^3 - A4*z^4
2008 Nov 05
2
How to extract following data
Hi everyone,
I have this kind of raw dataset :
- <Temp diffgr:id="Temp14" msdata:rowOrder="13">
<Date>2005-01-17T00:00:00+05:30</Date>
<SecurityID>10149</SecurityID>
<PriceClose>1288.40002</PriceClose>
</Temp>
- <Temp diffgr:id="Temp15" msdata:rowOrder="14">
2008 Dec 30
5
Downloading data from Economagic
I was trying to dw data from Economagic
[http://www.economagic.com/em-cgi/data.exe/libor/day-ussnon], using
following code :
library(fimport)
dat2 = economagicSeries("libor/day-ussnon", frequency = "daily")
Here I see that data is not complete, downloaded data starts from
"2007-12-31 ", whereas actual data is available from 2001.
secondly, how I convert that data
2009 Sep 11
2
Searching 1st number within a ch. string
Hi all,
Is there any process to conduct a search for a particular digit or letter in
a ch. string? For example I want to make a search where 1st numeric figure
appears in the string "asd123". Here the answer should be "4"
Thanks,
--
View this message in context: http://www.nabble.com/Searching-1st-number-within-a-ch.-string-tp25400580p25400580.html
Sent from the R help
2009 May 11
3
Searching within a ch. string
Hi all, is there any function to find some words in a character-string? For
example suppose the string is : "gdfsa-sdhchc-88", now I want to find
whether this string contains "sdhch". Is there any R function to do that?
Regards,
--
View this message in context: http://www.nabble.com/Searching-within-a-ch.-string-tp23484010p23484010.html
Sent from the R help mailing list
2009 Nov 16
2
How to make all elements all elements lower-cap ?
I have a vector of letters like c("a", "B", "c"). Is there any R function to
force all elements to lower-cap ?
Thanks,
--
View this message in context: http://old.nabble.com/How-to-make-all-elements-all-elements-lower-cap---tp26365794p26365794.html
Sent from the R help mailing list archive at Nabble.com.
2002 Mar 19
3
Re: Problems with rgl package
I also downloaded the rgl package (after reading recent Uwe Ligges' post)
and installed in on my Win2k Pro sp2 machine. It seems to work with no
problems. I ran most of the examples, including the hist3d one, and all of
them worked fine.
A couple of thoughts. I have administrative priviliges on my machine.
Could this possible make a difference. The rgl library uses OpenGL. Is it
a
2007 Sep 25
2
3d barplot in rgl
Is there anyway to plot a matrix using a 3d bar plot. Something like
bar3 in matlab?
The example in demo hist3d does a 3d barplot for binned data, but has
anyone tried something for a simple matrix with spaces betwen bars
and axis labels using matrix dimnames or 1,2,3?
stages<-letters[1:3]
A<-matrix(c(
0.21, 0.21,0.03,
0.55, 0.58, 0.09,
1.30, 1.35, 0.22), nrow=3, byrow=TRUE,
2008 Dec 16
6
Sorting a date vector
I have a date-like-vector like :
> date_file
"10-02-2008" "10-03-2008" "10-06-2008" "10-07-2008" "10-09-2008"
"10-10-2008" "10-13-2008" "10-14-2008" "10-15-2008"
"10-16-2008" "10-17-2008" "10-20-2008" "10-21-2008" "10-22-2008"
"10-23-2008"
2010 Aug 23
1
3D stariway plot
Please, is there an R function /package that allows for 3D stairway plots like the attached one ?
In addition, how can I overlay a parametric grid plot??
Thank you
Maura
Alice body {margin:0;padding:0;} #footer { height:13px; font-size:11px; font-family:Arial, FreeSans, sans-serif; color:#ADADAD; margin:0; padding:7px 12px; text-align:right; border-top:1px solid #dcdcdc; } #footer a {
2008 Nov 08
2
[Stat related] Understanding Portmanteau test
Sorry to be off-topic. Can somebody please explain me what is Portmanteau
test? Why it's name is like that? When I would say, a particular test is
portmanteau test? I did some googling but got no satisfactory answer at all.
Please anybody help for understanding that?
Regards,
--
View this message in context:
2008 Nov 20
2
How to Clear all variables stored in current and previous sessions
Is there any function in R to clear values from all variables stored in
current and previous sessions? R site search do not give the desired result
at all, all results are about to clear screen only not variables.
Thanks,
--
View this message in context: http://www.nabble.com/How-to-Clear-all-variables-stored-in-current-and-previous-sessions-tp20604724p20604724.html
Sent from the R help mailing
2009 Jun 18
2
Altering columns
Hi,
Suppose I have following dataset :
mat <- matrix(rnorm(100), 50)
Now I want to put 2nd column in the place of 1st and 1st column in the place
of 2nd. Is there any "quick" way to do that?
Thanks and regards,
--
View this message in context: http://www.nabble.com/Altering-columns-tp24099597p24099597.html
Sent from the R help mailing list archive at Nabble.com.
2013 Mar 12
2
problema con el paquete rgl
Estimados usuarios de R:
escribo porque tengo un problema con
el paquete rgl que no puedo resolver desde hace un tiempo mi sessionInfo es.
sessionInfo()
R version 2.15.3 (2013-03-01)
Platform: i686-pc-linux-gnu (32-bit)
el problema especĂfico es el siguiente:
library(rgl)
> demo(rgl)
demo(rgl)
---- ~~~
Type <Return> to start :
>
2009 Nov 13
2
All combination
Please consider the following :
> expand.grid(rep(list(c(1:3)), 3))
Var1 Var2 Var3
1 1 1 1
2 2 1 1
3 3 1 1
4 1 2 1
5 2 2 1
6 3 2 1
7 1 3 1
8 2 3 1
9 3 3 1
10 1 1 2
11 2 1 2
12 3 1 2
13 1 2 2
14 2 2 2
15 3 2 2
16 1 3 2
17 2 3 2
18
2009 Sep 18
2
A stat related question
Can I ask a small stat. related question here?
Suppose I have two predictors for a time series processes and accuracy of
predictor is measured from MSEs. My question is, if two predictors give same
MSE then, necessarily they have to be identical? Can anyone provide me any
counter example?
Thanks.
--
View this message in context:
2006 Feb 03
2
rgl install problem on Solaris 10 X86
Hi,
Could you help me to install the rgl package on Solaris 10 x86?
I tried and got the following error messages.
When I compiled my R as 64bit, I used the SUN ProW compilers.
However, gcc seems to being used below as well as missing some information.
Thank you in advance,
Dongseok
> install.packages("rgl")
--- Please select a CRAN mirror for use in this session ---
*
2008 Jul 25
1
Tutorial on rgl Graphics
Can anyone point me towards a tutorial on using the rgl graphics package?
Something with lots of examples would be nice. Thanks.
Tom
--
View this message in context: http://www.nabble.com/Tutorial-on-rgl-Graphics-tp18649114p18649114.html
Sent from the R help mailing list archive at Nabble.com.