Displaying 20 results from an estimated 90 matches similar to: "Forcing ticks in plot for hclust object outside the limits"
2010 Mar 25
1
Problem with reshaping data from wide to long format
Hi,
I have a data.frame in wide format which I would like to reshape into
a long format:
example (nonsense) data:
> dput(perus2)
structure(list(id = c(30L, 38L, 21L, 12L, 22L, 28L, 31L, 44L,
8L, 47L, 23L, 20L, 41L, 42L, 29L, 50L, 5L, 33L, 4L, 17L, 11L,
1L, 18L, 6L, 9L, 32L, 16L, 14L, 39L, 48L, 37L, 43L, 25L, 27L,
35L, 40L, 45L, 49L, 2L, 34L, 10L, 15L, 24L, 26L, 46L, 7L, 13L,
3L, 19L, 36L),
2008 Sep 06
2
Hopefully an easy error bar question
Hi im trying to add error bars to my barplots, there very basic, i have a few grapghs where the y variable is different but on all the X variable is Age (Adult and Juvenile) however this is split into two levels so i have males and females, so my graph basically has four bars on it.
I know how to add eror bars for instance when there is only one level eg lookng at the diffrence between male and
2003 Sep 04
1
scatter.smooth error
Hello
When I run
scatter.smooth(jitter(weight), jitter(height2), span = .25, evaluation
= 50, pch = '.')
I get the type of graph I thought I would get, but also a warning.....
k-d tree limited by memory. ncmax= 528
I always get concerned when there are warnings I don't understand.
What's a k-d tree? Is this something to be concerned about?
Thanks
Peter
Peter L. Flom,
2005 May 31
2
Null space (or kernel) and image of a matrix
Hello!
Does anyone now if there exist a function that would compute a "null space"
(or "kernel" - "Ker") of a matrix and maybe also one that would compute an
"image" ("Im") of a matrix.
I tried R-site search and google, However I found notnihg useful!
Thanks for any sugestions! I am also not sure what an "image" of a matrix
is, so
2005 Aug 26
3
Free-form to fixed-form Fortran
Hello!
I have writen some subrutines in Free-form Fortran. I would like to includ
them in a package, which I would like to build on WinXP. I have all
suggested tools/programs for bulding R packages on Windows (except latex).
What is the best way of using these subrutines? Does sombody mybe know any
translation tools for converting Free-form to fixed-form Fortran?
Thanks for any suggestions,
2006 Feb 21
2
Convertin rows of a matrix to a list
Hello!
I would like to convert rows of a matrix to a elements of a list.
#For example, if I have
mat<-matrix(1:100,ncol=5, nrow=20)
#I can do:
list<-apply(mat,1,list)
list
#however this is not quite what I want. To get what I want, I have to do:
list<-lapply(list,function(x)x[[1]])
list
Is there a faster way?
Best regards,
Ales Ziberna
2005 Aug 13
2
Problems runing R CMD check
Hello!
I have a problem checking the package. Firstly, I do not know how to specify
the package to check. I tied specify it by supplying the path and by runing
the R CMD check in the directory of the package.
In addition to that, I get an error bellow. Any suggestions on how to set
TMPDIR would be greatly appriciated!
C:\Ales\Statistika\Blocno modeliranje\dr\blockmodeling>R CMD check
*
2004 Nov 02
3
Using East-european characters in R
Does anybody know how to produce a East-European character "??" - "c with a
v-shaped hat " in R (in text or plot)?
I do know how to get "??,??" - "s,z, with a v-shaped hat", but not this one.
Thanks in advance for any suggestions,
Ales Ziberna
P.S.: I am using Windows XP and R version 1.9.1 (details below)
$platform
[1]
2005 Feb 05
1
Compressed communication with DB using RMySQL?
Dear All,
I have a setup where R pulls entries from a MySQL db server. I wanted
to know whether the R interface can pull encrypted / compressed data
from MySQLD. MySQL supports compressed communication on the server
side, but I couldn't find any references to such options on the client
(RMySQL) side.
Best,
Uri Hasson.
---
Uri Hasson.
Brain Research Imaging Center
The University of Chicago.
2005 Jul 07
1
Question
Hi
I am statistician and now I am starting to work with
R.
I have a question ,I want to see more than 1 figure in
working directory and I can't do this.
for example when I run plot(...) ,I see a plot ,if I
run another plot(...) the first plot change to second
plot and first plot disappear .
How can I see more than 1 figure in working directory?
2005 Jul 10
2
Boxplot in R
I am trying to draw a plot like Matlab does:
The upper extreme whisker represents 95% of the data;
The upper hinge represents 75% of the data;
The median represents 50% of the data;
The lower hinge represents 25% of the data;
The lower extreme whisker represents 5% of the data.
It looks like:
--- 95%
|
|
------- 75%
| |
|-----| 50%
| |
| |
-------
2004 Oct 27
4
ploting axes and rotating strings
Hello!
I have two question that rose from trying to tacle the same problem in two
differnet ways.
What I want to do is to plot axes (only values or labels, no tick marks) in
such a way that 'cex' can be very small, text can be perpendicular to the
axis (as in axis(las=2) ) and the text is stil at the right position.
Let me demonstrate with a small example:
2006 Jan 30
2
R on dual-core machines
Dear expeRts!
I'm thinking of buying a new computer and am considering dual-core
processors, such as AMD Athlon64 X2. Since I'm not a computer expert, pleas
forgive me if some of my questions are silly.
First, am I correct that using a dual-core processor is (for R point of
view) the same as using a computer with two processors?
If that is true, the posts I found on the list imply that
2005 Aug 02
1
Putting all elementes of the list in an enviorment of a function
Hello!
I have two functions.
The first one prepares the arguments for the second one. What is the best
way to put all resoults of the first one into the second one? I tried
attach, however the object in the "main" enviorment have a priority over the
ones in list. An example is at the end.
Thanks in advance for any suggestions!
Ales Ziberna
For example - I would like to use just
2006 Mar 03
1
Problem with creating links ("see also" section) in help files.
A link in one of my help files does not work. I have in this help file:
\seealso{\code{\link{crit.fun}}, \code{\link{opt.par}},
\code{\link{opt.random.par}}, \code{\link{opt.these.par}},
\code{\link{nkpartitions}}, \code{\link{nkpar}},
\code{\link{plot.check.these.par}} }
Everything in one row, the last link does not work. In another help
file, I have:
\name{plot.mat}
\alias{plot.mat}
2005 Jan 11
2
Changes in expression in R 2.0.1
Hello!
plot(1:10,main=expression(1 <= "m" <= 5))
The above command works perfectly in R 1.9.1 but returns an error in R 2.0.1
This is documented in NEWS for R 2.0.0 (or ONEWS in R 2.0.1) and it is said:
o R no longer accepts associative use of relational operators.
That is, 3 < 2 < 1 (which used to evalute as TRUE!) now causes
a syntax error. If this
2005 Mar 17
2
Moving form Windows XP to Linux (Ubuntu 4 / debian)
Hello!
I am trying to move my work in R from Windows to Linux. However I am missing
some of the functionality I was used to under Windows. I tried running R
2.0.1 by typing R in the terminal and via Emacs/ESS. R Gui currently does
not work on my Linux. Currently one of my problems is:
Under Windows, I could terminate any R function by pressing "ESC", but this
does not work under
2005 Jun 02
2
overlaying plots
surely this not hard, but i can't figure it out. i'd like to overlay
the results of two ecdf's.
e.g. xx<--ecdf(x) and yy<--ecdf(y). i'd like to plot xx and yy on the
same graph.
thanks...mj
[[alternative HTML version deleted]]
2005 May 23
2
Trouble with drplot
Hi, I am a newbie with R, so I hope my question isn't too stupid. I am trying to generate dose-response curves using the "drfit" package. I have formatted my CSV files to the correct format, and have no trouble running drfit to get a summary of my data. The problem is that when I try to use "drplot" to graph my data I get an error. The message is:
Error in
2006 Mar 13
1
Building help pages
Hello!
I was just wondering, why only one of my "Rd" files is converted in
"chm" format (REGE) and the other are not when installing a package? The
output from installing a package on WinXp is below.
I tried to find more information about what "chm" format actually is,
however have found none.
Best regards and thaks for any replies,
Ales Ziberna