search for: variabe

Displaying 20 results from an estimated 25 matches for "variabe".

Did you mean: variable
2012 Feb 06
2
Reordering levels of a factor when the factor is part of a data frame
Hello R-users,    I have a data frame whose names of columns I don't know a priori, but the user of my code will know them. The user is supposed to save the name of the column that will need some reordering of the levels of the factor later on. The name of the column will be saved in an object called: variab the data frame is called df. If I try to the do following:
2009 Jul 01
2
getOptions("max.print") in R
I am typing the following on the command prompt: >variab = read.csv(file.choose(), header=T) >variab It lists 900,000 ( this is the total number of observations in "variab" ) minus 797124 observations and prompts the following message [ reached getOption("max.print") -- omitted 797124 entries ]] Is there a way to see the entire set of data, ie all of 900,000 obs, and
2009 Feb 20
1
Using "rep", but don't know what to put after each =
Hello I have one DF (detheleny1periode), with some variables that mathes, in some way, variables in another DF (y2). The DF named detheleny1periode look like this (i have not included alle variables): CHR_NR diffdatoperiode 11377 29 11377 59 11377 78 with many different CHR_NR's. And the other DF named y2 look like this (i have not
2005 Jun 29
0
Selecting rows regarding the frequency of a factor variab le.
See if this does what you want: > dat <- data.frame(f=factor(sample(letters[1:10], 100, replace=TRUE)), x=runif(100)) > str(dat) `data.frame': 100 obs. of 2 variables: $ f: Factor w/ 10 levels "a","b","c","d",..: 2 5 10 9 10 3 9 8 3 1 ... $ x: num 0.9162 0.0481 0.3048 0.0938 0.8599 ... > g <- names(which(table(dat$f) > 11)) >
2009 May 20
1
Comparing spatial distributions - permutation test implementation
Hello everyone, I am looking at the joint spatial distribution of 2 kinds of organisms (estimated on a grid of points) and want to test for significant association or dissociation. My first question is: do you know a nice technique to do that, considering that I have a limited number of points (36) but that they are repeated (4 times)? I did GLMs to test for correlations between the
2001 Mar 14
0
segmentation fault of unknown cause (PR#877)
Dear all, Paulo Ribeiro, p.ribeiro@lancaster.ac.uk, and myself noticed that R sometimes breaks down with a segmentation fault of (at least for us) unknown course. (We've read #411 and #671 in the bug report on "optim" -- the problem described there sounds familiar; but we have not found any hint on a segmentation fault.) Please find at the very end of this email the file
2006 Sep 25
2
Splitting a character variable into a numeric one and a character one?
...ariables: Column 1 Column 2 Column 3 "123abc" 123 "abc" "12cd34" 12 "cd34" "1e23" 1 "e23" ... So basically, I want to split the original variabe into a numeric one and a character one, while the splitting element is the first character in Column 1. I searched the forum with key words "strsplit"and "substr", but still can't solve this problem. Can anyone give me some hints? Thanks in advance, FD [[alternative HTM...
2009 Oct 27
3
Sobre funciones
Un saludo cordial para cada uno. Les agradecería una ayuda con lo siguiente: Debo trabajar con una función de varias variabes, digamos f(x,y,z). ¿Cómo definir la función para usarla luego con ''integrate'' de forma tal que pueda fijar dos valores, ''y'' y ''z'', por ejemplo, e indicar los límites de integración para la variable que queda libre? Ejemplo. La intención es cal...
2013 Jun 10
1
DTLSv1_method on NetBSD
This is the second issue I found while trying to install Asterisk on a NetBSD box. I can't load the rtp module because HAVE_OPENSSL_SRTP seems to be set. Is there some way to simply force this variab;e to be unset from a configuration variable? -- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy at Vex.Net Voip: sip:darcy at Vex.Net
2010 Sep 15
3
Skip Busy Agents/Channels from Queue
Is there a way skip / ignore the member whose status is busy in the Queue. I have two channel member in queue and i have set the peer limit 2 for these members. I want to skip those member who are currently on the call (answered to calls) and now their status is busy, if Queue see the busy status caller will not enter in the Queue and go to the next priority. [test-queue] strategy = rrmemory
2004 Sep 21
3
how to take this experiment with R?
How about: x <- data.frame(matrix(rnorm(1550),c(50,31))) model <- step(lm(x[,1] ~ as.matrix(x[,2:31]))) --Matt -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of rongguiwong Sent: Monday, September 20, 2004 20:52 PM To: r-help at stat.math.ethz.ch Subject: [R] how to take this experiment with R? This message uses
2007 Sep 07
2
R first.id last.id function error
...4 1 2 6 12 4 1 3 5 13 5 2 1 7 14 5 2 2 8 15 5 2 3 5 16 6 2 1 2 17 6 2 2 4 18 6 2 3 6 19 7 2 1 7 20 7 2 2 8 21 8 2 1 9 22 9 2 1 4 23 9 2 2 5 I have written code that correctly assigns the first.id and last.id variabes: require(Hmisc) #for Lags #ascending order to define first dot file1<- file1[order(file1$id, file1$week),] file1$first.id <- (Lag(file1$id) != file1$id) file1$first.id[1]<-TRUE #force NA to TRUE #descending order to define last dot file1<- file1[order(-file1$id,-file1$week),] f...
2013 May 11
1
prediction in a loop with only one sample
...edit.Limit.Ratio.1, Dept.Ratio.1, Numb.Dependents.1) X.2[i] <- cbind(NTimes.60DaysLate.2, Credit.Limit.Ratio.2, Dept.Ratio.2, Numb.Dependents.2) } However, I get error massages because R cannot read 1+[i] ... Do you have any idea how I can create 500 different pairs from my one sample where one variabe contains 300 observation and the other the rest? Thank you very much in advance. -- View this message in context: http://r.789695.n4.nabble.com/prediction-in-a-loop-with-only-one-sample-tp4666819.html Sent from the R help mailing list archive at Nabble.com.
2012 Jul 27
2
producing a graph with glm poisson distributed respons count data and categorical independant variables
Hello, I am working on my thesis and can't really figure out how to produce a reasonable graph from the output from my glm., I could just give the R-output in my results and then discuss them, but it would be more interesting if I could visualise what is going on. My research is how bees react to different fieldmargins, for this I have 4 different types of field margin (A,B,C & D) and
2012 Dec 18
2
error en un modelo binomial
Hola, estoy heciendo unos analisis viendo los factores que influyen la depredación de pollos. Como la variabe es depredación (SI/NO) pongo un modelo binomial con varios factores. Al final del analiss me sale esto error: "Warning message: glm.fit: fitted probabilities numerically 0 or 1 occurred" ¿que significa, y sobre todo como se resuelve? Muchas gracias Gian [[alternative HTML version delete...
2007 May 06
2
render :action "call method first?"
Hi, I know when I call: render :controller => ''some'', :action => ''thing'' It doesn''t call the method ''thing'' before render the template ''thing.rhtml'', but I need some instance variable which are in the ''thing'' method, how can I let it call the method ''thing'' and then render
2012 Oct 12
1
/var/run/dovecot/auth-userdb failed
Hi, I work on test server and if I send an email on log i read lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=8135(vmail) egid=8135(vmail) missing +r perm: /var/run/dovecot/auth-userdb, euid is not dir owner) This is my dovecot.conf: auth_mechanisms = plain login info_log_path = /var/log/dovecot listen = 0.0.0.0 log_path = /var/log/dovecot
2009 Feb 08
0
Modifying forestplot function in rmeta
...7 >14 5 2 2 8 >15 5 2 3 5 >16 6 2 1 2 >17 6 2 2 4 >18 6 2 3 6 >19 7 2 1 7 >20 7 2 2 8 >21 8 2 1 9 >22 9 2 1 4 >23 9 2 2 5 > >I have written code that correctly assigns the first.id and last.id variabes: > >require(Hmisc) #for Lags >#ascending order to define first dot >file1<- file1[order(file1$id, file1$week),] >file1$first.id <- (Lag(file1$id) != file1$id) >file1$first.id[1]<-TRUE #force NA to TRUE > >#descending order to define last dot >file1<- fi...
2012 Nov 18
3
users mail folders have to be subscribed
Hi, I did a migration from cyrus 2.2 to dovecot (fresh installation, details below) via cyrus2dovecot from FU Berlin. That worked, but I first was missing mails in subfolders ander Inbox. No I detected that they are in the users Maildir in folders in his directory. They are listed when using telnet: * LIST (\HasChildren) "." "INBOX.ebay" * LIST (\HasNoChildren) "."
2013 Jun 15
1
access shared mailbox results in error
when i try to access a shared mailbox the logfile shows me this and access isn't possible Jun 15 19:38:57 imap(michael at bigmichi1.de): Error: mdbox /srv/vmail/mail/bigmichi1.de/familie/mailboxes/INBOX/dbox-Mails: Invalid dbox header size: 0 Jun 15 19:38:57 imap(michael at bigmichi1.de): Warning: fscking index file /srv/vmail/indexes/shared/bigmichi1.de/michael/shared/familie at