Displaying 20 results from an estimated 1000 matches similar to: "vector to matrix transformation"
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
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
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
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
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
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))
2006 Jan 27
4
regular expressions, sub
Hi,
I am trying to use sub, regexpr on expressions like
log(D) ~ log(N)+I(log(N)^2)+log(t)
being a model specification.
The aim is to produce:
"ln D ~ ln N + ln^2 N + ln t"
The variable names N, t may change, the number of terms too.
I succeded only partially, help on regular expressions is hard to
understand for me, examples on my case are rare. The help page on R-help
2002 Nov 06
5
"chemical" plot
Hi all,
May be there is a plot which shows 3 variables in a triangle, their sum
being constant. I have forgotten its name, and a search in the engine using
"plot" did not help.
Does anyone know of such a procedure in R or S?
Thank you
--christian
Dr.sc.math.Christian W. Hoffmann
Mathematics and Statistical Computing
Landscape Dynamics and Spatial Development
Swiss Federal Research
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
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
2002 Jan 04
2
R CMD check (PR#1240)
SunOS fluke 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
R-1.4.0
Running from the command line
R CMD check chlib
results in the log file 00check.log:
* using log directory `/home/woodstock/hoffmann/R/Sources/chlib.Rcheck'
* checking for file `chlib/DESCRIPTION' ... OK
* checking package directory ... OK
* checking for sufficient/correct file permissions ... WARNING
*
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,
2003 Jun 03
3
(no subject)
Hi,
I would like to know if it is possible to get printed output while a loop is taking place.
Example:
for(i in 1:10){
print(i)
some long process
}
This will print the values of i only after the loop is finished, what I would like is to
see them when the process enters the i-th iteration to keep track of how the
program is running.
Thank you,
Gilda
2001 May 21
4
new packages: grid and lattice
Hi
Two new packages have just been uploaded to the _DEVEL_ section on CRAN:
1. package "grid"
AUTHOR
Paul Murrell
OVERVIEW
This package provides an altenative graphics system for R.
FEATURES
Very flexible layout facilities (viewports, units, layouts)
Component-based design (graphics can be constructed incrementally and
hierarchically)
Basic support for interaction (graphics
2001 May 21
4
new packages: grid and lattice
Hi
Two new packages have just been uploaded to the _DEVEL_ section on CRAN:
1. package "grid"
AUTHOR
Paul Murrell
OVERVIEW
This package provides an altenative graphics system for R.
FEATURES
Very flexible layout facilities (viewports, units, layouts)
Component-based design (graphics can be constructed incrementally and
hierarchically)
Basic support for interaction (graphics
2001 Apr 24
1
New Package Released: PTAk
PTAk_1.1-1 ( Principal Tensor Analysis on k modes) has been released on
CRAN
A multiway method to decompose a tensor (array) of any
order,
as a generalisation of SVD also supporting non-identity
metrics and penalisations.
2-way SVD with these extensions is also available. The
package includes also some other multiway
methods: PCAn (Tucker-n) and
2001 Apr 24
1
New Package Released: PTAk
PTAk_1.1-1 ( Principal Tensor Analysis on k modes) has been released on
CRAN
A multiway method to decompose a tensor (array) of any
order,
as a generalisation of SVD also supporting non-identity
metrics and penalisations.
2-way SVD with these extensions is also available. The
package includes also some other multiway
methods: PCAn (Tucker-n) and
2003 Dec 18
3
symbolic and algebraic computation
I needed a symbolic and algebraic computation software. The best solution
I've found so far is maxima computer algebra system.
I was wondering if there is any R package that has similar features as
maxima's or somebody could point me to reference manuals on how to use R for
this purpose.
Thanks,
Angel
2006 Oct 12
3
Cross two dataframe
Dear r-users!
I would like to cross two data frame which have the same row number but
different in the number of column. Can anybody help me for this case ?
Thanks a lot in advance
--------------------------------------------------------------------------------
Majid Iravani
PhD Student
Swiss Federal Research Institute WSL
Research Group of Vegetation Ecology
Z?rcherstrasse 111
2001 Sep 06
4
code/documentation mismatches
Hi,
I would like to get a hint on how to debug in the case of
#> R CMD check pllib
signalling
* checking for code/documentation mismatches ... WARNING
Error in parse(file, n, text, prompt) : syntax error on line 22
I am able to sort out which of the files is the culprit is by swapping
files in and out of the /R and /man directories. But I cannot find the
syntax error, the .Rd file seems