Displaying 20 results from an estimated 2000 matches similar to: "Plit result of pairs in an Sweave compatible manner"
2008 Dec 05
1
How to retrieve a method
Hi there,
I am interested in the inner workings of wilcox.test:
> wilcox.test
function (x, ...)
UseMethod("wilcox.test")
<environment: namespace:stats>
how can I get at the code, if it is R-code? For Methods one should be able to learn what extension to use, but here default or such do not help.
Is there a wayplot.default to learn which different versions of
2004 Dec 03
4
vector to matrix transformation
Dear,
Some analysis (linear regression) can only be
done from a vectorized dataset whereas others
require a matrix (Mantel tests). I use the two
analyses and thus need to format my data in
matrix and vector. I spent some time trying to
solve the problem and I just gave up. Did anyone
knows how to transform a matrix into a vector and
back-transform a vector into a matrix?
Thanks by
2006 Jan 11
2
Browser problem, Misrepresentation of .html in Solaris Firefox (PR#8471)
Hi there
I hope that I am in the right forum.
I am working on Win2000 PC connected via Exceed 6.0.1.0 to a
SunOS fluke 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-480R
There I am using Mozilla Firefox 1.0.7 as a browser.
I am having
difficulties viewing .html files. Their first pages are displayed
normally, black on white, links in blue. When I scoll down, the pages
appear black
2006 Jan 26
1
construct a bundle, subdirs do not exist?
Hi,
Sorry to bother, but I checked around and did not succed creating a
bundle from six existing packages (which are checkable, installable,
etc. individually). I carefully followed the procedure given in ch.
1.1.5 Package bundles. However, I am getting
hoffmann at fluke:~/R/Sources >R CMD check cwhmisc
* checking for working latex ... OK
* using log directory
2005 Dec 19
0
masked at loading
Hi,
I am getting masked objects and I think the maintainers of the
respective packages (lattice, boot, survival, aml) should agree on how
to eliminate th conflicts.
Here my start up protocol with the relevant information:
--------------
R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.2.0 (2005-10-06 r35749)
[clip]
Type 'q()' to quit R.
[clip]
[Previously
2006 May 09
1
2.3.0 problems
Hi,
Since the installation of R-2.3.0 I have the following problems:
1. Startup
.First() produces
------------------
Started in /home/woodstock/hoffmann/Projects/RtoZ/Windwurf/R with
'~/R/.Rprofile' edited on 2006-04-28, 11:08
During startup - Warning messages:
1: use of NULL environment is deprecated
2: use of NULL environment is deprecated
3: use of NULL environment is
2005 Dec 15
1
update from tar.gz in local directory on Unix/Solaris
Hi list,
I have not been successful in finding out from the available
documentation how under Unix/Solaris to update a packages which I
downloaded from the net as the original *.tar.gz and stored in a local
file, say
(1) home/woodstock/hoffmacw/R/Sources/pack.tar.gz
A lot of installed libraries are residing in
(2) home/woodstock/hoffmacw/R/library/
but it is unclear to me, how to proceed,
2009 Nov 24
0
Aquamacs/emacs and color of echo in R console
Hi
I have been unable to find information on the following problem:
All the text in my *R* window is shown in light red, starting after the
echo "This is mgcv 1.5-6 . For overview type ", the following
`help("mgcv-package")' is already in the light red.
This color annoys me because I need more contrast, and it is even worse
for use with a beamer.
In the options menu
2009 Nov 24
0
Aquamacs/emacs and color of echo in R console 2!
Hi
Sorry, I forgot to state the version: GNU Emacs 22.3.1
I have been unable to find information on the following problem:
All the text in my *R* window is shown in light red, starting after the
echo "This is mgcv 1.5-6 . For overview type ", the following
`help("mgcv-package")' is already in the light red.
This color annoys me because I need more contrast, and it is
2006 Mar 27
3
seq(2,5,-2) not an error but NULL
Hi,
This may belong more to r-develop, but general discussion may be useful
(for the how many-th time ?)
seq(2,5,-2)
seq(5,2,2)
both result in
Error in seq.default(2, 5, -2) : wrong sign in 'by' argument
But often, if not always, mathematicians and programmers want a
behaviour e.g. in for loops, where this statement results in an empty
statement, that is
for (ii in seq(2,5,-2))
2005 Sep 16
1
setkeys and Sweave
Hi there:
Using
\setkeys{Gin}{width=1.0\textwidth}
\setkeys{Gin}{height=10cm}
\setkeys{Gin}{height=0.8\textwidth}
all seem to work under R-2.1.1 under sparc, solaris2.9, but
\setkeys{Gin}{scale=0.3}
\setkeys{Gin}{angle=90}
do not work. I have not been able to find relevant information, googling
on setkeys proved confusing, at best.
http://cnlart.web.cern.ch/cnlart/218/node85.html states:
2002 Sep 04
3
logical and NA
Hi there, (sorry Martin, ich habe den falschen Empfaenger erwischt :-( )
Is there a function in the base package or elsewhere which returns TRUE and
not NA, even if NA is involved: (I did not find in the help system :-( )
if ( x==something & !is.na(something))
or
if ( x==something & !is.na(x==something))
If "something" is complicated, a function would be handy.
Thanks
2001 Feb 05
1
packages, help
Hi,
Using help under help.start() is working fine (html)
Q1:
using > ?solve results in the message
"sh: ~/R/tmp/R4f32S1cfb: cannot open"
displayed in the XEmacs buffer "help[R](solve)". BUT there exists a file
R.R4f32S167e
in that directory. (not quite the same name).
Does the "sh: " prefix suggest that the shell "sh" is run, although my
2009 Dec 04
2
curve fitting to data
Hi to all
This is the first time I am quoting a question and I hope, my
question is not too basic...
For the following data, I wish to draw a fitted curve.
x <- c(123,129,141,144,144,145,149,150,158,159,163,174,183,187,242,248)
y <-
c(14.42,26.96,31.3,19.95,36.36,15.4,24.76,35.39,28.07,40.97,26.23,42.83,46.53,14.79,49.18,48.08)
If I plot the data, it looks somehow that a logistic
2010 Jan 14
2
paired repeated measurements
I have the following problem:
I measured co2 on 6 paired sites (one grubbed and one non-grubbed
fence per site -> grubbing = treatment). These measurements I repeated
15 times over 2 years. So, now my problem is how to analyze these
data. I tried the following model:
mod1_CO2<-lme(co2~treatment+time,random=~1|site,data=CO2_t1_t15)
I think with the random effect I included the paired
2001 Feb 14
2
assignment function
Hi,
I am trying to create the assignment function:
"substring<-" <- function(text, first, last=100000, sub) {
if(is.character(first)) {
if(!missing(last)) stop('wrong # arguments')
return(sedit(text, first, sub))
}
lf <- length(first)
if(length(text)==1 && lf > 1) {
if(missing(last)) last <- nchar(text)
last <- rep(last,
2001 Mar 01
1
Using csh
Hi all,
I am fancying the idea of using my preferred shell (t)csh when invoking
system(). How can I do that? (I didn't find anything about that in the FAQ).
Thanks for help,
-christian
Dr.sc.math.Christian W. Hoffmann
Mathematics and Statistical Computing
Landscape Modeling and Web Applications
Swiss Federal Research Institute WSL
Zuercherstrasse 111
CH-8903 Birmensdorf, Switzerland
phone:
2001 Mar 20
0
Problem postscript(print.it)
Hi all,
I have a problem with plotting: (R-1.2.2 on
SunOS fluke 5.5.1 Generic_103640-27 sun4u sparc SUNW,Ultra-Enterprise
solaris 2.)
I define a function to switch between plotting on graphics device and
generating a postscript file (which can also be automatically be printed)
plt <- function(view,f,file="") {
if (view>0) f
else {
2001 Feb 14
0
No subject
Thanks for the tip to p.dalgaard and Prof Brian Ripley:
For reasons that I have forgotten, the value of an assignment function
is always passed using an argument called "value", so try changing
"sub" to "value".
The last argument of any assignment function has to be named `value'.
This is different from S, and is in the FAQ, section 3.3.3:
"In R, the last
2001 Mar 05
0
Rggobi install
Hi,
I am trying to install ggobi for R under Solaris
SunOS 5.5.1 Generic_103640-27 sun4u sparc SUNW,Ultra-Enterprise
following the instructions in INSTALL under e) R interface, although I have
some modifications in mind:
I am planning to keep the sources (untarred and unzipped) in
/home/woodstock/hoffmann/R/Sources/Rggobi
and I have set
setenv GGOBI_ROOT $HOME/R/Sources/Rggobi
(with $HOME =