Displaying 20 results from an estimated 300 matches similar to: "Using "rep", but don't know what to put after each ="
2009 Feb 13
0
Making plot with "sub"-X values
Hello
I have a big dataset where i have pulled out some periods of time acording
to a herd-number (see below):
CHR_NR DATO_TEST SALMO_INDEX didiffdatoperiode
11377 2003-06-20 7.9 29
11377 2003-09-01 4.3 59
11377 2004-02-24 5.1 78
where the variable 'diffdatoperiode' is the period in days and
2009 Feb 26
1
Incorporating cumsum in for loop
Hello
Hello i have this DF:
> c
CHR_NR
diffdato1 x
1022 10395 1994-05-30 11.0 39 0 1994 1 1
0 0 24 1 1 24
29100 11377 2003-05-22 17.0 24 0 2003 1 1
0 0 15 1
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 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
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
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
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
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
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) "."
2003 Jun 02
1
AW: AW: AW: AW: Re: AW: samba installatio
hi ke,
****************************************************
Since you've compiled with default options, your smb.conf is located in
/usr/local/lib/smb.conf . You should copy your working smb.conf for version
2.2.7 (/etc/samba/smb.conf) to /usr/local/lib.
You should run ./testparm as well.
***********************************
That's just what i did and the Result is the same!
Is there a
2006 Sep 25
2
Splitting a character variable into a numeric one and a character one?
Hi All,
I have a data with a variable like this:
Column 1
"123abc"
"12cd34"
"1e23"
...
Now I want to do an operation that can split it into two variables:
Column 1 Column 2 Column 3
"123abc" 123 "abc"
"12cd34" 12 "cd34"
"1e23" 1
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
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?
2013 Feb 10
3
top 10 (n values) for each classes
Dear R users,
I have a problem. I don't know how to select the top 10 (n) values for each
classes.
Thank you!
My data is like this:
row.names proc cls 7271 568,03338 0,5 7270 554,68458 0,5 7269 510,20638
0,5 7268 485,59969 0,5 7267 421,92852 0,5 7272 410,12101 0,5 3414
409,71429 0,5 3452 402,78699 0,5 3451 401,28114 0,5 3450 361,80607 0,5
3413 360,29883 0,5 3449 352,90043 0,5 3453
2006 Oct 17
1
Please help me!!
Hi to all,
I've a segmentation fault while using asterisk relatime conf with mysql db.
I've cretate sip_buddies and extensions tables into db and edit
res_mysql.conf, extconf.conf without any issues.
So when I start asterisk and my phone try to register using sip user
configured in my db, asterisk stops with Segmentation fault error.
Follow post gdb backtrace
0 0x400337c0 in
2003 Jun 02
0
AW: AW: AW: Re: AW: samba installatio
Since you've compiled with default options, your smb.conf is located in
/usr/local/lib/smb.conf . You should copy your working smb.conf for version 2.2.7 (/etc/samba/smb.conf) to /usr/local/lib.
You should run ./testparm as well.
------------------------
"A.A" <1alp@gmx.de> wrote:
------------------------
there is some new Error:connections.tdb not initialized.
>
>
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))
>
2013 May 11
1
prediction in a loop with only one sample
Dear all,
I have a sample with 920 observations. I want to create a loop which takes
300 of these observations for the prediction and the rest to estimate the
model.
My idea was to create something like this:
cs.training.dat <- read.table...
cs.training.dat_sub1 <- subset(cs.training.dat, Income>10)
cs.training.dat_sub2 <- subset(cs.training.dat_sub1, Dept.Ratio<=1)
2007 Sep 07
2
R first.id last.id function error
Hi R users,
I have a test dataframe ("file1," shown below) for which I am trying
to create a flag for the first and last ID record (equivalent to SAS
first.id and last.id variables.
Dump of file1:
> file1
id rx week dv1
1 1 1 1 1
2 1 1 2 1
3 1 1 3 2
4 2 1 1 3
5 2 1 2 4
6 2 1 3 1
7 3 1 1 2
8 3 1 2 3
9 3 1 3