[R] how to create a vector with different categories in a simple way?

2006-10-22 Thread Jenny persson
Hi R-users, I have a matrice called layout which contains 5 columns:id, name, row, column and block. The column called block has totally 48 blocks and looks like 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

Re: [R] how to create a vector with different categories in a simple way?

2006-10-23 Thread Jenny persson
Thank you so much, Marc and Phil. Unfortunenately, I misunderstood the problem myself and wasn't clear how i wanted the variables to be. I will describe the issue again and hope you can help me out. Here is part of data called layout Id Name block col row 1 a1 11

[R] Question about position in row and column

2006-11-09 Thread Jenny persson
Hi R-users, I have 48 blocks like below 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 in each block there are 18 cloumns and 18 rows which give 18*18*48 observations. The

[R] How to plot two variables in the same qqnorm-plot?

2006-12-08 Thread Jenny persson
Dear all, I have two variables called c2 and c3 and want to plot these variables in the same qqnorm-plot with two different symbols or colors to distinguish them so I can easily compare the variables aginst each other. How can I do in R? I only manage to do two separated qqnorn-plots.

[R] question about for loop

2006-12-14 Thread Jenny persson
Dear R-experts, I have a dataset of 4 patients and each patient has many records at four different time points. I have done 4 different qqnorm plots on the same graph where each plot represents the records of one patient at each time point. I would like to do the same graph for the

[R] How to add characters on graph ?

2007-01-03 Thread Jenny persson
Dear R-users, I have following data # Plot coloured scatter plot c-dat[100:110,c(5,7,8)] par(mfrow=c(3,2)) plot(c$lb,c$index, pch=1, col=5,cex=1, lwd=2, xlab=LB, ylab=Index,cex.main =1,font.main= 1, main=scatterplot) ID index lb

[R] extracting data into different subsets

2007-01-14 Thread Jenny persson
y Slide Block ID 441068 -0.020464103 1 15 GFASKTPANQA 448844 0.061400545 1 41 GFASKTPANQA 456620 -0.031026896 10 15 GFASKTPANQA 464396 -0.033166864 10 41 GFASKTPANQA 472172 -0.108148804 11 15 GFASKTPANQA 479948 -0.397759508 11 41

[R] identify selected substances across individuals

2007-01-21 Thread Jenny persson
Dear R -users, Below is an example data, which contains three id-numbers. For each id there are three substances in each of the three blocks. Some substances are repeated twice.The subsatances are the same for all ids. The id number 3 is actually a control so all responses (y) that are

[R] keep track of selected observations over time

2007-01-24 Thread Jenny persson
Dear all, Attached is a description of my data, graph and the problem which I need help with. Hope you have time to open the file and help me out. Many thanks, Jenny - __

[R] Export multiple data files as gpr-files

2007-04-15 Thread Jenny persson
Dear R-users, I have 10 data files in gpr format (dat1.gpr,…dat10.gpr). I want to read in these files one by one in R and then add one extra column (called log) to each data file as below

[R] Export multiple data files from R

2007-04-16 Thread Jenny persson
Dear R-users, I have 10 data files in gpr format (dat1.gpr,…dat10.gpr). I want to read in these files one by one in R and then add one extra column (called log) to each data file as below