Displaying 17 results from an estimated 17 matches for "merser".
2004 Mar 18
2
logistic regression with temporal correlation
Hello
We would like to perform a logistic regression analysis weighting the
independent variable in a temporal fashion, i.e. events occuring most
recent get highest weight. Does anyone know how to do this in R??
Regards
S. Merser and S. Lophaven
2004 Jun 27
2
subset drop unused levels
hi there
tried to use subset with drop=TRUE, but all the 'old' levels are preserved,
i.e. when calling e.g. ftable a lot of zeros are displayed
>x<-subset(LREG, (kir=='AA' | kir=='BB') & (type=='t1' | otype=='t2'),
drop=TRUE, select=c(event, kir, type))
> ftable(x)
i explicit have to call factor like
2006 May 10
3
integer vector to a string
hi there
is there a way that i can coerce a vector of integers to ONE string with
the numbers comma separated like:
1:500 -> "1,2,3, ..., 500"
i've tried deparse, but it divides the result into a vector of string
(depending on the setting of width with a max of 500)
regards soren
2006 Oct 30
2
which duplicated rows to delete
Hi
Say I've this vector with several duplicates
>x<-c(1,2,3,4,2,6,2,8,2,3)
>which(duplicated(x))
[1] 5 7 9 10 11
But what I realy want is somthing like:
List({2,5,7}, {3,10}, ...)
Then from each sublist I can specify which of the duplicate items to drop
res<-NULL
for(vec in myDuplicateList)
res<-rbind(res, subset(data[vec,], myCrit))
I'll get some of the way by
2002 Jul 06
2
emacs, ess, command completion?
I'm using
win XP
R 1.51 (Rterm)
emacs-20.7
ess-5.1.20
and everything except from command completion works
Is it possible to have this functionality using a windows enviroment?
thanks soren
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2002 Jan 16
4
faster vector subtraction??
hi
is there a faster way to do this?
i <- 1
for(x in vector1)
for(y in vector2) {
m[[i]] <- (x - y)
i <- i + 1
}
regards soren
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in
2003 Jun 25
2
rw1062
hi
I need 'rw1062.zip' since i can't get excel, R1070 or R1071 to work with the R (D)COM Server
everything worked fine in the god rw1062 days
the lapack routines can't be loaded
'unable to load shared library c:\r/moduleslapack.dll, the specified library could not be found'
don't know if it's the forward slashes that anoys windows
btw, the libraries are in the
2002 Mar 16
1
readline library for Redhat 7.2
Could anyone please point me to the library
readline41-4.1-10.i386.rpm
which is requiered for installing the R-base package on Redhat 7.2
regards
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2004 Jan 19
1
ftable to LaTeX
hi there
is there a way to convert objects of class ftable into LaTex code
preserving the 'look' with row and column infomation?
xtable() {xtable} can't handle such objects and latex() {Hmisc} just texify
the number matrix,
without row/column information
regards soren
2004 Aug 17
2
table and getting rownames
hi there
say that i have this table
>x<-table(adoc, oarb)
>x
oarb
0 1
adoc
ab 1 0
am 5 1
ba 14 1
cc 271 3
ch 87 2
dz 362 6
fl 7 0
fs 84 2
is there an easy way to get the row names or row
2004 Jan 08
1
multiple plot
hi there
i've got this litle strange problem working with multiple plots i one screen
the title dissapears when more than 4 images comes up
up to 4 plots the title it shows nicely
the display is set up like:
split.screen(figs=c(3,4), erase=TRUE)
some plots
close.screen(all=T)
title(main='TITLE 1')
what am i doing wrong here
regards soren
2005 Jun 12
1
y-axis and resizing window
hi
using plot(..., las=1), i.e. horizontal axis labels, the labels on the
y-axis jams if the heigth of the graphics windov becomes too low
while both x-axis and y-axis kind of removes superflus lables with las=0
(default)
is there a way to make plot behave alike with horizontal lables?
regards s??ren
2006 May 16
1
R(DCOM) / StatConnector and PHP
hi
does anyone have knowledge on how to connected to StatConnector from PHP
I have tried:
new COM("STATCONNECTORSRVLib.StatConnector") or die("Unable to
instantiate StatConnector");
with no succes
regards soren
2006 Jul 08
1
survfit, unused argument(s) (error ...)
Hi
It seems that survfit() doesn't accept the argumnet 'error' as below
>survfit(fit, error='greenwood')
Error in survfit.coxph(fit, error = "greenwood") :
unused argument(s) (error ...)
Isn't is allowed to do that for a coxph object?
Regards Soren
Windows XP, SP2
R 2.3.0
2004 Jun 20
9
A way to list only variables or functions?
I am curious if there is any way to list only variables or functions in
current environment, rather than listing all objects? Thanks.
--
Daehyok Shin (Peter)
Geography Department
Univ. of North Carolina-Chapel Hill
2004 Jun 20
9
A way to list only variables or functions?
I am curious if there is any way to list only variables or functions in
current environment, rather than listing all objects? Thanks.
--
Daehyok Shin (Peter)
Geography Department
Univ. of North Carolina-Chapel Hill
2007 Feb 05
3
Confidence intervals of quantiles
Can anyone please tell me if there is a function to calculate confidence
intervals for the results of the quantile function.
Some of my data is normally distributed but some is also a squewed
distribution or a capped normal distribution. Some of the data sets contain
about 700 values whereas others are smaller with about 100-150 values, so I
would like to see how the confidence intervals change