Displaying 20 results from an estimated 9000 matches similar to: "ODD and EVEN numbers"
2007 May 11
1
Cannot use an escape character in regexp
Given the string
> mystr <- "(Preconsuntivo del giorno gas 10 maggio
2007)Tj"
I'm trying to detect and eliminate the string ")Tj" at the
very end of mystr by means of
gsub(rx2,"",mystr) BUT preparing the
matching regexp string a warning pops up
> rx2 <- "\)Tj$"
Warning
messages:
1: '\)' is an unrecognized escape in a
2012 May 15
9
help
1. Emma is performing an experiment that requires individual handling of some animals. The sizes of the animals are lognormally distributed: The natural logarithms of their sizes has a normal distribution with mean 3 and standard deviation 0.4. The time (in minutes) it takes to handle each animal is given by
10 + s · 1.5 + eε for animals with s ≤ 20 20 + s · 0.8 + eε for animals with s > 20
2010 Oct 14
1
rbind ing matrices and resetting column numbers
Sorry for the verbose example. I want to row bind two matrices, and all works except I want the column labelled "row" to be sequential in the new matrix, shown as "mat3" here, i.e. needs to be 1:6 and not 1:3 repeated twice. Any suggestions?
Thanks
J
> colnm1 <- c("row","ti","counti")
> colnm2 <-
2012 Mar 16
3
Cosinor
Hola, ¿qué tal?:
Tengo la siguiente duda:
Para el caso del Cosinor Simple:
Y = M + A * cos(2*pi*t/T + phi) + error
Cuando T conocido, podemos asumir:
Y = M + beta * X1 + gamma * X2 + error,
siendo X1 = cos(2*pi*t/T) y X2 = sin(2*pi*t/T)
En este caso (Cosinor simple) el modelado lo llevo a cabo del siguiente modo:
lm( y ~ X1 + X2)
Para el caso de componentes múltiples:
Y = M + ?Aj *
2010 Jan 07
6
[Bug 1693] New: ssh prompts for passphrase even when identity file is unreadable
https://bugzilla.mindrot.org/show_bug.cgi?id=1693
Summary: ssh prompts for passphrase even when identity file is
unreadable
Product: Portable OpenSSH
Version: 5.3p1
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs
2012 May 15
2
R
To all moderators i guess, my question was probably not clear this is not a homework, i am trying to understand R by doing some exercise in my book.
I will however participate a course in R in august and thought it could be good to have some
knowledge before. I hoped for help from you since i have no instructor to ask, that would have been
my first choice.
thanks anyway
Lotta
2018 Dec 12
2
doveadm proxy list repeats header line
Hi all,
just a minor thing: Why does `doveadm proxy list` repeat the header line
after each entry? Too me, that just makes the output harder to read.
So instead of this:
root at mail1 ~ # doveadm proxy list
username proto src ip dest ip port
info at domain1.de imap 80.152.196.98 222.133.127.53 993
username service src-ip dest-ip
2010 Mar 23
3
If else statements
Hi everyone!
May I request again for your help?
I need to make some codes using if else statements...
Can I do an "if-else statement" inside an "if-else statement"? Is this the
correct form of writing it?
Thank you.=)
Example:
for (v in 1:6) {
for (i in 2:200) {
if (v==1)
(if max(x*v-y*v)>1 break())
if (v==2)
(if max(x*v-y*v)>1.8 break())
if (v==3)
(if
2017 Jul 19
2
spaghetti plot - urgent
Hi everyone,
I?m trying to do a spaghetti plot and I know I?m doing all wrong, It must be.
What I need:
15 subjects, each with measurements over 5 different times (t1, ..., t5), and the variable that I need to represent in the spaguetti plot is given by:
PCR = b0 + b1 * ti + epsilon
B0, - baseline of each subject
B1 - trajectory of each subject over time (so multiply by t)
Epsilon - error
2010 Mar 23
2
Create NA
Hi,
How can I create an NA?
for example, i have this program but it has errors
> x=scan()
1: 1 2 3 4 5
6:
Read 5 items
> "na"*x
Error in "na" * x : non-numeric argument to binary operator
what should I multiply x so that I will get an NA? And I really need to
multiply that with my x vector.
I need this output: (na,na,na,na,na)
Thank you for your time and help!=)
--
2009 Mar 30
3
[PATCH 0/3] v2: mbr: Ctrl-key press forces load from first hard disk
Version 2 of these patches includes optimisations suggested by H Peter
Alvin to save bytes:
* Use memory-mapped I/O register to read keyboard shift flags
* Don't reload DX from memory; move immediate byte to register
Tested using mbr.bin.
TJ (3):
mbr: Ctrl-key press forces load from first hard disk
gptmbr: Ctrl-key press forces load from first hard disk
isohdpfx: Ctrl-key press
2006 Jun 28
2
(no subject)
Hey everybody,
Is it alright to run two TDM400s on the same machine? If it is, how would
one differentiate between the channels on each card? So, if I'm running
strait FXS and my first card is fxsks 1-4, would the second be fxsks 5-8?
Would there be any interrupt problems?
Any help would be great!
Thanks!
Tj
-------------- next part --------------
An HTML attachment was
2010 Mar 23
3
Summing with NA
Hi all,
May I request for your help if you have time and if you have an idea on how
to do this. I want to add three vectors... And my goal is to obtain the sum
of the vectors, ignoring the vector of "na"...
Here is what i did in R.. I'm adding the three vectors, e,z,k, and my
objective is to get an answer = -23.
I tried putting the na.omit but it did not work. Thanks.
> z
[1]
2017 Jul 19
0
spaghetti plot - urgent
Hi Rosa,
You pass a vector to ggplot, which expects a data.frame. I am sure you
meant to do this:
point7$y_point7 <- point7$beta0_7 + point7$beta1_7*point7$time + point7
$epsilon_7
ggplot(point7, aes(time, y_point7)) + geom_line()
HTH
Ulrik
On Wed, 19 Jul 2017 at 20:37 Rosa Oliveira <rosita21 at gmail.com> wrote:
> Hi everyone,
>
> I?m trying to do a spaghetti plot and I
2012 Oct 19
1
FW: [PATCH] workqueue: cancel_delayed_work() should return %NULL if work item is idle
FYI, it is likely that ocfs2 will not work on 3.7-rcN until
the following one-line patch is merged, as the code in ramster
that provoked it is directly leveraged from ocfs2 o2net.
> From: Tejun Heo [mailto:tj at kernel.org]
> Sent: Thursday, October 18, 2012 5:39 PM
> To: Dan Magenheimer
> Cc: linux-kernel at vger.kernel.org; Konrad Wilk
> Subject: [PATCH] workqueue:
2013 Jan 24
4
Difference between R and SAS in Corcordance index in ordinal logistic regression
lrm does some binning to make the calculations faster. The exact calculation
is obtained by running
f <- lrm(...)
rcorr.cens(predict(f), DA), which results in:
C Index Dxy S.D. n missing
0.96814404 0.93628809 0.03808336 32.00000000 0.00000000
uncensored Relevant Pairs Concordant Uncertain
32.00000000
2005 Oct 27
1
compile oggencoder without gcc
hi,i'm a highschool student.
Right now i'm working on my assignment about
oggencoder in C++.
I've download the oggenc.exe from the web.
The only thing I want to ask is :
Can I compile my own oggenc.exe without gcc ?
Can I compile it on pure C++ ?
Could someone explain me step by step how to do it ?
coz I'm a beginner in C++ programming language.
Thank you
Best Regards
2009 Nov 02
1
need help in using Hessian matrix
Hi
I need to find the Hessian matrix for a complicated function from a certain
kind of data but i keep getting this error
Error in f1 - f2 : non-numeric argument to binary operator
the data is given by
U<-runif(n)
Us<-sort(U)
tau1<- 2
F1tau<- pgamma((tau1/theta1),shape,1)
N1<-sum(Us<F1tau)
X1<- Us[1:N1]
2010 Mar 20
3
How to count the number of occurence?
Hi, may I ask for your help...
What is the R code if I want to count the number of times that "2" appeared
in the following R output
> k
[1] 1 1 1 1 1 1 3 1 2 1 1 1 1 1 1 1 1 3 2 1 1 4 1 1 1 1 1 5 1 1
Thank you for your help. :-)
--
View this message in context: http://n4.nabble.com/How-to-count-the-number-of-occurence-tp1661733p1661733.html
Sent from the R help mailing list
2006 Feb 23
6
lighttpd on mac for local development
I''m having trouble installing lighttpd for local development on Mac OS X Tiger.
Here are the commands I''ve run:
sudo port install fcgi
sudo port install lighttpd
Here''s a snippet from running "port installed" with several ports
removed for brevity:
fcgi @2.4.0_1 (active)
lighttpd @1.4.9_0 (active)
rb-rubygems @0.8.11_0 (active)
readline @5.0.005_0+darwin_8