similar to: rbind for matrices - rep argument

Displaying 20 results from an estimated 3000 matches similar to: "rbind for matrices - rep argument"

2009 Jan 13
5
If...while...or what else??
Dear R users,I come to you with a quite silly question I think, but I hope you can answer me... That is, I've got some problems in using the if and while conditions in a loop. Substantially, I want to select rows in a dataset depending on an index variable (suppose it ranges from 1 to 5), so to make a specific analysis (homemade of course) on thie new dataset. Mi first tought has been to do a
2007 Nov 26
3
Fwd: Empty list to use in a for cycle
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071126/35b0349a/attachment.pl
2007 Aug 06
1
Create vectors form matrices
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070806/342a57c8/attachment.pl
2008 Jan 10
1
Fwd: multinomial regression for clustered data
Hello dear R-users, does any of you know a way to perform a multinomial regression with clustered data (i.e. repeated measurements)? I made the first analysis with Stata option vce cluster in the mlogit command but was looking for a similar functionality in R too... thanks all! niccolò [[alternative HTML version deleted]]
2012 Sep 13
5
random sampling inside a dataset
Hi all, I am wondering if do exist a function in R that allow me to sample or choose randomly the rows (i.e., samples) inside a given matrix. Thank you very much in advance. Cheers, -- Gian [[alternative HTML version deleted]]
2007 Jan 18
1
Problems replicating rows and associated increasing index
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070118/911a5d2a/attachment.pl
2011 Oct 10
3
Superposing mean line to xyplot
Dear R-users, I'm using lattice package and function xyplot for the first time so you will excuse me for my inexperience. I'm facing quite a simple problem but I'm having troubles on how to solve it, I've read tons of old mails in the archives and looked at some slides from?Deepayan Sarkar but still can not get the point. This is the context. I've got data on 9 microRNAs, each
2007 Oct 23
1
create diagonal matrix within a for cycle
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071023/b860b22b/attachment.pl
2010 Nov 19
1
profile in lme4 and lme4a/lme4b
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101119/262372bf/attachment.pl>
2007 May 15
1
Re : Bootstrap sampling for repeated measures
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/20070515/799f44ed/attachment.pl
2007 Oct 09
3
identify number of sequences from a vector
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071009/365764b4/attachment.pl
2013 Dec 06
2
Using assign with mapply
I have a data frame whose first colum contains the names of the variables and whose second colum contains the values to assign to them: : kkk <- data.frame(vars=c("var1", "var2", "var3"), vals=c(10, 20, 30), stringsAsFactors=F) If I do : assign(kkk$vars[1], kkk$vals[1]) it works : var1 [1] 10 However, if I try with mapply
2009 Nov 13
6
replace a whole word with sub()
Dear all, I cannot figure out how to solve a small problem (well, not for me), surely somebody can help me in few seconds. I have a series of strings in a vector X of the type "xxx", "yyy", "zzz", "IgA", "IgG", "kkk", "IgM", "aaa". I want to substitute every ENTIRE string beginning with "Ig" with
2011 Jul 21
1
nested loop for
Hi everyone, I have been working some days in a nested loop in R but I can't find the solution. I have a data.frame with an unique ID for individuals and unique ID for different stands, for each indiviadual I have a dbh record and a SBA (stand basal area) field. Pma<-rep (1:40) P<-seq(1,4, 1) Plot<-rep(P,10) dbh2<-rnorm(40, mean=200, sd=5) SBA2<-rnorm(40, mean=10, sd=1) As
2007 Feb 23
4
using "integrate" in a function definition
Dear list members, I'm quite new to R, and though I tried to find the answer to my probably very basic question through the available resources (website, mailing list archives, docs, google), I've not found it. If I try to use the "integrate" function from within my own functions, my functions seem to misbehave in some contexts. The following example is a bit silly, but
2012 Oct 01
9
How to remove the call waiting tone without disabling callwaiting?
Hi, The call waiting tone is very annoying (you hear nothing while it plays the beep). I need callwaiting because of the queues (the phone has to ring as soon as you hangup) but I want to remove the beep on my dahdi channels, how can I do? Thanks, Niccol? -- http://www.linuxsystems.it
2009 Jun 23
2
Long to wide format without time variable
Hi all, I am trying to convert a data set of physician death codings (each individual's cause of death is coded by multiple physicians) from long to wide format, but the "reshape" function doesn't seem to work because it requires a "time" variable to identify the sequence among the repeated observations within individuals. My data set has no order, and different
2012 Oct 09
2
Asterisk sends wrong fxs 'Idle' hints
Hi, I have a problem with asterisk 10.8, hints and fxs dahdi phones: if a remote peer and an fxs phone gets connected and the remote peer hangsup, then asterisk sends the "Idle" state to notify the watcher before you hangup the fxs phone! Such a way if the user forgets to hangup the fxs phone (which is a cordless for example) then the operators will keep sending calls to him
2013 Sep 09
2
Sending SMS with a Portech MV-374 GSM Gateway
Hi, I have a Portech MV-374 GSM Gateway and I'd like to send SMS from a web page to confirm the subscriptions. How can I achieve it? Is Asterisk of any use to send SMS with the Portech? I really have no idea because I know nothing about the whole SMS thing... Thanks, Niccol? -- http://www.linuxsystems.it
2011 Apr 27
2
Fwd: Re: xen-qemu-dm does not build with backported xen-4.1
Il 27/04/2011 14:37, Ian Campbell ha scritto: > Which specific revision of qemu-xen-4.1 are you using? I'm using a tarball from http://bits.xensource.com/oss-xen/release/4.1.0/xen-4.1.0.tar.gz It seems Thomas used the tools/ioemu-qemu-xen subdirectory as source for xen-qemu-dm. At a first glance I didn't notice debian/mypatches/add-rules.patch: it adds Rules.mk from the tools