search for: subject

Displaying 20 results from an estimated 105070 matches for "subject".

2010 Nov 01
2
transforming a dataset for association analysis RESHAPE2
I get the following message when using the reshape2 package line > tDat.m<- melt(Dataset) Using Item, Subject as id variables > tDatCast<- acast(tDat.m,Subject~Item) Aggregation function missing: defaulting to length Note Problem Statement- convert dataframe Subject Item Score 1 Subject 1 Item 1 1 2 Subject 1 Item 2 0 3 Subject 1 Item 3 1 4 Subject 2 Item 1 1 5 Subject 2 Item 2...
2017 Aug 19
2
bootstrap subject resampling: resampled subject codes surface as list/vector indices
I'm implementing a custom bootstrap resampling procedure in R. This procedure resamples clusters of data points obtained by different subjects in an experiment. Since the bootstrap samples need to have the same size as the original dataset, `target.set.size`, I select speakers compute their data point contributions to make sure I have a set of the right size. set.seed(1) target.sample.size = 1742 count.lookup = rbind(l...
2017 Aug 19
0
bootstrap subject resampling: resampled subject codes surface as list/vector indices
...eley Breathed in his "Bloom County" comic strip ) On Sat, Aug 19, 2017 at 7:39 AM, Aleksander G??wka <aglowka at stanford.edu> wrote: > I'm implementing a custom bootstrap resampling procedure in R. This > procedure resamples clusters of data points obtained by different subjects > in an experiment. Since the bootstrap samples need to have the same size as > the original dataset, `target.set.size`, I select speakers compute their > data point contributions to make sure I have a set of the right size. > > set.seed(1) > target.sample.size = 1742 &gt...
2010 Jun 22
0
aov - subjects nested within groups & crossed with questions
...e 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 question 3 question 4 group 1 subject 1 # # # # subject 2 # # # # subject 3 # # # # subject 4 # # # # subject 5 # # # # subject 6 # # # # subject 7 # # # # subject 8 # # # # subject 9 # # # # subject 10 # # # # group 2 subject 11 # # # # subject 12 # # # # subject 13 # # #...
2010 Oct 30
2
transforming a dataset for association analysis
Hi I would like to transform a data frame like Subject Item Score Subject 1 Item 1 1 Subject 1 Item 2 0 Subject 1 Item 3 1 Subject 2 Item 1 1 Subject 2 Item 2 1 Subject 2 Item 3 0 .... *to * Subject Item1 Item2 Item3 .....Item N Subject1 1 0 1 Subject2 1 1 0 ........ SubjectP.. Apologize for th...
2002 Sep 21
1
Bug list summary (automatic post)
...oo. New bugs are reported either through the web interface at r-bugs.r-project.org or via email to r-bugs@r-project.org. The bug.report() function can be used to automate parts of the procedure on many systems. Followups on older bugs can be done by including the string "(PR#999)" in the Subject of an email (change 999 to the actual reference number, of course!). ================================================= Directory: Accuracy * PR# 1228 * Subject: bug with var(rep(1e30, 3)) From: Emmanuel Paradis <paradis@isem.univ-montp2.fr> Date: Wed, 26 Dec 2001 13:03:31 +0100 * PR# 1664...
2008 Mar 02
1
summarizing matrix data
Hi everyone, I'm sure this is simple, but I can't seem to figure this out. Situation. 3 different groups of subjects each submit n X n matrices of scores. What I want to do is aggregate each group of scores into a summary n X n matrix. I need the result to be a matrix so that I can calculate a dissimilarity structure on it. So I thought I would create a multi-dimensional array and store the data that way. Th...
2002 Jun 07
1
Bug list summary (automatic post)
...oo. New bugs are reported either through the web interface at r-bugs.r-project.org or via email to r-bugs@r-project.org. The bug.report() function can be used to automate parts of the procedure on many systems. Followups on older bugs can be done by including the string "(PR#999)" in the Subject of an email (change 999 to the actual reference number, of course!). ================================================= Directory: Accuracy * PR# 1228 * Subject: bug with var(rep(1e30, 3)) From: Emmanuel Paradis <paradis@isem.univ-montp2.fr> Date: Wed, 26 Dec 2001 13:03:31 +0100 Directory:...
2002 Jul 07
1
Bug list summary (automatic post)
...oo. New bugs are reported either through the web interface at r-bugs.r-project.org or via email to r-bugs@r-project.org. The bug.report() function can be used to automate parts of the procedure on many systems. Followups on older bugs can be done by including the string "(PR#999)" in the Subject of an email (change 999 to the actual reference number, of course!). ================================================= Directory: Accuracy * PR# 1228 * Subject: bug with var(rep(1e30, 3)) From: Emmanuel Paradis <paradis@isem.univ-montp2.fr> Date: Wed, 26 Dec 2001 13:03:31 +0100 * PR# 1664...
2002 Aug 21
1
Bug list summary (automatic post)
...oo. New bugs are reported either through the web interface at r-bugs.r-project.org or via email to r-bugs@r-project.org. The bug.report() function can be used to automate parts of the procedure on many systems. Followups on older bugs can be done by including the string "(PR#999)" in the Subject of an email (change 999 to the actual reference number, of course!). ================================================= Directory: Accuracy * PR# 1228 * Subject: bug with var(rep(1e30, 3)) From: Emmanuel Paradis <paradis@isem.univ-montp2.fr> Date: Wed, 26 Dec 2001 13:03:31 +0100 * PR# 1664...
1999 Apr 07
2
Bug list summary (automatic post)
...oo. New bugs are reported either through the web interface at r-bugs.biostat.ku.dk or via email to r-bugs@biostat.ku.dk. The bug.report() function can be used to automate parts of the procedure on many systems. Followups on older bugs can be done by including the string "(PR#999)" in the Subject of an email (change 999 to the actual reference number, of course!). ================================================= Directory: Accuracy * PR# 138 * Subject: Re: [R] bug? and New bug. From: Martin Maechler <maechler@stat.math.ethz.ch> Date: Wed, 10 Mar 1999 17:21:16 +0100 Directory: Ad...
2007 Feb 15
2
How to speed up or avoid the for-loops in this example?
...ctors and those parts all run very quickly indeed. I spent quite a while doing searches on r-help and re-reading the various manuals, but couldn't find any existing relevant advice. I am sure the solution is obvious, but it escapes me. Tim C # create an example data frame, multiple events per subject year <- c(1980,1982,1996,1985,1987,1990,1991,1992,1999,1972,1983) event.of.interest <- c(F,T,T,F,F,F,T,F,T,T,F) subject <- c(1,1,1,2,2,3,3,3,3,4,4) df <- data.frame(cbind(subject,year,event.of.interest)) # add a per-subject sequence number df$subject.seq <- 1 for (i in 2:nrow(df))...
2009 Jun 01
3
Within Subject ANOVA question
Dear R users, I have copied for following table from an article on "Using confidence intervals in within-subject designs": Subject 1sec 2sec 5sec 1 10 13 13 12.00 2 6 8 8 7.33 3 11 14 14 13.00 4 22 23 25 23.33 5 16 18 20 18.00 6 15 17 17 16.33 7 1 1 4 2.00 8 12 15 17 14.67 9 9 12 12 11.00 10 8 9 12 9.67 I rearranged the data this way: >subject<-factor(c(1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1...
2012 Nov 18
3
Share partial among different resources
I am trying to render a file from Subject resource in a User resource view. I am getting error: undefined method `each'' for nil:NilClass. Apparently @subject is nil but not sure how to fix this... Here is User resourve view (users/show.html.erb) <%= render ''subjects/index'' %> Here is subjects_controll...
2009 Dec 30
3
sieve 0.1.14: vacation encodes Subject twice
Hi! I noticed the following problem in dovecot-1.2-sieve-0.1.14: The following vacation causes trouble with the Subject line: if not exists ["List-Id", "List-Post"] { vacation :days 7 :addresses ["test at netcologne.de"] :subject "=?utf-8?b?w4TDlsOc?= sadasd" "Bin gerade nicht hier."; } As you can see, the Subject is already MIME encoded according to RFC2047...
1999 Dec 07
1
Bug list summary (automatic post)
...oo. New bugs are reported either through the web interface at r-bugs.biostat.ku.dk or via email to r-bugs@biostat.ku.dk. The bug.report() function can be used to automate parts of the procedure on many systems. Followups on older bugs can be done by including the string "(PR#999)" in the Subject of an email (change 999 to the actual reference number, of course!). ================================================= Directory: Accuracy * PR# 138 * Subject: Re: [R] bug? and New bug. From: Martin Maechler <maechler@stat.math.ethz.ch> Date: Wed, 10 Mar 1999 17:21:16 +0100 --pt() for larg...
1999 Aug 21
2
Bug list summary (automatic post)
...oo. New bugs are reported either through the web interface at r-bugs.biostat.ku.dk or via email to r-bugs@biostat.ku.dk. The bug.report() function can be used to automate parts of the procedure on many systems. Followups on older bugs can be done by including the string "(PR#999)" in the Subject of an email (change 999 to the actual reference number, of course!). ================================================= Directory: Accuracy * PR# 138 * Subject: Re: [R] bug? and New bug. From: Martin Maechler <maechler@stat.math.ethz.ch> Date: Wed, 10 Mar 1999 17:21:16 +0100 --pt() for larg...
2013 Nov 25
4
lmer specification for random effects: contradictory reults
...amp;url=http%3A%2F%2Fwww.ualberta.ca%2F~baayen%2Fpublications%2FbaayenDavidsonB ates.pdf&ei=FhqTUoXuJKKV7Abds4GYBA&usg=AFQjCNFst7GT7mBX7w9lXItJTtELJSKWJg&si g2=KGA5MHxOvEGwDxf-Gcqi6g&bvm> R.H. et al 2008) Here, dT_purs is the response variable, T and Z are the fixed effects, and subject is the random effect. Random and fixed effects are crossed.: mod0 <- lmer(dT_purs ~ T + Z + (1|subject), data = x) mod1 <- lmer(dT_purs ~ T + Z + (1 +tempo| subject), data = x) mod2 <- lmer(dT_purs ~ T + Z + (1 +tempo| subject) + (1+ Z| subject), data = x) mod3 <- lmer(dT_purs ~ T *...
2002 Jun 05
5
hairy indexing problem
I've got a data frame that looks like this: subject foo bar 2 1.7 3.2 2 2.3 4.1 3 7.6 2.3 3 7.1 3.3 3 7.3 2.3 3 7.4 1.3 5 6.2 6.1 5 3.4 6.9 ... That is, I've got multiple rows per subject. I need to compute summaries within categori...
2008 Nov 24
3
count the cumulative for each subject
I have a data set like the following: subject visit x1 1 1 0.5 1 2 1.2 1 3 0.7 2 1 0.4 2 2 0.6 2 3 1.0 ..... where x1 is the interval between the two visits. Now I want to calculate the cumulative intervals since the beinging, for example subject visit x1 cum 1 1 0.5 0.5 1 2 1.2 0.5+1.2 1 3 0.7 0.5+1.2+0.7 2 1 0.4 0.4 2 2 0.6 0.4+0.6 2 3 1....