Displaying 20 results from an estimated 6000 matches similar to: "legend"
2006 Jul 19
3
illegal operation in debian (PR#9086)
Full_Name: Agustin Perez
Version: 2.3.1
OS: Debian 2.6.8-11-amd64-generic
Submission from: (NULL) (193.147.142.6)
First of all excuses for my bad use of english and thanks for read my problem.
Well when I do the following comand in R suddenly crashes and exit me for the
enviroment:
> a<-matrix(1:13500,450,30)
> a%*%t(a)
*** caught illegal operation ***
address 0x2a9590086f, cause
2004 Sep 16
5
Indexing lists
DeaR useRs:
I have a list with 500 elements, in each other there are data.frames and I
want to take the first row and the first column of each elements of my list
since the first to the 500-th.
Thanks and excuse my bad English.
---
[[alternative HTML version deleted]]
2003 Dec 15
2
Error with spdep
Dear useRs:
First of all I would like to thank all the responses.
I've an error with package "spdep".
I am working with a Windows XP machine (AMD-2000-XP RAM-256DDR) and 1.8.0.
R-version and when I try to load spdep appear the following error:
> library(spdep)
Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source) :
There is no package called
2004 Feb 20
1
read.table with spaces
DeaR useRs:
Excuses for my english. I am trying to read a file with my dats and the format is a number, 3 spaces, other number, etc...
When I use:
a<-read.table(file="c:/datos2.dat",sep="")
R sais:
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 3 did not have 34 elements
And I see my dats and in line 3 the first number is an
2003 Nov 14
1
packages
Hello every body, I am new in this list and I am Spanish (excuses for my
English)
I have a lot of versions of R (under windows) and I want to know the mode to
use the packages of these versions without download any more.
It takes me more time because I have all the packages that there are in
CRAN.
Thanks,
Agustin Perez
2003 Dec 18
3
Summaries
Hello UseRs:
Excuses for my english.
I have a dataset with 65000 records and I'd like to make a summary where I
can view all the values (with the number of times that it repeats) that
there are each column of my dataset.
I tried with summary( ), str( ), but nothing gives me the result that I am
loking for.
Thank you very much.
2004 Jan 07
5
assign
DeaR useRs:
I would like to assign a values in an object using a loop 'for'.
This is a reduce example of my problem, my real problem is a few
complicated:
for (j in 1:10) {
x.j<-rnorm(100)
}
I want to create 10 objects as "x.1, x.2, ... , x.9, x.10" with values in
it.
I used the "assign" function but nothing happens.
Thank you very much
2004 Feb 23
3
library nnet
DeaR useRs:
I am looking for a function which fits a multinomial model and in Baron?s
page I find the function "multinom" in package "nnet" but this package is
deprecated.
I suppose that this function is now in other package but I can't find it.
Can you help me?
Thanks.
2011 Sep 16
1
cutree() and rect.hclust(): different labelling of classes
I've found that while cutree() and rect.hclust() make the same classes
for a given height in the dendrogram, the actual labeling of the classes
is different. For example, both produce the same 4 classes but
class 1 according to cutree() is class 4 according to rect.hclust().
Would it be possible that future versions provide the same labeling?
rect.hclust() is useful to display the classes
2013 Jan 22
1
how to give a lengend in symbols functions
hi Rusers
I am trying to use symbos in gtools package
symbols(data1,data3,circle=data1/data3,inches=0.1,bg="lightgreen")
Now I want to give a lengend to tell the reader the meaning or magnitude of
these circle.
How can I add these information in symbols plot just like legend in plot ?
thank you .
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon
2002 Feb 25
4
replace NAs
Dear R community:
it is possible to replace NA?s in a data frame with zeroes?
what should I do?
Thanks in advance
Juan Pablo
_________________________________________________________________
MSN Photos es la manera m?s sencilla de compartir e imprimir sus fotos:
http://photos.latam.msn.com/Support/WorldWide.aspx
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2004 May 20
1
write in fixed format
DeaR useRs:
I have a problem, because I have a file in fixed width format and I can read
it with 'read.fwf' and after I can use these data to do generate new columns
(variables) and when I am going to write this set of data (data.frame) I
can't find a function which storages my data.frame in fixed width format.
Can you help me?
Thanks in advance.
Agust??n P??rez
Universidad Miguel
2004 Sep 20
1
Memory Problem???
DeaR useRs:
I am working with 10000 files at the same time. These files are in some
lists. When I begin to operate the memory size grows, but never exceeds the
computer’s RAM. And suddenly R reports:
Error: cannot allocate vector of size 23 Kb
Somebody know what can I do?
Thanks and excuse my English.
---
[[alternative HTML version deleted]]
2006 May 10
2
Legend titles in log plots broken? (ver. 2.2.1)
Legend titles work in linear plots:
curve(1/x, xlim = c(0, 1))
legend(x = 'topright', inset = 0.04,
legend = '1/x', lty = 1,
title = 'Legend Title')
But when you change to a log plot on either dimension things get screwy:
curve(1/x, xlim = c(0, 1), log = 'y')
legend(x = 'topright', inset = 0.04,
legend = '1/x', lty = 1,
2001 May 20
2
legend() with xpd=T; omission of initial plot character (PR#943)
In the following:
plot(0:1, 0:1)
legend(x=0, y=1.2, pch=c(1,2), legend=c("May","June"))
the first plot character is omitted when plotting to
the screen.
I obtained the same behaviour when placing a legend
in the margin following use of pairs()
-please do not edit the information below--
Version:
platform = i386-pc-mingw32
arch = x86
os = Win32
system = x86, Win32
2006 Oct 26
2
distance between legend title and legend box
Hi,
I've looked at the parameters available for the legend function and
cannot find a way to change the distance between the top of the box
surrounding a legend and the legend's title. I have a math expression
that raises the height of my title.
If you don't mind the non-sensical title I give to the legend for
this plot (Figure 3.20 in R Graphics):
with(iris,
2003 Feb 24
2
fill prob. in legend
Hi,
I'm trying to construct a legend which has four lines of text and associated
symbols. The first two symbols need to be normal lines which vary only in
colour. The second two symbols should have filled boxes. How do I suppress
the fill boxes in the first two lines?
J.
2008 Jun 27
4
Recoding
Hi!
Given a vector (or a factor within a df),i.e. v1 <- c(1,1,1,2,3,4,1,10,3)
and a dictionary
cbind(c(1,2,3),c(1001,1002,1003))
is there a function (on the same line than recode() in car)
to get v2 as c(1001,1001,1001,1002,1003,4,1001,10,1003) ?
I'm using myself a function based on match() since
long ago (I think that thanks to advice by Prof. B. Ripley),
but would like to know if there
2008 Sep 12
2
Greyed text in the background of a plot
Hi!
Is there any way of having a greyed ("ghosted") text
(i.e, 2006) in the background of a plot?
I'm making a dynamic plot and would like to show the
year of each time step as a big greyed text in the background.
(the idea comes from Hans Rosling video:
http://video.google.com/videoplay?docid=4237353244338529080&sourceid=searchfeed
)
Thanks
Agus
--
Dr. Agustin Lobo
Institut
2005 Aug 23
2
Using tcltk to display jpeg images
Dear R Helpers,
Does anyone know how to use tcltk to display jpeg images? The manual says
that
one must use Tk_PhotoCreateImageFormat to register the jpeg image handler.
The
"ActiveTcl User Guide"
(http://support.serv.ch/lang/tcl/img/doc/img-jpeg.html)
says:-
"The package img::jpeg is a sub-package of Img. It can be loaded as a part
of the complete
Img support, via package require