similar to: Res: Create a new var reflecting the order of subjects in existing var

Displaying 20 results from an estimated 120 matches similar to: "Res: Create a new var reflecting the order of subjects in existing var"

2007 Apr 02
3
Create a new var reflecting the order of subjects in existing var
Dear R helpers I have a data set sth like this: set.seed(123);dat <- data.frame(ID= c(rep(1,2),rep(2,3), rep(3,3), rep(4,4), rep(5,5)), var1 =rnorm(17, 35,2), var2=runif(17,0,1)) dat ID var1 var2 1 1 33.87905 0.02461368 2 1 34.53965 0.47779597 3 2 38.11742 0.75845954 4 2 35.14102 0.21640794 5 2 35.25858 0.31818101 6 3 38.43013
2007 Apr 03
1
Behavior of seq_along (was: Create a new var reflecting the order of subjects in existing var)
I am moving this from r-help to r-devel. Based on offline communications with Jim, suppose dat is defined as follows: set.seed(123) dat <- data.frame(ID= c(rep(1,2),rep(2,3), rep(3,3), rep(4,4), rep(5,5)), var1 =rnorm(17, 35,2), var2=runif(17,0,1)) # Then this ave call works as expected: ave(dat$ID, dat$ID, FUN = function(x) seq_along(x)) # but this apparently identical calculation
2006 Aug 16
3
Reflecting on associations
Is there an easy way to programatically work out the associations on a model? If not, is there a positive reason it was omitted, or is it just something that hasn''t been implemented yet? Thanks Gareth
2007 Oct 24
2
random walk w/ reflecting boundary: avoid control construct?
Dear expeRts, recently I asked for a nice way to re-program a problem without using control constructs such as "for" or "sapply(1:length(x), ...". Is there a way to program a random walk with a reflecting boundary without resorting to such constructs? A working solution is ranwalk <- function(length, bound) { k <- cumsum(sample(c(-1, 1), length, replace=TRUE))
2019 Aug 07
0
Re: Reg: content of disk is not reflecting in host.
On Wed, Aug 07, 2019 at 09:57:02PM +0530, bharath paulraj wrote: > Hi Team, > > I am doing a small testing and I don't know if my expectation is correct or > not. Pardon me if I am ignorant. > I created a VM and the VM is running. In the hypervisor I have created > ".img" file and attached this .img file to the VM. > My expectation is that, if VM is writing
2009 Mar 31
1
3d cloud plot with point size reflecting variable value
Hello all, I'm using the cloud function to plot the iris data as per the document: http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf I'd like to change the point size to reflect a fourth variable, as done here http://www.cis.hut.fi/projects/somtoolbox/download/pics2/shotvs2_origdata.png Does anybody know how to do this? There doesn't seem to be an option in
2008 Jul 26
1
Dropdown selected value not reflecting in edit view
hi I am facing the following issue: I have the following dropdown, in the new view select_tag "experience[]", options_for_select([[less_than_1_year, [0,1]],[between_1_and_3_years, [1,3]],[between_3_and_5_years, [3,5]],[between_5_and_7_years,[5,7]], [between_7_and_10_years,[7,10]], [above_10_years,[10,50]]]) The selected value of the user is not getting reflected in the Edit view of
2023 Mar 14
1
Changes in qcow2 not reflecting/visible
1. What are you trying to do? I'm trying to mount qcow2 using guestfish -remote, modify the qcow2 and reuse the modified qcow2. 1. What exact command(s) did you run? I have attached code.txt 1. What was the precise error or output of these commands? While remounting the qcow2 I'm not able to see the modifications I have made to the qcow2 during initial mounting. May I know
2007 Oct 24
0
random walk w/ reflecting boundary: avoid control construct? [SEC=UNCLASSIFIED]
Hi Johannes, I came up with the following (assuming that if step[i] is independent of step[i-1] then it is also independent of -step[i-1]): Cheers Joe > # your (unbounded) random walk > k <- cumsum(c(0,sample(c(-1,1), 1000, rep = T))) > > #shift it to positive, to allow following calculations k <- k - min(k) > # set your bound (remember min(k) is now zero) wid <- 10
2004 Dec 23
2
Reflecting internal connections to public IP back into network?
I''ve got a Shorewall firewall setup that''s similar to the standard 3 interface configuration (net,loc,dmz). Several ports are forwarded from the internet to computers in the dmz. I''d like to have any connections to that same public IP address from either loc or dmz to be treated exactly as if they were coming in from the internet itself. There''s some
2007 Jul 04
0
[1105] trunk/wxruby2/doc/textile/button.txtl: 2.8 documentation update reflecting where set_default_item now lies
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2019 Aug 07
2
Reg: content of disk is not reflecting in host.
Hi Team, I am doing a small testing and I don't know if my expectation is correct or not. Pardon me if I am ignorant. I created a VM and the VM is running. In the hypervisor I have created ".img" file and attached this .img file to the VM. My expectation is that, if VM is writing files to the attached disk, then it should reflect in the .img file created in the hypervisor. But It is
2019 Sep 28
0
[PATCH nbdkit 2/2] reflection: Add mode for reflecting server time.
Either wallclock time, uptime or time since client connection can be reflected back to the client in a big endian binary structure. $ nbdkit reflection time --run 'nbdsh --connect $uri -c "sys.stdout.buffer.write(h.pread(12,0))" | hexdump -C' 00000000 00 00 00 00 5d 8f 24 c7 00 04 24 01 \ | / / $ date --date="@$(( 0x5d8f24c7 ))" Sat
2006 Jun 18
2
Add subjects to my user subject. Linking two tables
I generated a user table using Acts_as_authenticated and a subject table, and I create a join table for them to build up the "has_and_belongs_to_many" relationship between them. This is what I want to have: After a user logins into the system, he can see a list of subjects and add a subject to his list ''user.subject'' simply by clicking a button besides the subject.
2006 Jan 05
1
Photo Tracking: Releases, Subjects, Versions, Metadata, etc
Hey all, I''m brainstorming my next app and want to make sure I''m not doing work that someone has already done (probably better than me!). I''m a high school teacher and the school''s web/print designer. I need an organized way to track my media. 99% of the time that is going to mean photos, but we also shoot the occasional video or take audio recording.
2011 Jan 19
0
predict.lme() gives missings for new subjects
Hi, why does predict.lme() give missings in the "predict.Subject" column for Subjects which are not in the original training set? library(nlme) example(predict.lme) ## c.f. Subject=="F30" has missing values. How can I predict/impute values for such "new" Subjects based on the fitted model? Thanks in advance, Will
2007 Oct 16
3
sieve filtering, rewriting subjects
Is it possible to modify an emails subject line in a sieve script? I've seen references to 'addtag' whilst googling, but it appears dovecots implementation doens't support it - are there any other methods? As a side note, can anyone suggest a web based script editor that works? Simply a text area to write the script in would do Thanks, -- Ian P. Christian ~ pookey.co.uk
2010 Jul 07
1
Logging subjects of messages
Dear Sirs, I want to know if there is any possibility to log the subjects of the messages downloaded from ther server. We use dovecot 1.0.15 with POP3S and IMAP and we want to keep a trace of the reading of messages by the users of our mail server (who, when and what are the subjects of the? e-mail messages read) because some users complain that they did not read some messages but in the logs of
2002 Jul 26
1
Subjects on a mailing list.
Hi Warren and all. Nothing personal, just to make helping everyone easier, I'm using you as an example. The subject: "Help please" doesn't mean much on a "Help please" type of mailing list. Put a good subject on your mail, try even looking at the archives for a similar problem and use the same subject. I found this helped to get more response to my questions. You
2010 Jun 22
0
aov - subjects nested within groups & crossed with questions
Hello, I was going to use lmer() on this data, but it seemed easier -- and more importantly, more meaningful -- to just analyze smaller sections of it individually. I'd like to ask for help to see if I'm analyzing the separate parts correctly. Each part is the same, and they all look like this: ______________________________________________________________ question 1 question 2