Displaying 20 results from an estimated 2000 matches similar to: "Write a summary or a longer text to a graphical device"
2006 Feb 07
2
Using R to process spectroscopic data
Dear R-users,
I would like to process some spectroscopic data with R, and I was hoping
some people might have some example code on how to do this.
I would like to be able to do the following things:
* Detect outlier-spectra -> This can be done by using scoreplot from the
pls package
* Determine the range of the spectrum to be used -> For this, I should
be able to calculate the regression
2005 Oct 27
1
tcltk package problems (R 2.2.0, SuSE 10)
Hi
I installed R 2.2.0 from source and I have the packages for tcl and tk
installed on my system, but the package tcltk says, when I try to load
the library tcltk: Tcl/Tk support is not available on this system.
Are there any settings / variables which I have to set so that R
recognises that Tcl/Tk support is installed on the system?
Rainer
--
NEW TELEPHONE NUMBER
Tel: +27 - (0)72 808
2006 Mar 15
3
click on graph and select data points?
Hi all,
I am doing some clustering and the clustered results are presented in a
"pairs" plot showing 4 clusters...
I made the data points belong to 4 different clusters displaying different
colors.
Now I want to select the best clustered class, how can I click on the data
point, and the program returns the index of that cluster(its class number,
or color number)?
Also, if I would
2007 Sep 07
2
Matlab's lsqnonlin
Hi! I'm translating some code from Matlab to R and I found a problem.
I need to translate Matlab's function 'lsqnonlin'
(http://www-ccs.ucsd.edu/matlab/toolbox/optim/lsqnonlin.html) into R,
and at the beginning I thought it would be the same as R's 'optim'. But
then I looked at the definition of 'lsqnonlin' and I don't quite see how
to make
2005 Oct 05
2
eliminate t() and %*% using crossprod() and solve(A,b)
Hi
I have a square matrix Ainv of size N-by-N where N ~ 1000
I have a rectangular matrix H of size N by n where n ~ 4.
I have a vector d of length N.
I need X = solve(t(H) %*% Ainv %*% H) %*% t(H) %*% Ainv %*% d
and
H %*% X.
It is possible to rewrite X in the recommended crossprod way:
X <- solve(quad.form(Ainv, H), crossprod(crossprod(Ainv, H), d))
where quad.form() is a little
2005 Oct 06
3
playing with R: make a animated GIF file...
Hello all
I am playing with R for to make a animated GIF.
any suggestions, improvements are welcome :-)
case somebody could help me, i thanks!
Cleber N. Borges ( klebyn )
my objective:
(steps TODO)
-------------------
1) to save PNG files;
-----> i don't know the best way to make this;
2) transform the PNG files into GIF files (easy! no problem! ... i
think ...)
3)
2007 Sep 19
3
Smooth line in graph
Hi,
I?m trying to get smooth curves connecting points in a plot using
"spline" but I don?t get what I whant.
Eg.:
x<-1:5
y <- c(0.31, 0.45, 0.84, 0.43, 0.25)
plot(x,y)
lines(spline(x,y))
Creates a valley between the first and second points, then peaks at 3rd,
and another valley between 4th and 5th. I?m trying to get a consistently
growing curve up to the 3rth point and then a
2006 Jul 29
1
boxcox transformation
I've got a vector of data (hours to drive from a to b) y.
After a qqplot I know, that they don't fit the normal probability.
I would like to transform these data with the boxcox transformation
(MASS), that they fit the model.
When I try
ybx<-boxcox(y~1,0)
qqnorm(ybx)
the plot is different from
library (TeachingDemos)
ybct<-bct(y,0) //
qqnorm(ybct)
How can I transform
2011 May 02
2
how to get row name using the which function
Dear All,
Probably a very basic question, but can't seem to work my way around it.
I want to which row has the maximum value. But what if the row names do not correspond with the row numbers. In the example below, you'll see that the max of example is row 4, but the name of row 4 is "9". How do I get R to return "9" as value, instead of 4.
example <-
2007 Oct 09
1
misbehaviour of some tk windows, R 2.6.0 on SUSE 10.1?
I don't know whether this is specific to (my installation
of) SUSE 10.1, or is more general.
With R 2.6.0, I am finding that some widgets made through
the tcltk package are having problems which become evident
through scrollbar activity. An example is demo(tkfaq) --
see below. To reproduce the problem, I do the following:
after the tk window appears, hold down the
2001 Feb 14
2
help with tcltk
Hallo!
Can anyone explain to me how to add a vert. scrollbar to a listbox using tcltk please?
Thanks
--
Frank Gerrit Zoellner
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject
2003 Feb 27
2
PRESS again
Sorry for the repeat.
The PRESS statistic is defined as
sum(y-yhat(i))^2, where yhat(i) denotes the ith predicted value using
all the data except the ith case (as used typically in linear models).
Thanks again
Jacob
Jacob L van Wyk
Department of Mathematics and Statistics
Rand Afrikaans University
P O Box 524
Auckland Park 2006
South Africa
Tel: +27-11-489-3080
Fax: +27-11-489-2832
2004 Mar 12
1
plot.dendrogram and expressions
Hi,
currently the "label" and "edgetext" attributes of a dendrogram are
coerced to character before they are added to a plot with `text'. Is there
a specific reason to do so (expect for the determination of the size of
the character string to be plotted)? Otherwise one could plot the
attributes directly via
diff dendrogram.R /usr/src/R/src/library/stats/R/dendrogram.R
2010 May 19
1
Calling R-tists
Participants in the R User Conference, useR! 2010, July 21-23,
(http://R-project.org/useR-2010) will each receive a t-shirt, thanks to
the sponsorship of Mango Solutions (http://www.mango-solutions.com/).
This email is a call for designs for the front of the t-shirt. The design
should be made using a single color of your choice. The design should be
in the form of a high-resolution (at least
2001 Oct 18
1
vectors / matrices
Hi,
a friend of mine came across this
R> x <- 1:5
R> cbind(x,x)
x x
[1,] 1 1
[2,] 2 2
[3,] 3 3
[4,] 4 4
[5,] 5 5
R> rbind(x,x)
[,1] [,2] [,3] [,4] [,5]
x 1 2 3 4 5
x 1 2 3 4 5
x is a vector and therefore has no dim-attribute. Obviously cbind treats x
as a col-vector but rbind treats x as a row-vector, that is: two
functions have a different
2016 Feb 15
2
APC Back-UPS BX1400U
Dear list,
since some days I own an APC Back-UPS BX1400U.
Now I try to connect my Raspberry Pi to it using NUT, but ... ;)
The UPS is connected via an USB-cable, and "lsusb" shows an APC device.
NUT is installed via "sudo apt-get install nut".
My goal: a Synology DiskStation DS1515+ should "read" UPS-data provided
from the Raspberry an shut-down itselt at 30%
2011 Mar 15
1
Problem with nls.lm function of minpack.lm package.
Dear R useRs,
I have a problem with nls.lm function of minpackl.lm package.
I need to fit the Van Genuchten Model to a set of data of Theta and hydraulic conductivity with nls.lm function of minpack.lm package.
For the first fit, the parameter estimates keep changing even after 1000 iterations (Th)
and
I have a following error message for fit of hydraulic conductivity (k);
Reason for
2003 Sep 16
1
`var' broken in 1.8.0 alpha (2003-09-15)
Hi,
in last nights alpha version, `var' is broken:
R> var(rnorm(100))
Error in var(rnorm(100)) : 3 arguments passed to "cov" which requires 4.
which I suspect is due to recent changes to `cov'. The same is true for
R> cov(rnorm(100), rnorm(100))
Error in cov(rnorm(100), rnorm(100)) : 3 arguments passed to "cov" which
requires 4.
Best,
Torsten
R> version
2002 Dec 09
2
APL?
Hi,
is anybody out there who knows APL and would help me to translate 52
lines of APL code into propper R?
best,
Torsten
2000 Dec 12
1
r-sync down?
torsten@www:/raid/home/torsten > ping rsync.r-project.org
PING franz.stat.wisc.edu (128.105.174.95): 56 data bytes
--- franz.stat.wisc.edu ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss
Torsten
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send