Displaying 15 results from an estimated 15 matches for "1.11e".
Did you mean:
1.11
2003 Oct 18
1
why does data frame subset return vector
Hello,
I've a weired problem with a data frame. Basically it should be just one
column with
specific names coming from a data file (the file contains 2 rows, one should
be
the for the rownames of the data frame the other contains numeric values).
> df.rr <- read.table("RR_anova.txt", header=T, comment.char="", row.names=1)
> df.rr[c(1,2,3),]
[1] 1.11e-16 1.11e-16
2013 Feb 15
0
CVlim
Can anyone help explain to me why the two codes below have different result? I thought I can use log(time)~. to replace log(time)~dist+climb+timef.I am using CVlm from DAAG package. I think nihills is preloaded with the package. Thanks in advance.
> CVlm(df=nihills, form.lm=formula(log(time)~.),plotit="Observed",m=2)Analysis of Variance Table
Response: log(time) Df Sum Sq
2008 Jan 08
1
Problem in anova with coxph object
Dear R users,
I noticed a problem in the anova command when applied on
a single coxph object if there are missing observations in
the data:
This example code was run on R-2.6.1:
> library(survival)
> data(colon)
> colondeath = colon[colon$etype==2, ]
> m = coxph(Surv(time, status) ~ rx + sex + age + perfor, data=colondeath)
> m
Call:
coxph(formula = Surv(time, status) ~ rx +
2011 Mar 03
0
'merge' function creating duplicate columns names in the output
The "merge" command is creating duplicate column names in a dataframe
that is the result of the merge. The following is the 'merge'
command:
x <- merge(invType
, allocSlots
, by.x = 'index'
, by.y = 'indx'
, all.x = TRUE
)
The 'invType' dataframe was the result of a previous merge and has the
following column names that are
2011 Jul 13
1
AR-GARCH with additional variable - estimation problem
Dear list members,
I am trying to estimate parameters of the AR(1)-GARCH(1,1) model. I have one
additional dummy variable for the AR(1) part.
First I wanted to do it using garchFit function (everything would be then
estimated in one step) however in the fGarch library I didn't find a way to
include an additional variable.
That would be the formula but, as said, I think it is impossible to add
2005 May 03
0
Survival
Dear list,
I made survival analysis using Weibull regression.
I got significance in the analysis:
>anova(m1)
Df Deviance Resid. Df -2*LL P(>|Chi|)
NULL NA NA 2158 4933.109 NA
tratt -8 577.0669 2150 4356.042 1.988317e-119
and
> summary(m1)
Call:
survreg(formula = Surv(tempo, sensore) ~ tratt)
Value Std. Error z p
2011 Mar 22
1
Rmark and scientific notation issue
Hi all,
Just wondering if anyone might know a way to stop R reading my survival
history that has zeros at the beginning in as scientific notation. The data
is being read in from a .txt file via read.table to be used with Rmark
I have the same issues at the moment with reading in .csv and .xls files.
The number was formatted as text in the .xls file otherwise excel puts it
into scientific notation
2004 Jul 13
2
confint.glm in a function
I can't get confint.glm to work from within a function. Consider
the following (using R 1.9.1, Windows 2000):
# FIRST: SOMETHING THAT WORKS FROM A COMMAND PROMPT
DF <- data.frame(y=.1, N=100)
(fit <- glm(y~1, family=binomial, data=DF,
weights=DF[,"N"]))
Call: glm(formula = y ~ 1, family = binomial, data = DF, weights =
DF[, "N"])
Coefficients:
2006 Jul 15
0
How to Interpret Results of Regression in R
-----------------------------------------------------------------------------------------------------
Howdy, Gurus
I am appying R package for regression analysis as followings.
A dependent variable is jhnet that means ratio of dividing internal trip
with all trips in a traffic zone. There are many indepentent variables
including factor or dummy varibles such as parkfee, ohouse, Devt2,
corridor1.
1999 Apr 29
1
R-0.64.0 installation on SGI IRIX 6.5 machine
Hi,
I am trying to install R-0.64.0 version on SGI machine running
IRIX 6.5.
Machine details:
319 <mind.krasnow.gmu.edu:R-0.63.3> uname -a
IRIX64 mind 6.5 07271714 IP27
Configure script runs fine and the output at the end of configure is:
R is now configured for mips-sgi-irix6.5
Source directory: /usr/local/R-0.64.0
Installation directory: /usr/local
C compiler:
2005 Jul 14
2
Coxph with factors
Hello,
I am fitting a coxph model with factors. I am running into problems when
using 'survfit'. I am unsure how R is treating the factors when I fit, say:
> DATA<-data.frame(time.sec,done,f.pom=factor(f.pom),po,vo)
> final<-coxph(Surv(time.sec,done)~f.pom*vo+po,data=DATA)
> final.surv<-survfit((final), individual=T,conf.type="log-log")
2002 Dec 09
2
Problem with differences between S+ and R in parsing output tables with $
R-wizards
I have successfully run with S+ a statistical power calculation for
non-normal distributions as presented in M. Crawley?s new book.? When I
tried the newest version of R on the same code, the $ parse statement
doesn't seem to retrieve the appropriate number from a table. Note that
some of the cosmetic differences in the two tables have to be dealt with
by the parser. Any ideas
1999 Feb 22
1
Size of objects in the workspace
Is there an easy way (or any way) to determine the size of all the
objects in an R workspace. I know that "dim" will work on matrices,
"length" will work on lists, but what gives the size of a function?
After I have worked for a few days I often get confused about what is
what in the workspace, so I'm looking for something like "ls -l", to
point me toward
2004 Apr 29
3
memory problems with lm
Hello list,
I've seen the recent discussions documenting problems with lm.
I have encountered the following problem. I use WinXP Pro with
service pack 1, and R 1.9.0, on a XEON 2GHz, with 1GB of RAM.
> eff.fro
std.dev mean
NSTRDSP 7.403749e-01 1.215686e-01
CPFGEP 9.056763e+00 1.815686e+00
WSWOLF 4.703588e+05 1.112832e+05
NPILGRIM 1.017640e+06 2.134335e+05
2007 Dec 21
1
post hoc in repeated measures of anova
Hallo, I have this dataset with repeated measures. There are two
within-subject factors, "formant" (2 levels: 1 and 2) and "f2 Ref" (25
levels: 670, 729, 788, 846, 905, 1080, 1100, 1120, 1140, 1170, 1480,
1470, 1450, 1440, 1430, 1890, 1840, 1790, 1740, 1690, 2290, 2210,
2120, 2040, 1950), and one between-subject factor, lang (2 levels:1
and 2). The response variable