search for: subid

Displaying 20 results from an estimated 40 matches for "subid".

Did you mean: subi
2012 Apr 23
2
plot function creating bars instead of lines
...t data frame one of those variables (challenge) is a factor with 2 levels. Any suggestions for getting this to plot as intended would be much appreciated. Thank you! ************ This is meant to plot a separate line for each subject for each challenge************* for (subj in unique(lab.samples$subid)) { #par(new=T) plot.new() par(mfrow=c(2,1)) par(mfg=c(1,1)) plot(data=lab.samples, subset=(subid==subj), cortisol ~ Sample, type='n', main=paste('Cortisol and Amylase for subject ', as.character(subj))) for ( t in unique(subset(lab.samples,subid==subj)$challenge) ) { pa...
2002 Oct 08
2
data.frame merge matching several columns
Greetings, Is it possible to match several columns in a merge statement? Here is my problem: data1 looks like this... SUBID TARGID ITEM RATING 1 1 1 4 1 1 2 5 1 1 3 3 1 1 4 2 1 1 5 5 ...... SUBID is the ID for the raters, TARGID is the ID for the targets being rated, ITEM ranges from 1 to 64 crossed by TARGID (i.e., all targets...
2012 Mar 19
2
by output into data frame
I could do this in various hacky ways, but what's the right way? I have a nice application of the by function, which does what I want. The output looks like this: > auc_stress lab.samples.stress$subid: 2 cortisol amylase 1 919.05 6834.8 --------------------------------------------------------------------------------------------------------------------------- lab.samples.stress$subid: 3 cortisol amylase 11 728.25 24422.05 etc. What I want is a data frame roughly like this: subid c...
2013 Nov 05
0
Sampling question
Hi, You may try: dat1 <- structure(list(SubID = 1:8, CSE1 = c(6L, 6L, 5L, 5L, 5L, 5L, 3L, 3L), CSE2 = c(5L, 4L, 5L, 4L, 6L, 4L, 6L, 6L), CSE3 = c(6L, 7L, 5L, 3L, 7L, 3L, 6L, 6L), CSE4 = c(2L, 2L, 5L, 4L, 5L, 6L, 3L, 3L), WSE1 = c(6L, 6L, 5L, 4L, 6L, 4L, 6L, 6L), WSE2 = c(2L, 6L, 5L, 4L, 4L, 3L, 5L, 5L), WSE3 = c(2L, 2L, 4L, 5L, 4L, 7L, 2L...
2010 Nov 18
3
New Sampling question
I have another question about drawing samples from a data frame. This might sound really tricky. Let me use a data frame I have posted earlier as an example: SubID CSE1 CSE2 CSE3 CSE4 WSE1 WSE2 WSE3 WSE4 1 6 5 6 2 6 2 2 4 2 6 4 7 2 6 6 2 3 3 5 5 5 5 5 5 4 5 4 5 4 3...
2011 Jan 18
3
error message
I was running a sampling syntax based on a data frame (ago) of 160 rows and 25 columns. Below are the column names: > names(ago) [1] "SubID" "AGR1" "AGR2" "AGR3" "AGR4" "AGR5" "AGR6" "AGR7" "AGR8" [10] "AGR9" "AGR10" "WAGR1" "WAGR2" "WAGR3" "WAGR4" "WAGR5" &q...
2013 Apr 30
2
R Function to extract columnNames
Hi, May be this helps: funcName<- function(df1, x){ ?whatCol=df1[[x]] ?print("Got it") ?print(whatCol) ?} ? funcName(df,"ColA") #[1] "Got it" #[1] 1 2 3 4 5 ? funcName(df,"ColB") #[1] "Got it" #[1] A B C D E #Levels: A B C D E A.K. >I am trying to extract the 2nd column from a dataframe using a function called funcName. Note this is an
2010 Apr 30
2
deriving mean from specific cases
Hi all, I have a large dataset that has >10k entries. The dataset is stored in a dataframe with the headers: SubID Condition1 Condition2 Result1 Result2 There are multiple entries for a given SubID(Subject ID). Condition 1 has 3 levels and condition2 has 2 levels (therefore there are 6 possible combinations all together e.g. Cond1 Level1 x Cond2 Level 1 etc.) and i need to compute for 1. The mean for a subject...
2007 Aug 01
1
Problem to remove loops in a routine
...in 1:nGRP) { #loop on Group # l=1 subdata<-subset(ijkdata,ijkdata$GRP==l) nModel<-nlevels(factor(subdata$MODEL)) #number of models to be plotted in this loop mylegend<-c("Raw data",levels(factor(subdata$MODEL))) subID<-nlevels(factor(subdata$ID)) #number of ID in the new dataset myplot<-xyplot(Y ~ TIME | ID, #creates plot data = subdata, type = "l", groups = MODEL, observed = subdata$DV, as.tab...
2008 Oct 02
1
Shadowed Plot
Hello R-users     Kindly assist me with the following plot problem in R- My data looks like this (shortened because I have about 5000 observations).   dat <- read.table(textConnection("Id  Time Y      1 0   194 1 5.22 179 1 5.97 190 2 1.61 265 2 2.1  234 2 16.4 300 2 29.5 345 3 0    212 3 0.36 213 4 0    199 4 1.23  203 5  0   212 5  13.5 216 6  0    222 6  1.6 234" ), header =
2011 Jan 11
1
how to sort new data frame based on the original data frame
I have a really simple question I have a data frame of 8 variables (the first column is the subjects' id): SubID G1 G2 G3 G4 W1 W2 W3 W4 1 6 5 6 2 6 2 2 4 2 6 4 7 2 6 6 2 3 3 5 5 5 5 5 5 4 5 4 5...
2010 Nov 15
5
Sampling problem
Hey, I am hoping someone can help me with a sampling question. I have a data frame of 8 variables (the first column is the subjects' id): SubID CSE1 CSE2 CSE3 CSE4 WSE1 WSE2 WSE3 WSE4 1 6 5 6 2 6 2 2 4 2 6 4 7 2 6 6 2 3 3 5 5 5 5 5 5 4 5 4 5 4 3...
2012 Aug 30
0
[PATCH 05/11] vmci_event.patch: VMCI kernel events handling.
...pin_lock_bh(&subscriberLock); + event_release(sub); + spin_unlock_bh(&subscriberLock); + + return 0; +} + +/* + * Find entry. Assumes lock is held. + * Increments the VMCISubscription refcount if an entry is found. + */ +static struct vmci_subscription *event_find(uint32_t subID) +{ + int e; + + for (e = 0; e < VMCI_EVENT_MAX; e++) { + struct vmci_subscription *cur; + list_for_each_entry(cur, &subscriberArray[e], + subscriberListItem) { + if (cur->id == subID) { +...
2012 Aug 30
0
[PATCH 05/11] vmci_event.patch: VMCI kernel events handling.
...pin_lock_bh(&subscriberLock); + event_release(sub); + spin_unlock_bh(&subscriberLock); + + return 0; +} + +/* + * Find entry. Assumes lock is held. + * Increments the VMCISubscription refcount if an entry is found. + */ +static struct vmci_subscription *event_find(uint32_t subID) +{ + int e; + + for (e = 0; e < VMCI_EVENT_MAX; e++) { + struct vmci_subscription *cur; + list_for_each_entry(cur, &subscriberArray[e], + subscriberListItem) { + if (cur->id == subID) { +...
2008 Jun 12
10
Ajax.Updater not working in IE, tried everything
hi, i am basically using a button, Prototype/AJAX, and PHP to update a user''s location. something simple as typing ''Chicago, IL''. After the script, it rewrites the result in a div tag. here is the form i''m using: <div id="hometown_result">Aurora, IL</div> <form action="" method="post"
2010 May 24
5
Means do not tally
Hi all, here is my situation In my experiment, I expose 10 subjects to 24 different conditions of stimuli. Each condition is exposed to the same subject 3x. This would make each subject have 24x3=72 data points. All the subjects combined would have 72x10=720 data points with each condition having 30 datapoints. To find the grand average of each condition, I find the average of all the
2006 Apr 25
6
Searching over multiple MySQL tables
I am racking my brain over this, probably because I only know very simple mysql functions. Basically I''ve got a few tables, ex: Albums (id,name,band_id); Bands (id,name,label_id), and Label (id,name) I want to search through both album.name, band.name, and label.name throwing all results into a variable, with no redundant info. I think what I need to be doing is setting up some
2013 Jan 24
0
Again ACL Postgres dict trouble, no update and raw backtrace
...11:09:59 CET STATEMENT: SELECT dummy,to_user,from_user FROM user_shares 2013-01-24 11:09:59 CET DEBUG: StartTransaction 2013-01-24 11:09:59 CET STATEMENT: SELECT dummy,to_user,from_user FROM user_shares 2013-01-24 11:09:59 CET DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children: 2013-01-24 11:09:59 CET STATEMENT: SELECT dummy,to_user,from_user FROM user_shares 2013-01-24 11:09:59 CET LOG: statement: SELECT dummy,to_user,from_user FROM user_shares 2013-01-24 11:09:59 CET DEBUG: CommitTransactionCommand 2013-01-24 11:09:59 CET STATEMENT:...
2010 Nov 16
2
Computing Rolling Average
...13 29 Thanks in advance, Paolo On 15 November 2010 20:59, wangwallace <talenttree@gmail.com> wrote: > > Hey, > > I am hoping someone can help me with a sampling question. > > I have a data frame of 8 variables (the first column is the subjects' id): > > SubID CSE1 CSE2 CSE3 CSE4 WSE1 WSE2 WSE3 WSE4 > 1 6 5 6 2 6 2 2 4 > 2 6 4 7 2 6 6 2 3 > 3 5 5 5 5 5 5 4 5 > 4 5...
2015 Apr 24
0
Férias/Maio/Junho
...20 de Junho de 2015. Special price from the 30th May until the 20th June 2015. One bedroom apartment without air conditioning and little sea view. 2 pax = 196? (7 noites/nights) 3 pax = 217? (7 noites/nights) 4 pax = 245? (7 noites/nights) Unsubscribe ( http://ns367630.ip-94-23-27.eu/index.php?subid=2185578&option=com_acymailing&ctrl=user&task=out&mailid=24&key=X03ypWFMVyS91w ) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20150424/11ec4f13/attachment.html>