similar to: R: Confidence Intervals for logistic regression

Displaying 20 results from an estimated 1000 matches similar to: "R: Confidence Intervals for logistic regression"

2009 Jun 12
0
R: Creating this vector, any suggetions?
try this > a<-c(1, 6, 8, 9) > 1*(1:10 %in% a) [1] 1 0 0 0 0 1 0 1 1 0 Stefano -----Messaggio originale----- Da: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]Per conto di njhuang86 Inviato: Friday, June 12, 2009 4:45 PM A: r-help at r-project.org Oggetto: [R] Creating this vector, any suggetions? Suppose I have the first vector: c(1, 6, 8, 9) I will
2009 Jun 26
0
R: Deleting repeated rows
?unique as an example > mat<-matrix(c(1,2,3,1,1,2,1,2,3,4,7,5), ncol=3, byrow=T) > mat #rows 1 and 3 are identical [,1] [,2] [,3] [1,] 1 2 3 [2,] 1 1 2 [3,] 1 2 3 [4,] 4 7 5 > unique(mat) [,1] [,2] [,3] [1,] 1 2 3 [2,] 1 1 2 [3,] 4 7 5 Stefano -----Messaggio originale----- Da: r-help-bounces at r-project.org
2009 Sep 23
0
R: Function to check if a vector contains a given value?
?any any(x==2) Stefano -----Messaggio originale----- Da: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]Per conto di Dimitri Liakhovitski Inviato: mercoled? 23 settembre 2009 17.38 A: R-Help List Oggetto: [R] Function to check if a vector contains a given value? Dear R'rs, is there a function that checks if a given vector contains a certain value. E.g.,
2010 Aug 03
1
R: classification tree model!
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20100803/9fb28807/attachment.pl>
2018 Jan 19
0
reading lisp file in R
Here are the beginning of a R program. I hope it can help you writing the rest of the program. Regards Martin M. S. Pedersen ---- filename <- "university.data" lines <- readLines(filename) first <- T for (ALine in lines) { ALine <- sub("^ +","",ALine) ALine <- sub(")","",ALine, fixed = T) if
2018 Sep 07
2
Construir matriz de distancias
Me encantaría saber pensar así de una. Creo que entiendo bien lo que me decís, pero no lo puedo poner en marcha en mi computadora, por algo que no sé qué será. Cuando llego a: > cosa<-aline(w1=x,w2=y) En RStudio me dice que R sufrió algo. Probé directamente desde la consola linux y también: > cosa<-aline(w1=x,w2=y) *** stack smashing detected ***: /usr/lib/R/bin/exec/R terminated
2018 Sep 07
2
Construir matriz de distancias
¡Buenas, listeros! Supongo que lo que planteo es muy básico, pero estoy trabado y no lo veo. Tengo una función que da la distancia lingüística ALINE, alineR::aline(), pero que no genera matrices. Tengo que hacer matrices de distancias ALINE de unos datos tipo esto: A cansado B cansadísimo C cansau D reventado E reventao F NA G canso alineR::aline("cansado", "cansado") # 0
2010 Nov 17
2
How to catch warnings
Hello when my code executes I receive the message that were some warnings. I want to catch warning messages at run time so to print some local variables and try to understand why this warning happens. I searched on internet and I tried withCallingHandlers( which seems to work but as I used Rkward the result is awful. I get a prompt to copy paste a value only while at the same time my background
2010 Sep 23
3
accumulation curves
Hi, I am trying to fit a logarithmic trendline to a scatterplot of a species accumulation curve. I've tried abline, lines, curve and scatter.smooth but none of these work. Can anyone help please, Kyran
2006 Jul 22
1
How to add a line on the boxplot
Hi, I have a data frame, > df=rnorm(1000) > dim(df)=c(100,10) > And i can get the boxplot, > boxplot(data.frame(df)) So how can add a line (aline) on the existing boxplot,eg, aline=apply(df,2,max) Thanks in advance. [[alternative HTML version deleted]]
2011 Jan 11
3
Generation of Normal Random Numbers
Dear R helpers I have a data frame as given below df = data.frame(A = c(776,827,836,995,855,1026,1203,1363,965,1195),                        B = c(806,953,1049,1056,1243,764,1148,1162,948,1154),                        C = c(959,1155,1193,1163,863,1070,1087,877,1132,944),                        D = c(906,760,978,1170,1009,883,1007,960,828,113)) # Actually the real data has number of vectors and
2003 May 11
1
lines(aline, type = 'b', col = "blue) does not work for POSIXct plot.
Hello, x <- ISOdate(2003, 4, 1:30) # POSIXct vector y <-c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30) aline <- c(30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) plot(x, y, xaxt = 'n', main = 'Number of Stuff for the Project, April 2003', xlab = 'Report Time', ylab = 'Number of
2010 Jul 30
2
svydesign syntax and deviance!
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20100731/ac3b9e43/attachment.pl>
2010 Aug 09
3
Regular Expression
Hi all, >From a list of strings, I desire to filter out the followings: 1. Digits at the beginning of the strings 2. Character "SPE" following the digits (if it exists) 3. Any characters followed by hyphen The following produces the desired result, but would like to know whether this can be done more efficiently. Any suggestions would be much appreciated. dat <- c("2148
2010 Nov 12
3
Partition of a set
Hi I am new on this forum. I am searching for a function in R which provides all partitions of a set, say for the set {1,2,3} you get {{1,2,3}} {1,{2,3}} {2,{1,3}} {3,{1,2}} {{1},{2},{3}} . The number of partitions of a set is given by Bellsche`s number. The number of possibilities of length (this is the number of subsets included in the partition) of the partition is given by the partition
2010 Oct 22
2
Bayesian constrained regression method?
Hello everyone, I am trying to estimate the parameter b. I have Y and X1 which I know and they are both random. However, I also have X2 which I don't know and is also random. I want to estimat b from the model: Y = b*X1 + ( 1 - b ) * X2 Can anyone offer some suggestions. The values of Y and X1 are both pvalues so they are constrained in (0,1). -- Thanks, Jim. [[alternative HTML version
2007 Jul 02
1
error in make install "cp: cannot copy cyclic symbolic link"
Hi All, I'm trying to build klibc against my own kernel source tree. The build goes fine, the problem is to install it. As usr/klibc/README asks, I've create a symlink called linux pointing to my kernel tree: lrwxrwxrwx 1 root root 25 Jul 2 16:18 linux -> /usr/src/linux-2.6.22-rc6 anderson-herzer:/usr/local/src/klibc-1.5# export LANG=C anderson-herzer:/usr/local/src/klibc-1.5#
2018 Jan 18
8
reading lisp file in R
Dear friends, Is there a way to read data files written in lisp into R? Here is the file: https://archive.ics.uci.edu/ml/machine-learning-databases/university/university.data I would like to read it into R. Any suggestions? Thanks very much in advance for pointers on this and best wishes, Ranjan -- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please
2013 Oct 03
2
SSweibull() : problems with step factor and singular gradient
SSweibull() :  problems with step factor and singular gradient Hello I am working with growth data of ~4000 tree seedlings and trying to fit non-linear Weibull growth curves through the data of each plant. Since they differ a lot in their shape, initial parameters cannot be set for all plants. That’s why I use the self-starting function SSweibull(). However, I often got two error messages:
2013 Nov 12
1
Getting residual term out of lmer summary table
Hello I'm working with mixed effects models using lmer() and have some problems to get all variance components of the model's random effects. I can get the variance of the random effect out of the summary and use it for further calculations, but not the variance component of the residual term. Could somebody help me with that problem? Thanks a lot! Below an example. Aline ## EXAMPLE