Displaying 20 results from an estimated 9000 matches similar to: "graphic widow overwrite"
2002 Jul 23
3
Aggregate: assembling the "by" part on the fly
Dear R users,
I'm having trouble using aggregate() and would
greatly appreciate your advice. I am using R 1.5.1
on Windows 2000.
I want to call my function in the following way
extract.data(x=dat[, "Age", "Year"])
where extract.data() uses aggregate() to count the number
of cases for each combination of "Age" and "Year".
I've defined
2003 Sep 04
2
laplace transform
Dear users,
is anybody of you aware of a R command to perform laplace transform or
even its inversion?
Thank you very much.
Luca
2003 Jul 22
3
R and C++ compared with only C++
My computer is a pentium 4 running at 2.4 GHz.
My R is 1.7.1
I have written a program in R that calls C++. The program spends most of the
time in C++ ( > 90% ). R basically deals with output and input.
How slower can this be compared with the program I would get from rewriting
everything in C++?
Thank you.
2003 Apr 26
3
PCA
Hi, I have a dataset of dimensions 50 x 15000, and tried to use princomp or prcomp on this dataset with 15000 columns as variables, but it seems that the 2 functions can;t handle this large number of columns, anyone has nay suggestions to get around this? Thanks
---------------------------------
[[alternate HTML version deleted]]
2003 Jul 30
6
reverse array indexing
Hi,
Suppose I have a multidimensional array:
tmp <- array(1:8, c(2,2,2))
is there a function out there that, given a one-dimensional array index,
will
return the separate indices for each array dimension?
for instance, tmp[8] is equivalent to tmp[2,2,2]. I'd like to derive the
vector (2,2,2)
from the index 8.
thanks,
Brad Buchsbaum
2002 Jul 16
3
Device 2: graphic window
Does anyone know how I can choose the background color of the graphic
window?
Furthermore, how can I open more than a graphic-window in the same work
session?
(My platform is W2000 on PC)
Thank in advance.
Paolo
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2003 Apr 24
5
Fast R implementation of Gini mean difference
I have written the following function to calculate the weighted mean
difference for univariate data (see
http://www.xycoon.com/gini_mean_difference.htm for a related
formula). Unsurprisingly, the function is slow (compared to sd or mad)
for long vectors. I wonder if there's a way to make the function
faster, short of creating an external C function. Thanks very much
for your advice.
gmd
2003 Jul 31
2
help with graphics
I'd like to use lattice to make graphics under conditional structure like :
if (TRUE) { barchart(....)
dev.print(png, file = "image1.png", width = 600)
}
but there's nothing in the output file. It seems that it's too long to print graphic into the graphical output and the saved file is a blank picture.
it works if I do that without the conditionnal structure.
it doesn't
2003 Aug 01
2
'format' problem
Dear R experts,
format(12345678, digits = 2)
gives
[1] "1.2e+07"
while
format(1234567, digits = 2)
gives
[1] "1234567"
but I'd like the last number to be represented as "1.2e+06" string too.
Where am I wrong?
Thanks,
Timur.
2003 Feb 19
3
Pretty onscreen plots?
I'm looking for ideas for creating high-quality plots for use in projected
presentations (powerpoint, etc) --- ideally high-quality png, jpg, bmp.
The graphics produced using the postscript device look very good. Those
generated with win.graph(), png are plagued by the jaggy lines.
So far, the only way I can use the postscript plots in my presentations is
using separate screen capture
2003 May 02
3
letters to numbers conversion
Hello List
How do I turn
R> simple.example.alphabetic
[,1] [,2] [,3]
[1,] "a" "b" "c"
[2,] "d" "e" "f"
[3,] "g" "h" "i"
into
R> simple.example.numeric
[,1] [,2] [,3]
[1,] 1 2 3
[2,] 4 5 6
[3,] 7 8 9
[ie "a" becomes 1, ..., "z"
2003 Sep 03
1
Call R function from C code
I am participating in a project in the university, and appeared a doubt: if can I call one function from R as "solve" from C code.
The intention of the research is to create a DLL.
Is it possible and where can I find an example?
Sorry for bad english!
___________________________________________________________________________________
Acesse nosso portal www.click21.com.br
Porque
2003 Jul 31
2
history for graphics
I've seen that there's an history for graphics.
How can I save it manually?
Can I save more than 4 plots?
I'm using R1.6.2 under win98
[[alternative HTML version deleted]]
2003 Jan 31
1
Help on Scatte Plot Matrix
Hey, All
Now I have a data set which is n-dimensional.
And want to plot the Scatter Plot Matrix which
is n by n.
Does R have such function to achieve this?
Thanks for your point.
Fred
2002 Oct 21
1
Script
I am brand new to R and would like to know if there is
a way to be able to create, save and retrieve a
program in R like a script object in S-Plus. I am
just not sure how to do this. I'm sure there are many
ways to do this ranging from simple to complex, but
the simplest way would be best for me. Thanks, in advance...
__________________________________________________
Y! Web Hosting - Let
2002 Nov 21
1
Pearson's correlation coefficient?
How do I get non-squared correlation coefficient in some more
sensible way than
sqrt(summary(lm(y~x))$r.squared)?
Thanks
Matej
--
Matej Cepl, matej at ceplovi.cz,
Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will
2003 Jan 31
1
Question about trellis graphs
Dear List Members
I'm using R to create a trellis plot using the library of Pinheiro & Bates
(trellis graph for grouped data). Here is my question: How can I change the
format of the axis (x or y) in terms of the number decimal points that
should appear on the plot? In other words, I have that for a set of plots in
the y-axis the values appear as 0.2,0.3, etc and for another set they
2003 Feb 07
1
a question regarding s-plus libraries and R
Hi!
I am a relatively new user of R and I use it to prepare my dissertation. I
have come to some very usefull and specific libraries written for S-PLUS 4
and would like to use them in R. Is that possible? I just found out that one
of these libraries has already been transfered to R, while 3 others have
not. For the matter of beeing more exact I''m interested in the dealing with
missing
2003 Feb 22
3
question
Iam a novice R-user and I have a few questions:
1) How can R import an Excell data file?
2) I have a file.s file which it seems I can open but I can
not load it i.e. when I write the file name in the command line, for e.g.
>file.s it gives me an error message
thank you for your consideration,
Theo Nicoleris
2003 Feb 28
1
axis annotation
Hi,
Is there a way to specify a vector of colors for the tick annotation in a
call to axis(), to achieve the x-axis here?
<<Rplot003.png>>
Thanks,
Mark Wilkinson
Informatics Analyst
St. Jude Children's Research Hospital
Department of Pharmaceutical Sciences
The opinions expressed here are my own and do not necessarily represent
those of St. Jude Children's Research