similar to: Take each one cell

Displaying 20 results from an estimated 100000 matches similar to: "Take each one cell"

2005 Apr 19
1
How to make combination data
Dear R-user, I have a data like this below, age <- c("young","mid","old") married <- c("no","yes") income <- c("low","high","medium") gender <- c("female","male") I want to make some of combination data like these, age.income.dat <- expand.grid(age,
2005 Oct 13
3
How to generate for one vector matrix
Is there any routine to generate for one vector matrix. If I have X I want to generate start from zero to maximum value each vector. For example, I have a vector x = (4,2,3,1,4) I want to generate n=6 times, for 4, start 0 to 4, then 2 start 0 to 2, ect. The result something like this: generate(x,n=6) 1,1,2,1,4 1,2,3,0,3 4,0,1,1,1 3,1,0,1,4 0,0,3,0,0 4,1,3,0,4 Could anyone help me. Thanks.
2005 Mar 29
1
Mosaicplot with different colors
This dataset below is one sample answer the questioner from our customer. > testbank <- read.table("testbank.txt", header=T) > testbank age married income gender ownhouse class 1 20-30 no high female yes 1st 2 30-40 no high female yes 1st 3 40-50 no low female yes 1st 4 50-60 no high female yes 1st 5 60-70
2005 Mar 23
1
more classes to one class in one dataset
I have a big database which more classes in class variable. I want to make each class to one dataset, for example: x1 x2 x3 x4 class a b a c c M1 c b b c c M4 c c a c c M2 c a c a a M2 c c a a a M1 c a b c a M3 c c a b c M3 c a c a b M2 c c a b a M1 How can I make, like: x1 x2 x3 x4 class a b a c c M1 c c a a a M1 c
2005 Oct 21
3
make three plot to one plot
Dear all, I want to make three plot below to only one plot together with legend, how can I do that? I have tried with matplot function but I did not succeed. Thanks for your help. Sincerelly, Jan Sabee test.five.x <- c(0.02,0.05,0.07,0.09,0.10,0.12,0.13,0.14,0.16,0.17,0.20,0.21,0.34,0.40) test.five.y <- c(18,12,17,12,3,15,1,5,1,1,3,10,15,10) plot(test.five.x, test.five.y,
2015 Apr 29
2
Formula evaluation, environments and attached packages
Hi! Some time ago, I replaced calls to library() with calls to requireNamespace() in my package logmult, in order to follow the new CRAN policies. But I just noticed it broke jackknife/bootstrap using several workers via package parallel. The reason is that I'm running model replicates on the workers, and the formula includes non-standard terms like Mult() which are provided by gnm. If gnm
2011 Feb 02
1
drawing from one cell to another using layout() - possible?
Is it possible to cross the cell boundaries set by layout using base graphics? I.e. I want to draw e.g. a line from one layout cell to another. Is there a way to do that? layout(matrix(c(1,2), byrow=TRUE, ncol=2)) plot.new() text(0,0,paste(rep("a", 200), collapse=""), xpd=T) layout.show(2) I would like the a's to not end at the layout borders of the left cell. Thanks in
2004 May 25
1
how to borrow bandwith
Hi,All I am using iproute2 to manage bandwith for ADSL router.High,medium,low priority are needed for different protocol port on the ADSL's upstream side,as following: LAN --- |ADSL Router|------WAN When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script: /usr/sbin/tc qdisc del dev nas0 root
2011 Apr 19
3
zero fill empty cell in data.frame
Hello List, I have a data frame like: V130 V131 V132 V133 V134 V135 V136 1 0 0 0.9 0 0.9 0 0 2 0 0 0 0 0 0.8 3 0 0 0 0 0.9 0 0 4 0.9 0 0 0 0 0 0.9 5 0 0 0 6 0 0 0 0.9 0 0 0.9 7 0 0 0.8 0 0 0 0 8 0.9 0 0 0.9 0.8 0 9 0 0 0 0.9 0.9 0 0 10 0 0 0 0 0 0 0.9
2011 Jun 10
1
change value in one cell
Hello all, I am wondering if there is a way to change the value of one cell in R. For instance let's say I have a hypothetical data frame that looks like this: Obs X Y Z 1 1 0 1 2 0 0 1 3 1 1 1 4 0 1 1 5 1 1 0 6 0 0 0 I would like to change the value of the 4th observation in the Y column from 1 to 0. It should look like this: Obs X Y Z 1 1 0 1 2 0 0 1 3 1 1 1 4
2012 Mar 09
2
dreaded one-way audio with nat=yes
I'm trying to move the asterisk server to an Amazon Web instance. We have teliax for our sip provider. I'd like for our DID lines to be connected to a users cell phone. Seems simple enough, but I'm getting the dreaded one-way audio, even with nat=yes everyplace I can think of. The dialplan is real easy: [from-teliax-sip] exten => _j.,1,NoOp("From teliax sip with exten
2020 Feb 13
1
Linux SMB Server: Put Multiple Devices into One Share?
Hello Jeremy, I think you missed a "/" in: mount --bind /share1/DVR /medium/DVR mount --bind /share1/Audio /medium/Audio mount --bind /share2/Video /medium/Video mount --bind /share2/Backups /medium/Backups BR, Matt On Thu, Feb 13, 2020 at 5:15 PM Jeremy Allison via samba < samba at lists.samba.org> wrote: > On Thu, Feb 13, 2020 at 04:45:16PM -0500, Hal Vaughan via samba
2017 Jun 25
1
Fill in empty cell in data.frame from previous value
Excellent Boris, thx ? this helps From: Boris Steipe Sent: June 25, 2017 11:23 AM To: Christophe Elek Cc: r-help at r-project.org Subject: Re: [R] Fill in empty cell in data.frame from previous value Run it through a loop. I assume the cell contents is NA (Not Available). Test for it with is.na(). Whenever that returns TRUE, replace the NA value with the value from the previous row. Cheers, B.
2009 Dec 17
2
Which hist cell each value falls in?
Hi, all. I'm using hist() to obtain a vector of break values in an interval. I then want to be able to identify which cell any value from another vector falls in. E.g. applying > breaks [1] -3.5 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 to > x [1] -3.74519666 -0.38183630 -1.22884247 -0.20971824 -0.30533939 -0.36271207 [7] -2.27513499 -2.23688653 -1.98827155 -1.48666274
2020 Feb 13
2
Linux SMB Server: Put Multiple Devices into One Share?
I haven?t used Samba for over a decade and, from what I remember, I don?t think this is possible. Whenever I search for "two mount points" or "multiple mount points," I get hits for "multiple users," but not for mount points. I have the following directories I want to share through Samba: /share1/DVR /share1/Audio /share2/Video /share2/Backups /share1 is on
2005 Sep 19
9
more fixes for Grid classes
I am still hunting the bug where the cell editor finishes and crashes on Mac OS. In the process I have gone over these Grid related classes in great detail and found most were %importing wxObject.h and wxEvtHandler.h and they were not needed. I added a *.i file for ClientDataContainer not sure if it is needed out side Grid. I also added GridCellCoords. Sean
2005 Dec 20
1
Help to find only one class and differennt class
Dear R users, I have a problem, which I can not find a solution. Probably someone could help me? I have a result from my classification, like this > credit.toy [[1]] age married ownhouse income gender class 1 20-30 no no low male good 2 40-50 no yes medium female good [[2]] age married ownhouse income gender class 1 20-30 yes yes high male
2012 Oct 17
0
[LLVMdev] [cfe-dev] Announcement: Phabricator for code reviews
You might want to mention other functionality, like Herald, which I think fills a need that a lot of developers have. Well, I guess since this message is on the list, I can just say: Phabricator's "Herald" tool lets you (among other things) set up actions to happen in response to certain events; one huge use case for this is setting up alerts when parts of the tree that you are
2009 Aug 17
1
how to pass more than one argument to the function called by lapply?
Dear R helpers: I wonder how to pass more than one argument to the function called by lapply. For example, #R code below --------------------------- indf <- data.frame(id=I(c('a','b')),y=c(1,10)) #I want to add an addition argument cutoff into the function called by lapply. outside.fun <- function(indf, cutoff) { unlist(lapply(split(indf, indf[,'id']),
2012 Oct 17
9
[LLVMdev] Announcement: Phabricator for code reviews
Dear LLVM / Clang community, we'd like to open the use of Phabricator as an optional tool for doing code reviews to a wider audience. Please feel free to start your code reviews by following the documentation at http://llvm.org/docs/Phabricator.html. Note that e-mail is still the reference medium for code reviews. Please let me know about any problems with Phabricator or the documentation