[R] merge/combine data

2008-10-16 Thread Dirkheld
Hi, I have the following data imported from a csv file user_id site_id name 11 11 februari 21 11 redbook 31 11 tips 73 6 sleep 83 6monitoring 93 6 alarm Which I

[R] multiple plots over multiple pages

2008-05-13 Thread Dirkheld
Hi, I would like to iterate over a dataframe and plot several graphs over several pages. For instance, an iteration over the dataframe will result in 20 plots. Since 20 plots in one page is too much (too many small plots) I would like to distribute them over 5 pages with each 4 plots. I know

[R] use list elements to subtract values from the dataframe

2008-05-07 Thread Dirkheld
Hi, I have a dataframe wf existing of a header with different labels and beneath the values of those labels : wf: label1 label2 ... 0,450,21 0,100,45 I have a list fl - c(label2,label3,..) Isn't possible to use the list elements in the list in order to subtract values

[R] What are ties? Wilcox u-test

2008-04-30 Thread Dirkheld
Hi, When I execute a Wilcox u-test on two variables I receive a warning : 'cannot compute exact p-value with ties' - What are ties? What does this mean for my data? - Is that a problem for significance testing? - is there a way to overcome this problem? I have different threads in this forum

[R] join chars in loops

2008-04-25 Thread Dirkheld
Hi, Is it possible to create new vars in a loop For instance: for (i in 1:11) var'i' - assign something output = var1 var2 ... var11 Is there a way to combine/join the value of 'i' to the string/char var in de loop. -- View this message in context:

[R] select rows from data based on a vector of char strings

2008-04-23 Thread Dirkheld
Hi, I have loaded a dataset in R : data = label freq1 freq2 news 54 35 fun 37 21 milk19 7 food 3 3 etc And I have a vector flist-c(fun,food) Now I want to use the vector 'flist' for selecting these values from 'data' so that I get the following