Displaying 20 results from an estimated 30000 matches similar to: "Documentation about htest?"
2011 Dec 15
1
printing all htest class members
Hello,
I've posted a question about this subject yesterday, but since there was no
R code to comment,
no one did.
I'm trying to have the print method for class 'htest' print some extra
information common in some test, like the time series linearity related
tests. Many of them have an 'order' parameter, representing a lag or
embedding dimension, and it would be a nice
2004 Mar 31
1
R-1.9.0 Beta print.power.htest problem?
Hi all,
I just used power.t.test() in Version 1.9.0 beta (2004-03-31) today
under FC1.
The following is the output:
> power.t.test(delta = .5, power = .95, type = "paired")
$n
[1] 53.94062
$delta
[1] 0.5
$sd
[1] 1
$sig.level
[1] 0.05
$power
[1] 0.95
$alternative
[1] "two.sided"
$note
[1] "n is number of *pairs*, sd is std.dev. of *differences* within
2005 Mar 13
1
Use of htest class for different tests
Hello!
First of all I must appologize if this has been raised previously, but
search provided by Robert King at the University of Newcastle seems to
be down these days. Additionally let me know if such a question should
be sent to R-help.
I did a contribution to function hwe.hardy in package 'gap' during the
weekend. That functions performs Hardy-Weinberg equilibrium test using
MCMC. The
2006 Mar 30
1
warning message in hand-made function
Dear Rusers,
I tried to implement a function comparing mean scores between one
subject (the patient) and a group a control subjects. The function
returns attended results, but I also obtained the following warning :
Warning message:
the condition has length > 1 and only the first element will be used
in: if (substr(fp, 1, 1) == "<") fp else paste("=", fp)
Maybe
2011 Aug 10
0
Short term position in Rome: R trainer and developer
Hi
Our organisation, Food and Agricultural Organization of the United Nations (FAO) has launched a small pilot project to encourage the use of R within FAO. In this regard, we are looking for a motivated person with strong skills in R, able to teach R to beginners, and to develop specific packages on request.
More specifically, the candidate will be given the challenge to build staff's
2008 Nov 15
2
Update to 2.8 and problem with liblapack
Hello
To update from R 2.6 to 2.8 (on Ubuntu 8.04 both) I had to install new
tcl and liblapack packages (excuse me it is in french):
> sudo apt-get install r-base-dev
> Lecture des listes de paquets... Fait
> Construction de l'arbre des d?pendances
> Lecture des informations d'?tat... Fait
> Les paquets suppl?mentaires suivants seront install?s :
>
2008 Nov 06
1
FW: [rkward-devel] questions on RKWard
Thought I should copy the list with Matthieu's response.
H
-----Original Message-----
From: Matthieu Stigler [mailto:matthieu.stigler at gmail.com]
Sent: Wednesday, November 05, 2008 8:29 PM
To: Horace Tso; rkward-devel at lists.sourceforge.net
Subject: Re: [rkward-devel] questions on RKWard
some answer only for the third question: do you have the package
r-doc-html installed? (on ubuntu
2009 Mar 04
2
R CMD check detects parse error, but in which file?
Hello
I looked on the archives but did not find answer for that...
Running R CMD check for a package, i get an error:
Error in parse(n = -1, file = file) : unexpected symbol at
3341: }
But how can I find which file is guilty? What is this 3342 referring to?
Finally the solution I found is to source() every file until I find the
file where the problem is... Is there some better way to do it?
2011 Apr 13
3
R plots pdf() does not allow spotcolors?
Hi
We are about to publish a book, which contains figures made with R
plots. An important detail that we did not take into account is that the
book will not be printed in 4 colors (cmyk mode), but only 2 (black
+"spotcolor"). The spotcolor we use is part of the big Pantone family.
The problem is that both pdf() and postscript() offer either rgb or
cmyk, but no spotcolors such as
2008 Dec 18
1
Indicator function for merged times (was: Re: Rr: For and if confusion)
Please start a new thread for a new topic and use a
meaningful subject for sake of the archives and
everyone trying to follow.
Using your Int1, correcting your Int2 and using your
Y (which goes to Jul not Aug as per the comment):
library(zoo)
> as.ts(with(merge.zoo(Int1, Int2, Y, fill = 0), pmax(Int1, Int2)))
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
1992
2009 Nov 29
1
lm: eval(parse(text=)) works on one side y/x but not on both?
Hi
My goal is to do a (multiple) regression, just knowing that my Y
variables will be the say k first variables of a matrix/data frame. I
thought I should do it with eval(parse)) but encounter a strange problem.
See:
lm(y~.-y, data=freeny) #that's what I want to do in the one equation case
#Problem is I don't know name of the variable... only that it is the
first one...
#so idea is to
2009 Jul 26
0
Version 0.7 of package tsDyn, nonlinear time series
Hi
Version 0.7 of package tsDyn presented at useR! 2009 is now on CRAN,
extended with several new features.
The package tsDyn is aimed at estimating nonlinear time series models
which exhibit regime specific properties. The regime switching dynamics
can either be described by smooth transition (STAR and LSTAR) or
threshold effects (SETAR). The package furthermore offers nonlinear
models
2009 Jul 26
0
Version 0.7 of package tsDyn, nonlinear time series
Hi
Version 0.7 of package tsDyn presented at useR! 2009 is now on CRAN,
extended with several new features.
The package tsDyn is aimed at estimating nonlinear time series models
which exhibit regime specific properties. The regime switching dynamics
can either be described by smooth transition (STAR and LSTAR) or
threshold effects (SETAR). The package furthermore offers nonlinear
models
2009 Nov 25
1
rattle(): unable to load shared library
Hi
I'm trying to install the rattle GUI on winwos 2000, with last version R 2.10.
I had a first problem using the rattle package, as it was asking pkg
XMl, which is no more in the CRAN repo. I instead simply install in
R/libraries the XML pkg from:
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.10/
Maybe I mised something here... So now I was able to run the library(rattle)
then,
2013 Nov 23
0
Hmisc package 3.13-0
A significant update to the Hmisc package is now available on CRAN for
all platforms. Hmisc source is now on github at
https://github.com/harrelfe/Hmisc and the full change log may be found
at https://github.com/harrelfe/Hmisc/commits/master
The most important updates are additions of new graphics functions for
summarizing and displaying data with an aim of replacing tables. There
is also
2011 Jan 24
3
error with source(): invalid 'times' value
hi
I am seeing a strange behavior I can't understand... doing:
> source("/tmp/RFile.r",echo=TRUE)
Error in rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) - :
invalid 'times' value
> traceback()
3: rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) -
leading))
2: paste(rep.int(c(prompt.echo, continue.echo), c(leading, length(dep)
2009 Nov 28
1
Include manually an intercept in lm without breaking it?
Hi
Say I want to add manually an intercept in the function lm. Even if
almost all results will be identical, few stats are different as DF
counting will be different as intercept will not be included in
"automatic" case, while it will be in "manual" case. See:
###usual lm on freeny
fr<-lm(freeny.y~freeny.x)
###manual lm on freeny
man<-cbind(1,freeny.x)
2010 Apr 15
1
Changing locale?
Hi
I need for a specific application to change the locale of R 2.9.2 in
Ubuntu 9.04. Trying the example in ?Sys.setlocale:
Sys.setlocale("LC_TIME", "de_DE.utf8")
[1] ""
Warning message:
In Sys.setlocale("LC_TIME", "de_DE.utf8") :
la requ?te OS pour sp?cifier la localisation ? "de_DE.utf8" n'a pas pu
?tre honor?e
I tried the code
2008 Jul 05
0
Problem solved: extracting values from a "by" function
Hi
I just discovered the answer thanks to a previous thread from Peter Daalgart
The command is:
sapply(test, "[[", "statistic")
Cheers, Daniel
----- Original Message -----
To: r-help at r-project.org
Subject: extracting values from a "by" function
Date: Sun, 6 Jul 2008 05:59:04 +0800
Hello,
I am trying to extract t and pvalues from a 1000 ttests using the
2008 Jul 05
0
extracting values from a "by" function
Hello,
I am trying to extract t and pvalues from a 1000 ttests using the by-function but everythinhg I tried did not work. Unfortunately googling "by" is not very helpful. Any help will be very appreciated.
Cheers,
Danile Stall
*creating a data set
library(MASS)
dataset <- mvrnorm(160, mu, Sigma)
dataset <- as.data.frame(dataset)
dataset$GROUP <- rep(1:10, each=16)
data.uni