Displaying 20 results from an estimated 2000 matches similar to: "Legend placement in barplot?"
2005 Jun 06
6
Strange characters in 2.1.0?
Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Signif. codes: 0 <80><98>***<80><99> 0.001 <80><98>**<80><99> 0.01
<80><98>*<80> <99> 0.05 <80><98>.<80><99> 0.1 <80><98> <80><99> 1
Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
hmm... they go away when I
2004 Sep 18
2
edit(crash)?
I found that the edit command kills my linux/R/emacs environment
sometimes.
How should I report this bug?
2005 May 25
2
weighted.mean and tapply (again)
I read answers to questions including the words "tapply" and
"weighted.mean", but I didn't understand either the problem (data) or the
solution provided.
Here is my question ...
> dat[1:10,]
GROUP VALUE FREQUENCY
1 2 2 78
2 2 3 40
3 2 4 16
4 2 5 3
5 2 6 1
6 2 8 1
7
2004 Oct 06
2
R-(wiki)-pedia?
Is there an R wiki?
Looking at the huge amount of traffic on this list, I think wiki could be
an exelet outlet for all the constructive enthusiasm here.
I don't think it would be too hard to port the existing R documentation
(the stuff you get with the ?) onto a wiki system, then users could add
their own examples and comments.
Having distinct web page style organization would be easier to
2004 Nov 04
4
highly biased PCA data?
Hello, supposing that I have two or three clear categories for my data,
lets say pet preferece across fish, cat, dog. Lets say most people rate
their preference as being mostly one of the categories.
I want to do pca on the data to see three 'groups' of people, one group
for fish, one for cat and one for dog. I would like to see the odd person
who likes both or all three in the
2006 Mar 03
4
Plotting FAQ?
Hi,
Since I started to make some 'final' plots of my data I found that I
have tons of questions related to 'the little things'. Rather than
bother the list with all the questions (ahem), or search the archives
for similar questions and translate the context, I would like to find a
FAQ for plotting in particular (and R programming in general). I know
for sure (searching the
2005 Jan 04
3
Adding values to the end of a vector?
I want to add values onto the end of a vector, for example...
x <- vector
for (i in 1:5){
add_to_end_of_vector(i,x)
}
I just cant find the answer to this question!
Sorry for such a basic question, I tried...
x <- c()
for (i in 1:5) x[length(x)] <- i
but it didn't work.
2004 Nov 04
2
Bug report (PR#7341)
Full_Name: Dan B
Version: na
OS: na
Submission from: (NULL) (80.6.127.185)
I can't log into the bug tracker (I can't find where to register / login).
In this way I can't add the following context diff (hopefully in the right
order) for my changes to the matrix.Rd...
Hmm... I guess this should be a separate report anyway...
The first diff explains how the dimnames list should
2004 Aug 14
2
numerical accuracy, dumb question
I store an id as a big number, could this be a problem?
Should I convert to at string when I use read.table(...
example id's
1001001001001
1001001001002
...
1002001002005
Bigest is probably
1011001001001
Ta,
Dan.
2004 Oct 11
2
hclust title and paste - messed up
I use the following code to scan a (limited) parameter space of clustering
strategies ...
data <- read.table(...
dataTranspose <- t(data)
distMeth <- c("euclidean",
"maximum",
"manhattan",
"canberra",
"binary"
)
clustMeth <- c("ward",
2005 Jan 04
2
print(cat(bleh)) shows up strange NULL
I am trying the following code...
for(i in 1:bins){
print(cat(c(i, length(var1[var1==i]))))
}
Where var1 is a vector with zero or more values = {1, 2, ..., bins} (or
something like that).
The result I get is...
1 33NULL
2 28NULL
3 39NULL
4 27NULL
5 32NULL
6 30NULL
7 23NULL
8 16NULL
9 10NULL
10 15NULL
11 13NULL
12 7NULL
13 3NULL
14 7NULL
15 2NULL
16 0NULL
17 2NULL
18 0NULL
19 0NULL
20 3NULL
2005 Jan 07
4
hist function to give each cell equal area
Hi,
I want to use hist with non-equi-spaced breaks, picked such that the
fraction of the data points falling in the cells (defined by 'breaks') is
roughly equal accross all cells.
Is there such a function that will automatically try to determine the
breaks to fullfill this requirement?
Something like..
hist( x, br = magic_function_to_pick_breaks())
For example, if x looked like
2004 Oct 11
1
plot hclust - canberra dist + median linkage
Gives strange results.
I get 'weird' dendrograms with canberra / binary distance metric and
median / centroid cluster methods.
Is this just my data?
Dan
2005 Jan 04
1
R help search and Java(tm)?
I found this great search
source("http://www.statslab.cam.ac.uk/~djw1005/Stats/Interests/search.R")
helpHTML()
Has (or will) this become the standard search method?
Is R 'Free Software'? The dependence on Java seems a bit of a pain for
'freeness'.
Did the above make it into CRAN?
Cheers,
Dan.
2005 Aug 10
1
Question about curve fitting...
Meta:
This question is somewhat long and has two parts, I would be very happy
for someone just to nudge me in the right direction with the manual /
tutorial, as I am somewhat lost...
1) How do I fit a curve of the form "y = k1 * x^k2" ?
I want to estimate values of k1 and k2 given the x/y data I have, and I
can't work out how to get R to calculate and return their estimates.
2)
2004 Jun 01
2
X/Emacs and R in Linux
Martin Maechler said...
>
>>>>>> "lanceh" == lanceh <lanceh at ibm.net> writes:
>
> lanceh> Sorry if this is a redundent question but I searched the
> lanceh> archives and although I found a couple of similar questions I
> lanceh> saw no responses. I am running in Linux and when I try to
>
>You should have looked in the
2005 Jul 19
1
Problems With MDB in Linux/Samba
I work for a company that has a program localy developed, and we were having
a problem when we started storing the application on the samba shared drived
mabye simular to what you are expereienceing.
in ur smb.conf (usuly in /etc/samba/smb.conf) make sure on the shared drive
in samba the oplocks are set (example below)
... <insert more smb.conf here>
;================= Clinic
2004 Jun 16
4
non-linear binning? power-law in R
First, thanks to everyone who helped me get to grips with R in (x)emacs
(I get confused easily). Special thanks to Stephen Eglen for continued
support.
My question is about non-linear binning, or density functions over
distributions governed by a power law ...
y ~ mu*x**lambda # In one of its forms
# (can't find Pareto in the online help)
Looking at the following
2008 Sep 04
2
Adding a legend to R graph device with several plots (no to individual plots!)
Dear Users, I already posted this question: it either went unnoticed,
or it is to basic (if this is so, please sent me a hint).
I would like to know if there is a way to add a common
legend to an arrangement of plots. In the example below, I get four
plots in my device. each one has a density for 1995 and one for 2006.
I have found that using legend or smartlegend I can add a legend to
each plot,
2005 Feb 18
4
barplot and ylim - display problems
The following single line of code shows what I am trying to do, and the
problem I am having...
barplot(c(101,102,103),ylim=c(100,103))
The 'xaxis' is missing, and the grey bars 'fall off' the plot area. This
is generally ugly, and I would like to trim the bars (ideally they would
have a ragged appearance to show that I am 'zooming in').
I can see why what I am trying to