Displaying 20 results from an estimated 200 matches similar to: "How to create a legend that automatically reads the values from two vectors?"
2012 Mar 15
1
eigenvalues of matrices of partial derivatives with ryacas
Hello,
I am trying to construct two matrices, F and V, composed of partial
derivatives and then find the eigenvalues of F*Inverse(V). I have the
following equations in ryacas notation:
> library(Ryacas)
> FIh <- Expr("betah*Sh*Iv")
> FIv <- Expr("betav*Sv*Ih")
> VIh <- Expr("(muh + gamma)*Ih")
> VIv <- Expr("muv*Iv")
I
2010 Jan 07
1
faster GLS code
Dear helpers,
I wrote a code which estimates a multi-equation model with generalized
least squares (GLS). I can use GLS because I know the covariance matrix of
the residuals a priori. However, it is a bit slow and I wonder if anybody
would be able to point out a way to make it faster (it is part of a bigger
code and needs to run several times).
Any suggestion would be greatly appreciated.
Carlo
2011 Dec 01
3
Change the limits of a plot "a posteriori"
Hi all
How can I change the limits (xlim or ylim) in a plot that has been already
created?
For example, consider this naive example
curve(dbeta(x,2,4))
curve(dbeta(x,8,13),add=T,col=2)
When adding the second curve, it goes off the original limits computed by R
for the first graph, which are roughly, c(0,2.1)
I know two obvious solutions for this, which are:
1) passing a sufficiently large
2013 Jan 15
5
Duda gráficos - paper="a4"
Buenos días:
A ver si alguien me puede iluminar, porque ya he sobrepasado los límites de mi paciencia y de mi imaginación con este asunto:
Dado un gráfico creado con un plot (y funciones auxiliares como polygon, etc.) y una tabla creada debajo de ese gráfico (creada con addtable2plot), y dados unos text situados a modo de título encima del plot y otros encima de la tabla, ¿por qué cuando trato
2012 Jul 17
2
Table/Frame - output
I would like to output a nicely formatted data frame to a bitmap.
Is this possible in R?
--
View this message in context: http://r.789695.n4.nabble.com/Table-Frame-output-tp4636790.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jul 23
3
How to pass a character argument which contains expressions to arg.names in barplot?
Hi all
Can anybody help me with this? I am trying to include in an automatic way
the argument in arg.names in a barplot. I generate the labels I want to
appear below the bars with a for loop, and they contain subscripts, so I
need to use expression
anch<-0.05
esp<-4
for (i in 1:dim(Ntot)[1])
{
naux<-Ntot[i,]
naux2<-naux[naux>0]
nind<-which(naux>0)
2012 Apr 26
6
print table on plot
Hello,
I would like to be able to plot an array on a plot, something like:
|arg1 | arg2 | arg3
val1| 0.9 | 1.1 | 2.4
val2| 0.33 | 0.23 | -1.4
val3| hello| stop | test
I know Rwave is good to report but don't want to use it.
? Is there a package that allow quick and dirty plot of dataframes like this
?
Thanks a lot
--
View this message in context:
2010 May 04
1
All possible paths between two nodes in a flowgraph using igraphs?
Hi all
Is there any systematic way to compute all possible paths, first-order loops
and j-th order loops between two given nodes in a flowgraph (directed graph
with cycles) - preferably using the igraph library in R? I have checked the
igraph documentation but I can't figure out any direct and systematic way to
do so. Any ideas?
I use the following definitions from Butler, R. and A.
2009 Jun 02
5
how to add value on the bar ploted by barplot()
how to add value on the bar ploted by barplot()?
and the axis label is too big, anyone know how to change their font , thanks
--
Xiaogang Yang
Sensorweb Research Laboratory
http://sensorweb.vancouver.wsu.edu/
Washington State University Vancouver
[[alternative HTML version deleted]]
2008 Feb 22
1
addtable2plot(plotrix)
Dear List
adding a table to a plot using addtable2plot(plotrix) does not seem to
work when using a logarithmic axis. The table is then reduced to one
line. Is there an argument to indicate that a log-scale is used, or an
alternative to add a bunch of information to a plot?
I'm using R 2.6.1 on WinXP SP2.
thanks
Markus
--
Markus Didion
Wald?kologie Forest Ecology
Inst. f.
2009 Mar 05
4
including tabular information with a plot in R Graphics
Hi all,
I have a presentation problem that I cannot find a solution to in the
documetnation.
I have a nice barplot. Below this I would also like a table with some
information relating to the plot.
My idea was to have the plot and table on the same graphics window so I can
output them as an image file for a report.
Does anybody know how to include tabular information from a dataset or table
into
2008 Jan 14
1
stochastic growth rate (package biopop)
Dear all,
I am running matrix population models using package "popbio".
In a deterministic model {i.e., transition matrix is defined as A <-
matrix(c(0.70, 0.70,0.35,0.50), nrow=2,byrow=TRUE}, population growth rate
can be estimated from the dominant eigenvalue {command "eigen.analysis"}.
However, I cannot figure out the way to compute the asymptotic stochastic
population
2013 Feb 26
1
Help with graphs in A4 size
Hi,
I need to generate complex graphics which have to be shown in the plot window but also in pdf file, and they must have A4 size. This is the reason why I use width=8.27 and heigth=11.69.
The problem is that I don't make it runs when I put something (text, lines, and so on) outside the plot region.
I mean if I run the following code, it works perfectly, because the text "My
2008 Apr 21
2
"spreadsheet" in plot
Hello,
how can I print a table (lets say my table xtable contains 3 rows and 3
Columns, the fileds consists of text) directly in a plot? when I use
mtext(xtable), he tries to write everything on the same place.
Thank you in advance,
Stephan
--
[[alternative HTML version deleted]]
2008 May 06
2
Print table data on to a plot
Hi,
Is there away to print a short table out along side with a plot?
I'm thinking about doing a
par(mfrow = c(1,2))
Then, the plot is on one side, summary result on the other.
Is there any quick way to print out a data.frame in table format? Thanks
--
Regards,
Anh Tran
[[alternative HTML version deleted]]
2008 Sep 27
2
plotting with a table right under it
Hi guys,
I'm new to R and this might be a basic question. I want to have a plot with
a table right under it containing all the data in the plot. Is that possible
in R? How do to it?
Thanks!
Yuhan
--
View this message in context: http://www.nabble.com/plotting-with-a-table-right-under-it-tp19705866p19705866.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jan 13
1
Printing off tables?
Is it possible for R to print tables?
I see how powerful R is for printing off plots in multiple different formats, but is it possible for R to also print off tables?
I am able to output data.frames, but would like to format the data in R and output it in JPG, PDF, or other format.
Please forgive me if I should have read this in the basic R format, but I guess I must have overlooked it.
2009 Mar 27
2
print table (data.frame) to pdf
How can I print a data.frame to a PDF with pdf()...dev.off()
____________
Paulo E. Cardoso
[[alternative HTML version deleted]]
2011 Oct 05
1
Display a contingency table on the X11 device
Hello,
I'd like to output a table to the x11 device, but I can't seem to find an easy way to do it. Specifically, I'd like to display a 2x2 contingency table alongside a graphical plot, but can only see how to output to the console. Is there a library that can do this?
Thanks for any suggestions,
Parker
[[alternative HTML version deleted]]
2009 Sep 21
3
Putting a text box in a plot
Hello everyone,
I have a plot and I want to but a (formatted) box containing text and
numbers, say:
Mean: 0.1
St.Deviation: 1.1
Skewness: 1.1
Kurtosis: 0.5
I know there is a way to do this, there is a function in some library,
but it's been years since
I used this function, and I do not remember where I found it.
Could anyone help out?
Thank you in advance!
Sergey
--
Kniven sk?rpes bara