[R] lm( ) for log10-transformed data

2007-08-07 Thread Kim Milferstedt
,10) round(res.600nm,2) == round(10^(two.points.min*slope.min+intercept.min),2) round(res.600nm,2) round(10^(two.points.min*-0.71+1.5),2) __ Kim Milferstedt University of Illinois at Urbana-Champaign Department of Civil and Environmental Engineering 4125

[R] rgl.postscript generating pdf: floating xlab, font size, transparency

2007-04-04 Thread Kim Milferstedt
:/Kim/070402/test4.pdf, fmt=pdf ) __ Kim Milferstedt University of Illinois at Urbana-Champaign Department of Civil and Environmental Engineering 4125 Newmark Civil Engineering Laboratory 205 North Mathews Avenue MC-250 Urbana, IL 61801 USA phone: (001) 217 333

[R] which points within an ellipsoid? Sorting data in 3d

2007-04-03 Thread Kim Milferstedt
(data.3, col =blue, size = 6) __ Kim Milferstedt University of Illinois at Urbana-Champaign Department of Civil and Environmental Engineering 4125 Newmark Civil Engineering Laboratory 205 North Mathews Avenue MC-250 Urbana, IL 61801 USA phone: (001) 217 333

[R] R for copying and pasting selected image files?

2007-03-12 Thread Kim Milferstedt
, actually no desire, to open them. Is there a way to use R for copying and pasting files with any file extension to another directory without opening them? Thanks already for any help, Kim __ Kim Milferstedt University of Illinois at Urbana-Champaign

[R] barplot with different color combination for each bar

2007-03-02 Thread Kim Milferstedt
] ) ) ) ) ) barplot( H, col=cols, width = c(0.1), xlim = c(0,3), beside=F ) __ Kim

[R] applying order() in a for loop

2006-10-26 Thread Kim Milferstedt
Hi, with the code below I try to organize sections of a data.frame. The dataframe has 9 data columns. I'd like to order the columns of the data.frame by the sum of the columns' entries. The sections of the columns are identified by i. The order of the columns is given by the vector z. Each

[R] update index in for statement during calculation

2006-10-25 Thread Kim Milferstedt
) { fill- c(data[i,1], (round(data[i,2], 0)+1), rep(0,classnumber)) data- rbind(data[1:i,], fill, data[(i+1):old.row,]) } } __ Kim Milferstedt University of Illinois at Urbana-Champaign Department

Re: [R] nested if/else very slow, more efficient ways?

2006-10-24 Thread Kim Milferstedt
column in arithmetic processing, or are they just an enumeration of possible values? While you think about it, I direct your attention to the functions: sub factor -Alex On 23 Oct 2006, at 23:03, Kim Milferstedt wrote: Hello, in the data.frame resultsfuzzy I would like to replace

[R] nested if/else very slow, more efficient ways?

2006-10-23 Thread Kim Milferstedt
__ Kim Milferstedt University of Illinois at Urbana-Champaign Department of Civil and Environmental Engineering 4125 Newmark Civil Engineering Laboratory 205 North Mathews Avenue MC-250 Urbana, IL 61801 USA phone: (001) 217 333-9663 fax: (001) 217 333-6968 email: [EMAIL

[R] biplot with grouped observations

2006-05-24 Thread Kim Milferstedt
__ Kim Milferstedt University of Illinois at Urbana-Champaign Department of Civil and Environmental Engineering 4125 Newmark Civil Engineering Building 205 North Mathews Avenue MC 250 Urbana, IL 61801 USA phone: (001) 217 333-9663 fax: (001) 217 333-6968 email: [EMAIL PROTECTED] http

[R] reproducing scaling used in biplot(pc.biplot=TRUE)

2006-05-15 Thread Kim Milferstedt
(1990) used identical? It would help me very much if somebody had an piece of example code where a biplot is constructed from the scratch according to Gabriel 1971. Thanks a lot, Kim __ Kim Milferstedt University of Illinois at Urbana-Champaign Department

Re: [R] Hmisc + summarize + quantile: Why only quantiles for first variable in data frame?

2006-04-21 Thread Kim Milferstedt
Kim Milferstedt wrote: Hi, I'm working on a data set that contains a couple of factors and a number of dependent variables. From all of these dependent variables I would like to calculate mean, standard deviation and quantiles. With the function FUN I get all the means and stdev that I want

[R] Hmisc + summarize + quantile: Why only quantiles for first variable in data frame?

2006-04-19 Thread Kim Milferstedt
Hi, I'm working on a data set that contains a couple of factors and a number of dependent variables. From all of these dependent variables I would like to calculate mean, standard deviation and quantiles. With the function FUN I get all the means and stdev that I want but quantiles are only

[R] extracting and summarizing data from data.frame with table-like output

2006-02-01 Thread Kim Milferstedt
matrices but I want a table like output, possibly also with the means for res.2. __ Kim Milferstedt University of Illinois at Urbana-Champaign Department of Civil and Environmental Engineering 4125 Newmark Civil Engineering Building 205 North Mathews Avenue