search for: kozarski

Displaying 20 results from an estimated 25 matches for "kozarski".

Did you mean: koziarski
2008 Dec 19
2
re ad.table
Hi , I want to use the read.table to the following example 'data.txt' format: a b c d e f SPX LSZ 100 C 0 34.4 SPX LSZ 100 P 0 1.3 SPX LSZ 105 C 0 30.3 SPX LSZ 105 P 0 1.85 SPX LSZ 110 C 0 26.4 and I want to have the columns a,b,d read as the 'character' data, a the remaining columns as 'numeric'. What I did was:
2010 Feb 19
6
retrieve from function
Hi, say I got the function: > x=function(nbr){y<-rnorm(nbr);y1 <- mean(y);plot(y)} how can I retrieve value of y1, when I need it. I don't want: > x=function(nbr){y<-rnorm(nbr);y1 <<- mean(y);plot(y)} > y1 I want someting like: "x$y1" and then I get the value Many thanks, robert -- View this message in context:
2012 Jul 25
3
ff package: reading selected columns from csv
*Dear R users, Ive just started using the ff package. There is a csv file (~4Gb) with 7 columns and 6e+7 rows. I want to read only column from the file, skipping the first 100 rows. Below Ive provided different outcomes, which will clarify my problem * > sessionInfo() R version 2.14.2 (2012-02-29) Platform: x86_64-pc-mingw32/x64 (64-bit) locale: ... attached base packages: [1] tools
2008 Oct 14
1
ts.data plot
Hi, my data consists of 2 columns: one with the 'year' when daily observation was recorded, the other one consists these observations 'obs', like the following: year obs [3014,] 86 26.01 [3015,] 86 25.66 [3016,] 86 23.92 [3017,] 86 23.84 . . [3018,] 96 22.65 [3019,] 96 23.22 [3020,] 96 23.36 . . [3021,] 97 24.55 [3022,] 97 27.63 [3023,] 97 27.92 [3024,] 97
2010 Sep 13
1
shade area between 'ablines'
Hi, want to shade the area between dotted lines: x=c(1,5);y=c(1,5) plot(y~x, type='n') abline(v=c(2,3), lty=2) sometnig simple needed. tried with polygon.... thx, robert -- View this message in context: http://r.789695.n4.nabble.com/shade-area-between-ablines-tp2537352p2537352.html Sent from the R help mailing list archive at Nabble.com.
2011 Oct 14
1
date and time
Dear R users, I got date and time as two separate characters [1] "2008-04-11" [1] "22:00:00" which correspond to my starting point in time domain. Now I need to produce series over, 5 sec epochs up to end point, say: [1] "2008-04-12" [1] "23:00:00" So something like 2008-04-11 22:00:00 2008-04-11 22:00:05 2008-04-11 22:00:10 . . . 2008-04-12 23:00:00
2010 Nov 07
1
postscript window size
Dear R users, simple figure: postscript(file="~/Desktop/figure.ps", horizontal=T, width=20, height=10) par(mfcol=c(2,5)) plot(rnorm(100), type='l') plot(rnorm(100), type='l') plot(rnorm(100), type='l') plot(rnorm(100), type='l') plot(rnorm(100), type='l') ##----- plot(rnorm(100), type='l') plot(rnorm(100), type='l')
2010 Feb 23
2
scatterplots in car package
Hi, using scatterplot in 'car' package. There are 4 plots to be pictured together (ignore data used): library(car) par(mfrow=c(3,1)) ts.plot(rnorm(100)) ts.plot(rnorm(100)) scatterplot(rnorm(100),rnorm(100),boxplot="",smooth=T) # scatter with non-parametric fit problem is that the last one comes 'always' separate. Is there any way to solve it?? of course can use
2011 Nov 29
1
hour in x-axis
Dear R useres, got the following problem. Given the AggData (listed below) I need to plot AggData[,2] vs time (AggData[,1]) for chosen 'rows'. Ive done already: plot(AggData[rows,2], xaxt='n') axis(1,at=seq(1,length(rows),1),sub("","", AggData[rows,1])) which works, but I need to list only chosen data points, say full hours or every 60th point, something like:
2011 Dec 12
5
not complete character in csv file
Dear R users, I got the following problem. Given that > data[3,2] [1] "010252" Code: intro <- data.frame() intro[1,1] <- as.character(data[3,2]) write.csv(intro, file='intro.csv') In 'intro.csv' file I am loosing the 0 in frot of 10252, which I need. Is there a way to keep the full character saved? R 2.13.2 (64 bit). Thanks, robert -- View this message in
2008 Feb 28
4
standard errors
Hi, guess my problem has simple solution. I want to extract ONLY Std. Errors of Max. Lik. estimates (my_fit<-mle(object,...)), the same as I can do with estimates by: x<-as. matrix(coef(my_fit)). I could not find any function similar to 'coef(my_fit)', which extracts only Standard Errors. So far all I can do is to type: summary(my_fit) and then get the whole output (with Standard
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...______________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. N:WL:en-US:WM_HMP:042010_3 [[alternative HTML version deleted]] ------------------------------ Message: 62 Date: Tue, 4 May 2010 10:11:57 -0700 (PDT) From: threshold <r.kozarski at gmail.com> To: r-help at r-project.org Subject: [R] legend with lines and points Message-ID: <1272993117007-2125971.post at n4.nabble.com> Content-Type: text/plain; charset=us-ascii Hi, say there are x and y given as: level x y 3 0.112 0.012 2 0.432 0.111 1 0.415 0.053 3 0.38 0.005 2...
2008 May 29
1
Ubuntu rJava
Hi I am using ubuntu 8.04 and faced some problems when installing rJava. What I did first was install.packages("rJava") but I could not proceed since: "checking Java support in R... configure: error: absent R was configured without Java support. Please run R CMD javareconf as root to add Java support to R." afterwards I took Alt+F2 and typed: gksudo R CMD javareconf
2008 Jan 24
1
surface plot
Hi, there is following issue, which I encounter when doing data analysis. Say we have data in form of the matrix x: > x [,1] [,2] [,3] [1,] 0.1 4 10 [2,] 0.2 5 11 [3,] 0.1 5 12 [4,] 0.1 6 13 [5,] 0.2 4 14 [6,] 0.3 5 16 now I want to do surface plot of x[,3] with respect to axes OX:x[,1] and OY: x[,2] in ascending orders of course. Thanks in advance,
2008 Mar 11
2
R-Latex question
Hi, maybe my question is not typical. I want to make R table-kind output to be readable immediately in Latex but I am struggling with symbol '\' needed for instance in '\hline'. For example when 'Table' is a matrix class object: cat("&",Table[1,1], "&",Table[1,2], "\n");flush.console() cat("\hline \n");flush.console()
2010 Sep 22
1
legend
Hi, there is a function to plot survival curves: library(survival) plot.KM <- function(survival, x, x_cut.off, main='', label='') { plot(survfit(survival ~ I(x >= x_cut.off)), main=main) legend('bottomleft', c(expression(label >= x_cut.off),expression(label < x_cut.off))) } Now, I need to determine as the argument what appears in the legend. I want
2008 May 29
1
Ubuntu rJava
Hi I am using ubuntu 8.04 and faced some problems when installing rJava. What I did first was install.packages("rJava") but I could not proceed since: "checking Java support in R... configure: error: absent R was configured without Java support. Please run R CMD javareconf as root to add Java support to R." afterwards I took Alt+F2 and typed: gksudo R CMD javareconf
2009 Jan 16
2
function return output
Hi, I wrote the function which outputs a matrix 'c' and a single value 'd', as follows (simplified example): procedure <- function(a,b){ ... list(c,d) } now I want to use 'c' and 'd' in code as follows: d <- matrix(0,1,1) value <- procedure(a,b) and d[1,1] <- value[2] breaks telling that: Error in d[1, 1] : incorrect number of dimensions What I did
2009 May 13
2
3dscatter for linux
Hi, do you have any suggestions how to make 3D scatterplot, BUT under linux. Worth mentioning is the fact that 'scatterplot3d' does not load under Ubuntu 8.10. Do you know any alternatives?? I tried cloud or persp but X,Y and Z axes are emprical in my case, and cannot be replaced by any seq(...). Thanks in advance, robert -- View this message in context:
2011 Feb 17
1
censoring symbols on survfit plot
Hi, when ploting Kaplan-Meier estimate curves as below, the censoring symbols (crosses) to not change thickness along the lines plot(survfit(surv ~ I(x>=cut.off) ),lty=c(1,2), lwd=2) is there any strightforward way to make it happen? thanks robert -- View this message in context: http://r.789695.n4.nabble.com/censoring-symbols-on-survfit-plot-tp3311283p3311283.html Sent from the R help