Displaying 20 results from an estimated 1100 matches similar to: "t test on data frame"
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Saturday 15 September 2007, Tanya Lattner wrote:
> 2) Download llvm-2.1, llvm-test-2.1, and the llvm-gcc4.0 source.
> Compile everything. Run "make check" and the full llvm-test suite
> (make TEST=nightly report).
I tried to do this, but ran into trouble.
LLVM itself compiled fine.
GCC compilation is broken when Java support is enabled. I can file a detailed
bug report
2008 Jan 16
2
old master.pid prevents dovecot startup
Summary
=======
After an unclean shutdown the file /var/run/dovecot/master.pid remained
behind. This prevented dovecot from starting, and gave a misleading error
message.
To be more resilient and fault-tolerant, I recommend that dovecot also
check the validity of the PID in /var/run/dovecot/master.pid in order to
determine whether or not another dovecot process is running.
Detail
======
In
2013 Apr 06
1
Replace missing values within a group with the non-missing value
I have a large dataset organised in choice groups see below. Each choice represents a separate occasion with 1 product chosen out of the 6 offered.
+-------------------------------------------------------------------------------------------------+
| dn obs choice acid br date cdate situat~n mth year set |
2013 Apr 06
2
Replace missing value within group with non-missing value
Dear List members
I have a large dataset organised in choice groups see sample below
+-------------------------------------------------------------------------------------------------+
| dn obs choice acid br date cdate situat~n mth year set |
2007 Apr 23
1
How to get LSMEANS from linear mixed model?
Hi there,
I am trying to run simulations using R with linear mixed model (lme). There
are two factors in my fixed effect model, educ (treatment and control) and
mth (visit 1, 2, and 3). What I want to obtain is the estimated treatment
difference (treatment - control) at visit 3, plus the standard error and
p-value. This can be easily obtained in SAS using lsmeans or estimate
statements, but I
2010 Aug 28
1
star models
Hi,
I am traying to implement an STAR model, but I have some problems.
I am following the instruction of the model, that they are in:
http://bm2.genes.nig.ac.jp/RGM2/R_current/library/tsDyn/man/star.html
that they are from:
http://bm2.genes.nig.ac.jp/RGM2/pkg.php?p=tsDyn
The model is:
star(x, m=2, noRegimes, d = 1, steps = d, series, rob = FALSE, mTh,
thDelay, thVar, sig=0.05, trace=TRUE,
2002 Sep 12
1
Problem with indexing
Dear List
I am having a bit of a problem getting a program to work.
For each of i=1 to n persons I have a matrix (different for each person) with
m rows.
What I want to do, is create m new data sets such that the first is made up
of the first row for each person from the original matrices, the second
contains the second row for each person from the original matrices etc etc up
to the mth
2009 Dec 24
3
aggregate binary response data
Dear list
I have a response variable coded 0/1 i.e. a binary response. There are
20,000 individual responses that I would like to aggregate into
numbers of each category (i.e. 0/1) by
group called dn (350 different groups) and by month mth (there are
several hundred responses per month.
What is the simplest way to perform this operation in R?
2005 Apr 15
4
aggregation question
Is length(unique()) what you are looking for?
Andy
> From: Christoph Lehmann
>
> Hi I have a question concerning aggregation
>
> (simple demo code S. below)
>
> I have the data.frame
>
> id meas date
> 1 a 0.637513747 1
> 2 a 0.187710063 2
> 3 a 0.247098459 2
> 4 a 0.306447690 3
> 5 b 0.407573577 2
> 6 b
2011 Jan 23
2
Ordering box plots
Hello all, I want box plots by group to display in order of increasing
mean (or median) of each group but can't seem to figure it out and
couldn't find anything on R-seek, either.
My data looks like this:
meas unit sid grade rsprti
1 2.24 1002 99999902 NA 0.8600000
2 3.04 1007 43589520 3 0.9400000
3 4.95 2002 39910470 5 1.5300000
4 2.24 2002 39986280 5
2011 May 12
1
separate date and time
I have a combined date and time. I would like to separate them out into two
columns so I can do things such as take the mean by time across all dates.
meas<-runif(435)
nTime<-seq(1303975800, 1304757000, 1800)
nDateT<-as.POSIXct(nTime, origin="1970-01-01")
mat1<-cbind(nDateT,meas)
means1<- aggregate(mat1$meas, list(nDateT), mean)
This doesn't do anything as each day
2006 Jul 18
1
Reconfiguring wide frame to long frame
Greetings, fellow R'ers.
How can I get this frame in R:
ID meas ID.1 meas.1
1 1.1 3 1.2
2 2.1 4 2.2
to look like this (stacking):
ID meas
1 1.1
2 2.1
3 1.2
4 2.2
It's not really the reshape function (or is it?) because we can consider
the additional columns, viz., ID.1 and meas.1, as independent of ID and
meas so it is basically a stacking
2000 Jul 28
4
Language element manipulation
I am very confused about this. I want to convert a string to a name so I can
use it to extract an element of a data frame using `$'. Here is my
(non-working) code:
do.graph <- function (meas)
{
fn <- paste("a", meas, ".dat", sep='')
themeas <- read.table(fn, header=F)
ameas <- as.name(paste("a", meas, sep=''))
2008 Jul 25
1
glht after lmer with "$S4class-" and "missing model.matrix-" errors
Hello everybody.
In my case, calculating multiple comparisons (Tukey) after lmer
produced the following two errors:
> sv.mc <- glht(model.sv,linfct=mcp(comp="Tukey"))
Error in x$terms : $ operator not defined for this S4 class
Error in factor_contrasts(model) :
no 'model.matrix' method for 'model' found!
What I have done before:
> sv.growth <-
2011 May 12
3
assigning creating missing rows and values
I have a dataset where I have missing times (11:00 and 16:00). I would like
the outputs to include the missing time so that the final time vector looks
like "realt" and has the previous time's value. Ex. If meas at time 15:30 is
0.45, then the meas for time 16:00 will also be 0.45.
meas are the measurements and times are the times at which they were taken.
meas<-runif(18)
2011 Dec 07
1
Convert a string to a variable name
Hello,
I am trying to ask the user for which column their data is in, and then use
this information in a function. So far I have:
data <- read.csv(file.choose(), header=TRUE)
col <- (winDialogString("Which column contains your data?",""))
and I want to be able to reference such as:
meas <- data$col
and use this meas in the function.
However, I can't seem to
2013 Apr 07
3
mlogit error
Dear List
I am trying to fit a multinomial model using the mlogit package. Attempting to load
the data into mlogit presents the following error.
MLOG<-mlogit.data(Mult3,shape="long",choice="CHOICE",alt.var="mode.ids",indivs = "set3",chid.var = "obs")
Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.1", "1.2",
2004 Sep 08
1
Feil i websider (PR#7216)
Warnings about /metno/internweb/fouweb/htdocs/teknisk/verktoy/R/faq.html
BAD LINK: http://stat.ethz.ch/R/manual/
BAD LINK: http://nlme.stat.wisc.edu/MEMSS/
BAD LINK: http://stats.mth.uea.ac.uk/Rcgi/
BAD LINK: http://software.biostat.washington.edu/statsoft/ess/
------------------------------------------------------------
Warnings about
2005 Sep 14
1
Long lines with Sweave
I have used Sweave a lot the latest year, but never really used any long
function calls.
If I have code which look like this
-------------------------------------------------------------
gof <- benthic.flux(ID="Gulf of Finland",
meas.conc=conc,
bw.conc=bw.conc,
time=times,
2006 Mar 10
2
unload memdisk+FreeDOS => local boot
Sensei H. Peter Anvin,
I have successfully modified/enhanced memdisk so that one can chainload a
local operating system after running diskless FreeDOS.
I would like your advice regarding the appropriate interface for invoking
this functionality.
In addition, I would like to know what steps to take so that you feel
comfortable considering including this in the standard syslinux
distribution.