search for: regular

Displaying 20 results from an estimated 15634 matches for "regular".

2018 Jan 30
2
Could the Odds represent weight in Generalized Linear Model?
...~ ?0 + Age We note this this certain type of (Yes,No) response is linked to age (p<0.05 in glm) . After that we calculated : model1=glm(cbind(Yes,No) ~ Age + Times + Type, family=binomial) summary(model1) exp(model1$coefficients) exp(model1$coefficients)(Intercept) Age Times TypeRegular 0.01659381 1.02546748 1.01544154 1.70056425 The odds of answering 'Yes' is multiplied with 1.02 for each additional year of age. My questions is : (1) it is possible to add to my model, (Yes,No)~ ?0 + Age, the weight of the variable Age. Is it in fact the odd value ? Here is an examp...
2018 Jan 30
1
Could the Odds represent weight in Generalized Linear Model?
...type of (Yes,No) response is linked to age (p<0.05 in glm) . > > After that we calculated : > > model1=glm(cbind(Yes,No) ~ Age + Times + Type, family=binomial) > summary(model1) > exp(model1$coefficients) > > exp(model1$coefficients)(Intercept) Age Times TypeRegular > 0.01659381 1.02546748 1.01544154 1.70056425 > > The odds of answering 'Yes' is multiplied with 1.02 for each additional > year of age. > > My questions is : > > (1) it is possible to add to my model, (Yes,No)~ ?0 + Age, the weight of > the variable Age. Is i...
2018 Jan 30
0
Could the Odds represent weight in Generalized Linear Model?
...ked to age (p<0.05 in glm) . >> >> After that we calculated : >> >> model1=glm(cbind(Yes,No) ~ Age + Times + Type, family=binomial) >> summary(model1) >> exp(model1$coefficients) >> >> exp(model1$coefficients)(Intercept) Age Times TypeRegular >> 0.01659381 1.02546748 1.01544154 1.70056425 >> >> The odds of answering 'Yes' is multiplied with 1.02 for each additional >> year of age. >> >> My questions is : >> >> (1) it is possible to add to my model, (Yes,No)~ ?0 + Age, the weigh...
2011 Jan 17
3
to append a column to a data frame, has I use loop/if in my case?
days=Sys.Date()-1:70 price=abs(rnorm(70)) regular=rep(c(0,0,0,0,1,0,1,0,0,1),c(7,7,7,7,7,7,7,7,7,7)) y=data.frame(cbind(days,price,regular)) y is like days price regular 1 14990 0.16149463 0 2 14989 1.69519358 0 3 14988 1.57821998 0 4 14987 0.47614311 0 5 14986 0.87016180 0 6 14985 2.55679229 0...
2013 Dec 19
1
quota and selinux on centos 6.5
??? Hi, I'm facing a challenge with selinux and because I don't got an explanation elsewhere, I'm trying to explain here. I have decided to mount /var/spool/cron on a separate partition? and apply quota for regular users. But quotacheck replyes with a "permission denied" . quotacheck: Cannot create new quotafile /var/spool/cron/aquota.user.new: Permission denied quotacheck: Cannot initialize IO on new quotafile: Permission denied Indeed,? files in that directory has a context witch denies quotach...
2007 Dec 11
5
book on regular expressions
Hello, Could someone recommend a good book on regular expressions with focus on applications/use as it might relate to R. I remember there was a mention of such a reference book recently, but I could not locate that message on the archive. Thanks. -Christos Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350 Woburn...
2011 Mar 09
1
Regular Expressions in Column Headings
Hi all, I am hoping that someone can help me with a problem I am having with column headings. I have read a table into R using read.table: the rows are documents, and the columns are counts of regular expression matches (so that the column heading is the given regular expression). My problem is that read.table seems to be trying to interpret the regular expressions, or has trouble with the special characters, so that the column headings are not coming out correctly. For example, a column heade...
2004 Sep 20
3
asterisk install in a home with regular phones and a x100p
Hello all, I have a question. I have an asterisk box setup with an x100p card installed. I have about 3 VoIP phones connected to it. The x100p is connected to my pots line. I also have regular phones connected the the pots line as well like most normal people would. When I get an incomming call all the regular phones ring and my VoIP phones ring. This is good. My question is this. Say a call comes in on the pots line and a someone answers it on a regular phone and the call was for me...
2010 Nov 03
1
[LLVMdev] Forcing the Interpreter segfaults
On Tue, Nov 2, 2010 at 3:36 PM, Salomon Brys <salomon.brys at gmail.com> wrote: > In my case, I am working on a posix regular expression library that uses > LLVM to execute a regular expression. > Each regular expression is a very small sets of code and is faster to > interpret than to JIT then execute. > I wanted to JIT only when the regular expression is executed more than 20 > times. > The benchmarks...
2008 Oct 15
4
Small regular expression question
I''m looking to write a regular expression that will match valid URLs. My problem is that it almost works, except it accepts URLs with / in the middle of them, suchs as: http://www.ruby/rails.com It looks (to me) like my regular expression should not match strings like that, but it does. Here is the regular expression: .match(...
2008 May 13
3
Regular Expressions
Hi R, Again struck with regular expressions... Suppose, S=c("World_is_beautiful", "one_two_three_four","My_book") I need to extract the last but one element of the strings. So, my output should look like: Ans=c("is","three","My") gsub() can do this...but...
2006 May 06
2
regular expression change in R version 2.3.0?
The interpretation of regular expressions with repetition quantifiers in the 'gregexpr' function seems to have changed between R Version 2.2.0 and 2.3.0. The 'gsub' function, however, gives the same results in R Versions 2.2.0 and 2.3.0. Below is an example that demonstrates the version differences of the ...
2012 Mar 02
2
Why do my regular expressions require a double escape \\ to get a literal??
Hi, I was recently misfortunate enough to have to use regular expressions to sort out some data in R. I'm working on a data file which contains taxonomical data of bacteria in hierarchical order. A sample of this file can be generated using: tax.data <- read.table(header=F, con <- textConnection(' G9SS7BA01D15EC Bacteria(100) Cyanobacteri...
2011 Mar 19
3
[O/T] reference for regular expressions
Dear R People: Could someone recommend a good reference on regular expressions, please? Thanks in advance, Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
2008 Jul 08
4
Manipulate Data (with regular expressions)
...221 0 221 1 221 1 y has to carry the information about the class (number or string) of the former x-Variable. I could do it by hand like x[x == "220a"] <- 220 y[x == "220a"] <- 1 but x has way to many expressions. So I wondered if I could use a regular expression like OR ANY OTHER WAY x[x == [0-9]{3}a] <- regular expression y[x == [0-9]{3}] <- 1 Thanks a lot [[alternative HTML version deleted]]
2010 Nov 02
0
[LLVMdev] Forcing the Interpreter segfaults
In my case, I am working on a posix regular expression library that uses LLVM to execute a regular expression. Each regular expression is a very small sets of code and is faster to interpret than to JIT then execute. I wanted to JIT only when the regular expression is executed more than 20 times. The benchmarks I have run show that my librar...
2004 Jul 12
5
Regular Expressions
Hi, Is there a way to use regular expressions to capture two or more words in a sentence? For example, I wish to to find all the lines that have the words "thomas", "perl", and "program", such as "thomas uses a program called perl", or "perl is a program that thomas uses", etc....
2008 Apr 17
1
Moving from Splus to R: irregular and regular time series
Dear R developpers, I am a user of Splus since many years and I have developped lots of functions to plot graph of data and model results of irregular or regular times series. In Splus regular times series are created using the rts function and irregular time series using the its functions. In both cases, times is given as a numeric vector. There is no problem in plotting a regular and an irregular time series on the same graphs using the t...
2012 Oct 14
4
listing the files in a directory using regular expressions
Hi Experts, This might be silly question that I am asking, but no way as I am new to R. I want to list the files in a directory using regular expression like A_B*_C*.csv etc. How to make this possible in R ? I tried like this list.files(dir=".", pattern="A_B*_C*.csv") but this gives no output, whereas list.files(.... pattern="*.csv") giving all the .csv files in the output, which I do not want. Thanks Sidd...
2012 Nov 29
2
Data Cleaning -New user coming from SAS
...nce ,,,,,,,,,,,,,,,,Page #: 11 ,,Date,Action,Amount,Disbursed,Capitalized,Interest,Fees,Insurance,Principal,Interest,Fees,Insurance,Writeoff,Recovery,Balance ,,Loan #:,ML-123-07,Account Name:, Quilting Shop,,,,,,,,,,, ,,11/30/2009,Interest,2.36,0,0,2.36,0,0,0,0,0,0,0,0,1767.76 ,,12/24/2009,Payment: Regular,161,0,0,11.33,0,0,147.31,13.69,0,0,0,0,1620.45 ,,12/31/2009,Interest,3.03,0,0,3.03,0,0,0,0,0,0,0,0,1620.45 ,,01/26/2010,Fee: Late,10,0,0,0,10,0,0,0,0,0,0,0,1620.45 ,,01/31/2010,Interest,13.42,0,0,13.42,0,0,0,0,0,0,0,0,1620.45 ,,02/09/2010,Payment: Regular,180,0,0,3.9,0,0,149.65,20.35,10,0,0,0,1470....