Displaying 5 results from an estimated 5 matches for "indooroopilli".
Did you mean:
indooroopilly
2010 Oct 06
3
what is the "NOT IN" operator
Good day,
I need to subset a data by removing several rows. I know the %in% operator, i.e.
sub <- mydata[group %in% c("A","B","E","G"), ]
What I need is the opposite, that is remove rows and/or columns. What is the operator for "NOT IN"? I tried (i)! %in% and (ii) ^%in% and both resulted in a "could not find function" error.
2007 Aug 21
2
compiling R under cygwin
For various reasons, it suits our workplace to have a cygwin version of
R. I am pretty sure that cygwin is still not a supported environment
for R, but we have managed to compile R-2.5.1 under cygwin without too
many dramas. Our procedure is described below. We still have a few
problems compiling libraries without manually changing files from .so to
.dll, but it seems ok.
I was wondering
2009 Oct 28
0
running aov() and lme() on 64-bit
Good day,
I'm ran aov () and lme() on a split-plot using a 64-bit machine. For aov() I don't see the values for ErrorA, F-value and p-value in the output. For lme(), output is different from results from a 32-bit. Please see codes used and corresponding output. Is my code wrong and/or not sufficient or is this a compatibility issue?
**************
model1<-aov(Y~Main*Sub +
2002 Jan 24
1
Re: coding factor replicates
How about this. Its not as 'swish' as Doug's response, but it might be a
little simpler to think about and adapt...
# show the test vector
> tmp
[1] A B C B C A C B A A B
Levels: A B C
>
# create a named vector to store the number of occurences of each level
> index <- numeric(length=length(levels(tmp)))
> names(index) <- levels(tmp)
> index
A B C
[1] 0 0
2002 May 15
3
question about scan()
Hi,
I am using the scan function to read from a file. In
general the syntax I am using is as follows:
scan("myfile", list(a = "", b="", c="", d=""), sep=",")
The file I am trying to read contains a #< in the 'd'
field. When the file is read into an object, the d
field comes as "" for that particular string.
I