Displaying 20 results from an estimated 2000 matches similar to: "expression help"
2005 Jun 02
1
glm with variance = mu+theta*mu^2?
How might you fit a generalized linear model (glm) with variance =
mu+theta*mu^2 (where mu = mean of the exponential family random variable
and theta is a parameter to be estimated)?
This appears in Table 2.7 of Fahrmeir and Tutz (2001) Multivariate
Statisticial Modeling Based on Generalized Linear Models, 2nd ed.
(Springer, p. 60), where they compare "log-linear model fits to
2012 Mar 13
7
ROC Analysis
Hi everybody,
I have a data set with a value and a status (positive or negative case) and
I want make a ROC Analysis. So, with ROCR Package, I have got the ROC curve
(True Positive Fraction [tpf] according 1-True Negative Fraction [1-tnf]).
http://r.789695.n4.nabble.com/file/n4469203/01.png
But, now I want a new graphic which show the sum of true positive fraction
and true negative fraction
2009 Aug 06
2
Ylim
Hello All:
Can anybody tell me what is the problem with my program please. I have an
error message as appears below.
My program is:
ifn <- "Jul08_09.LM"
data <- read.table(ifn)
ofn <- "Jul.png"
bitmap(ofn, type = "png256", width = 30, height = 30, pointsize = 30, bg =
"white",res=50)
par(mar=c(5, 5, 3, 2),lwd=5)
2009 Apr 25
1
issue building my own package... moving from Apple OS to Windows
Thanks Mark,
That was it. (ie the --binary option on R CMD build)
I'll just state for the web-o-sphere (just in case it helps any one
else) that part of my confusion in building this came from
misunderstanding what they call "source" and what the call "binary" in
this environment.
I always think of source as something that must be compiled into a
binary (like C-code
2010 Aug 22
2
Recursion problem
Hi,
I wanted to compute the value of the function ifn at certain values of n. But I
am receiving the following error when I was using the following code(given at
the end).
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
I feel that since the function Grx is recursively related, perhaps making the
code too complicated too handle. Can anyone let me know if
2010 Aug 20
1
handling recursion relation
Hi,
I wanted to compute the value of the function ifn at certain values of n. But I
am receiving the following error when I was using the following code(given at
the end).
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
I feel that since the function Grx is recursively related, perhaps making the
code too complicated too handle. Can anyone let me know if
2009 Jul 27
3
numbers on barplot
Hello all,
I have this simple barplot code:
ifn <- "id.dat"
dat <- read.table(ifn)
ofn <- "id.png"
bitmap(ofn, type = "png256", width = 30, height = 30, pointsize = 30, bg =
"white",res=50)
par(mar=c(5, 5, 3, 2),lwd=5)
par(cex.main=1.6,cex.lab=1.6,cex.axis=1.6)
names(dat)<-c("NumberOfPeople","Average")
2009 Jul 30
1
reading a file
Hello there,
I have the following info in MyData:
01 0.40
02 0.40
03 0.40
04 0.35
05 0.34
06 0.33
I want to read them using the following code:
ifn <- "MyData"
dat <- read.table(ifn)
names(dat1)<-c("Code","M")
names(dat2)<-c("Code","M")
I want to have the first three lines in
2009 Aug 13
1
reading a string
Hello All:
I am having the following data file named "data.dat"
Number of people
Number of pets
Age of trees
ifn <- "data.dat"
dat <- read.table(ifn)
colnames(dat)<-c("Variables")
I want R to read all these in a string but when I ask R to read these,
it gives me error because there more than one word in each line. Any
comments to solve this problem?
2010 May 13
1
ESP Ghostscrip ...
Hello All:
Could anybody tell me please what is the meaning of this error message:
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal
Calls: plot -> plot.default -> plot.xy
Execution halted
My code has to go to 18 loops for three times and in each loop it has to
read a file which is 100-300 Megs. It always crashes at loop 14
2010 Sep 14
2
How to uncompress a gz file in R
Dear Fellows,
I would like to know how to uncompress a gz file at the R console. I could
not find out any help from the R-help archive.
Thanks for your great help.
Best Regards,
Wonsang You
-----
--
Wonsang You
Special Lab Non-Invasive Brain Imaging
Leibniz Institute for Neurobiology
http://www.ifn-magdeburg.de
--
View this message in context:
2004 May 28
2
Asterisk with Draytek 2600V
I am unable to get a my Draytek working with our Asterisk server. I can
make/recieve calls but get no audio. I have tried the various codecs at the
Vigor end but still getting nothing. I looked at sip debug (below) but am
new to Asterisk and don't really know what I am looking for. Asterisk works
fine with XLITE so I know my installation is ok.
Sip read:
INVITE
2010 Sep 16
2
How to combine matrix and vector
Dear fellows,
I am a novice in R. I would like to combine a matrix and a vector. Assume
that we have the matrix a and the vector b with same length of column.
a<-matrix(seq(1:10),nrow=2,ncol=5,byrow=TRUE)
a=
1 2 3 4 5
6 7 8 9 10
b<-t(c(11,12,13,14,15))
b=
11 12 13 14 15
Then, I want to combine a and b as follows.
c=
1 2 3 4 5
6 7 8 9
2011 Apr 15
2
Function for deleting variables with >=50% missing obs from a data frame
Hello R users!
I have several data frames where some of the variables have many missing observations. For example, Q1 in one of my data frames has over 66% of its observations missing. I have tried imputation with mice but it does not work for all the data frames and I get the following message or a similar message to this:
iter imp variable
1 1 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11
2010 Sep 28
1
confirming behavior of "by"
Hi,
I'm using "by" to summarize by multiple groups, and want to extract the
returned into a pretty dataframe. I'm trying to find a simple way to
name the rows of the data frame. I'd like it to be something like
index1.val1.index2.val2 where the index1 and index2 are the names of the
indices and the val1 & val2 are names of possible values of the index.
(the
2010 Aug 31
4
How to Adaptively Set Up the Coordinate Range of Multiple Graphs in One Figure
Hi, R-Helpers,
I would like to ask about multiple graphs in one figure. I tried to execute
the following codes.
xlim <- c(1,100)
ylim <- c(1,4)
plot(NA, xlim=xlim, ylim=ylim)
> x <- c(1:100)
for(j in seq(1,10,by=1)) {
y <- j*x^2+log(j)
lines(x, y)
}
In the above codes, I had to arbitrarily set up the coordinate range of the
figure in advance before
2011 Jul 29
10
Media Ponderada
Hola a todos.
Ya he escrito sobre esto pero vuelvo a no ser capaz de resolver una cosa
Tengo este archivo
año mes fecha puerto barco origen arte
2007 enero 2007-01-04 Ribeira juan Norte PAREJA
2007 enero 2007-01-04 Ribeira luis -Norte BETA
2007 enero 2007-01-04 Ribeira pedro Norte PAREJA
2007 enero
2010 Sep 10
1
Greek letter included in a character vector
Hello,
In the past I have used "expression" to include greek letters in axis labels,
but this time I need to include the greek letter as part of a legend. Basically,
I need to create the following vector to rename the levels of a factor:
c("Interferon-gamma", "IL-10", "IL-5"), where "gamma" obviously needs to be
printed as the greek letter
2011 Jul 29
1
Resumen de R-help-es, Vol 29, Envío 30
Buenos días,
Para una media ponderada con segmentación prueba a usar compmeans() del
paquete descr.
Un saludo,
Manel.
2011/7/29 <r-help-es-request@r-project.org>
> Envíe los mensajes para la lista R-help-es a
> r-help-es@r-project.org
>
> Para subscribirse o anular su subscripción a través de la WEB
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
>
2010 Oct 13
2
How to fix error in the package 'rgenoud'
Dear R user fellows,
I would like to ask you about the package 'rgenoud' which is a genetic
optimization tool.
I ran the function 'genoud' with two variables to be minimized by the
following command.
result<-genoud(fn,nvars=2,starting.values=c(0.5,0),
pop.size=1000, max.generations=10, wait.generations=3)
Then, I had the following error message.
Error in