Displaying 20 results from an estimated 2000 matches similar to: "docu buglet"
2005 Jul 26
1
docu buglets for ar and friends
This is R2.1.1
The documantation opened by
?ar, section for returned value, does not document all the components of
the returned
list. In addition to the 13 components documented, it also contains the
component
$frequency
This also applies to the help page opened by
?ar.ols
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
2004 Oct 04
4
Off-Topic: LaTeX package listings
Hola!
I ask here since I learnt from this list that the LaTeX package listings
should be good
for typesetting R code. I encountered one problem:
\begin{lstlisting}
X %*% V
\end{lstlisting}
in the output the * in %*% disappears! same with %/%, etc, the /
disappears.
Any ideas?
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
--
2004 Nov 06
3
foreign(read.spss) in rw2000 and re2001beta
I encountered something strange with read.spss (package foreign, version
0.7 with R2.0.0 and
version 0.8 with R2.0.1 beta, windows XP)
I made a test file test.sav with SPSS version 11.5.1
containing only one numeric variable, with a value label
for one value not occuring in the file. According to ?read.spss
this should result in a factor, but it results in all NA. Using the
argument
2004 Sep 24
2
rw2000dev: problems with library(foreign)
I get the following
> library(foreign)
Error in namespaceExport(ns, exports) : undefined exports: write.foreign
Error in library(foreign) : package/namespace load failed for 'foreign'
with rw2000dev as of (2004-09-17
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
2004 Dec 08
2
Strange error from R CMD INSTALL
I am trying to install a local package and get this unexpected
error:
---------- Making package UMSA ------------
adding build stamp to DESCRIPTION
installing R files
installing data files
installing man source files
installing indices
Error: couldn't find function "na.omit"
Execution halted
na.omit of course is in package stats, and that is listed in the
Depends field in
2005 May 28
3
Incompatibility with VGAM
I just discovered that when the VGAM package (not on CRAN) is loaded,
glm() doesn't work. This is because VGAM defines a family function()
which gets found
by glm() in place of the family function from stats.
Then VGAM:::family returns an object which doesn't have a $family
component, (it has a component
$vfamily).
I thought namespaces should protect us from this happening?
Kjetil
--
2012 Apr 10
3
How to get the SS and MS from oneway.test?
Hello everyone:
I'm a new member of this group.
I have a question about "oneway.test".
When I use "anova(lm(....))" to analysis the
ANOVA,
I can get the information about Sum Sq and Mean
Sq.
(The R code and the results are as follows.)
2004 Oct 06
1
problems with bitmap images in windows XP
This is rw2000 on windowsXP
jpeg("test.jpeg", bg="orangered")
plot(1:10, 1:10, col="green")
dev.off()
------
jpeg("test.jpeg", bg="blue")
plot(1:10, 1:10, col="red")
dev.off()
-------
jpeg("test.jpeg", bg="green")
plot(1:10, 1:10, col="red")
dev.off()
---
jpeg("test.jpeg",
2004 Oct 29
1
as.list.matrix
I found the need of converting a matrix into a list of its columns
(for use with do.call), and was surprised there was no method
as.list.matrix, it could easily be a part of as.list default
I wrote
my.as.list.matrix <- function(mat) {
if(!is.matrix(mat))stop("Argument must be a matrix")
n <- NCOL(mat)
res <- vector(mode="list", length=n)
2005 Mar 29
2
strange error with rw2010dev
With rw2010dev I get a strange protect(): protection stack overflow
error with a small data frame which otherwise is usable:
If anybody wants to have a look I can provide an RData file
with the problematic data frame.
Doesn't seem to be necessary, the following simulated example
generates the error:
> testmat <- matrix(1:80, 20,4)
> dim(testmat)
[1] 20 4
> str(testmat)
int
2011 Apr 21
1
one-way ANOVA model, with one factor, an unbalanced design and unequal variances
Hi,
i'm looking for an R function to fit a one-way ANOVA with one factor
containing 10 levels. The factor levels have different numbers of
observations (varying between 20 to 40). For most of the dependent variables
i'm testing there are unequal variances among the factor levels.
I see the function oneway.test:
oneway.test(variable ~ factor, data=dataset)
which by default does not
2018 Jan 16
1
Letters group Games-Howell post hoc in R
Hello everybody,
I use the sweetpotato database included in R package:
data(sweetpotato) This dataset contains two variables: yield(continous
variable) and virus(factor variable).
Due to Levene test is significant I cannot assume homogeneity of variances
and I apply Welch test in R instead of one-way ANOVA followed by Tukey
posthoc.
Nevertheless, the problems come from when I apply posthoc
2005 Apr 30
2
Warning from Rcmd check - data could not find data set
This is rw2010 from CRAN.
When running Rcmd check
on a package I get:
Warning in utils::data(list = al, envir = data_env) :
data set 'vowel.test' not found
Warning in utils::data(list = al, envir = data_env) :
data set 'vowel.train' not found
Warning in utils::data(list = al, envir = data_env) :
data set 'waveform.test' not found
Warning in utils::data(list
2005 Apr 30
2
Warning from Rcmd check - data could not find data set
This is rw2010 from CRAN.
When running Rcmd check
on a package I get:
Warning in utils::data(list = al, envir = data_env) :
data set 'vowel.test' not found
Warning in utils::data(list = al, envir = data_env) :
data set 'vowel.train' not found
Warning in utils::data(list = al, envir = data_env) :
data set 'waveform.test' not found
Warning in utils::data(list
2004 Sep 18
1
Rcmd problems and questions, lazyloading
Hola!
I got past the problems I asked about two days ago, thanks. No I am
updating
CRAN package asypow (the daily package check on CRAN gave warnings due to
.Rd problems, fixed).
Now it PASSED Rcmd check
(WindowsXP home edition, rw2000dev, on a new toshiba laptop, if that
matters.)
but then Rcmd build --binary
gives problems:
.
.
.
preparing package asypow for lazy loading
Error in
2004 Dec 23
1
small problem with R CMD check
On trying with very smll test packages
to try drilling down to som problems earlier reported in this list,
I detected the following:
R CMD check
on a package with an R subdirectory empty, reports:
* checking R files for syntax errors ... ERROR
Syntax error in file
On removing the empty subdirectory, the
error disappears.
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of
2004 Nov 24
1
OOT: frailty-multinivel
Hola!
I started to search for information about multilevel survival models, and
found frailty in R. This seems to be something of the same, is it the same?
Then: why the name frailty (weekness?)
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
2012 Nov 29
2
Analysis of Variance
Hi, I am encountering a difficulty I don't understand. Be patient, I'm very
new to analysis of variance.
If I load this data:
example12_7=read.table("http://msemac.redwoods.edu/~darnold/math15/data/chapter12/example12_7.dat",header=TRUE)
The run the oneway.test:
oneway.test(time~drug,data=example12_7,var.equal=TRUE)
I get these results:
data: time and drug
F = 4.1881, num
2004 Nov 22
1
Left justification af dimnames in tables.
Hi helpeRs.
When I do two-ways tables dimnames in columns are almost left-adjusted:
<- factor(rbinom(30,1,.3),labels=c("first","second"))
> b <- a
> table(a,b)
b
a first second
first 21 0
second 0 9
If I do a oneway table however, dimnames are right-adjusted:
table(a)
a
first second
21 9
Actually I must admit I
2007 Jan 09
5
a question of substitute
Hi all,
I want to write a wrapper for an analysis of variance and I face a curious
problem. Here are two different wrappers:
fun.1 <- function(formula) {
summary(aov(formula))
}
fun.2 <- function(formula) {
oneway.test(formula)
}
values <- c(15, 8, 17, 7, 26, 12, 8, 11, 16, 9, 16,
24, 20, 19, 9, 17, 11, 8, 15, 6, 14)
group <- rep(1:3, each=7)
# While the first