[R] plot limits

2015-01-26 Thread Sebastian
Hi, I'd like to remove the +1.96 and - 1.96 in the bland and altman plot andreplace them by the limits values?Here's my functionbland.altman.ade(ok$LB_machine,ok$LB_manuel,main="B cells count",xlim=c(0,700), ylim=c(-300,300),xlab="Mean cell count : (manual count +digital count)/2",ylab="manual

Re: [R] Can not update

2016-10-29 Thread Sebastian
Finally I use RStudio to do it. I don't know what it was the problem. Thanks, Sebastian . -Mensaje original- De: "Jeff Newmiller" Enviado el: ‎29/‎10/‎2016 19:07 Para: "residuo.so...@gmail.com" ; "R-help" Asunto: Re: [R] Can not update I suspect

[R] Polygon Graph in lattice/ lattice extra

2010-08-13 Thread Sebastian
d it should be rotated about 90 degrees and end with its filled border at the y-axis. I'm pleased about any suggestions or ideas. Thanks, Sebastian Here's the code: library(latticeExtra) data <- as.data.frame(cbind(c(1,2,3,4,1,2,3,4),c(1,1,1,1,2,2,2,2),c(2,3.8,3,3.5,2.2,4,3.2,3.5)))

Re: [R] Did not complete an assignment in time for students to grade

2017-05-25 Thread Sebastian Kraus
Dear Alice, yes, you can continue later. The given schedule is totally optional. It should just keep you on track. Best regards, Sebastian On 24-May-17 18:15, Alice Nix wrote: Hello, I am wondering if I can re-subscribe to the R Programming course on Coursera at a later point in time and

[R] Segmentation Fault with large dataframes and packages using rJava

2016-05-26 Thread Sebastian Salentin
a is OpenJDK 1.7 74bit. I would highly appreciate if you could give me any hint on how to solve the problem. Best ssalentin -- Sebastian Salentin, PhD student Bioinformatics Group Technische Universität Dresden Biotechnology Center (BIOTEC) Tatzberg 47/49 01307

[R] graph together 4 series after HP filter

2016-09-06 Thread Sebastian Kruk
FIL <- apply ( PP , 2, hpfilter , freq = lambda, type = "lambda" ) How can I graph all cyclical components together? Regards, Sebastian. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE an

[R] R_LIBS_SITE in Renviron ignored (?)

2016-09-23 Thread Sebastian Schubert
s not applied when I start R. However, changes for example in R_LIBS_USER in the same file are applied, thus the file must be read... I don't see where R_LIBS_SITE could be overwritten elsewhere. I get the same behaviour in R when I start it with R --no-environ --no-site-file --no-init-fi

Re: [R] R_LIBS_SITE in Renviron ignored (?)

2016-09-29 Thread Sebastian Schubert
Hi all, On 23.09.2016 11:25, Sebastian Schubert wrote: ... > Maybe I get the documentation wrong but it seems, the variable > R_LIBS_SITE in Renviron is ignored while, for example, R_LIBS_USER is > not. ... For reference, I got a hint here: http://stackoverflow.com/a/39766163/1463740

[R] Problem with survfit when model has interaction with strata

2015-08-06 Thread Sebastian Pölsterl
riginal model. Since interactions with strata variables are a special cases in coxph, I believe similar care should be taken when creating the model matrix for newdata. Best regards, Sebastian Pölsterl library(foreign) library(survival) data <- data.frame(read.spss("http://web1.sph.emory

[R] C compilation error (unknown type R_xlen_t) when installing Rmpi package

2015-04-08 Thread Sebastian L
Hi, I am trying to use the parallel computing cluster of our university. To that end, I would like to install the Rmpi package on the cluster. The R version currently installed on the cluster is R version 2.15.2 (2012-10-26) -- "Trick or Treat" Platform: x86_64-redhat-linux-gnu (64-bit) I am

[R] R: plot partial effects

2019-01-22 Thread Sebastian Heyneman
as: Error in match.arg(type) : 'arg' should be one of “ordinary”, “score”, “dfbeta”, “dfbetas”, “dffit”, “dffits”, “hat”, “hscore” Does anyone have a clue? Regards, Sebastian [[alternative HTML version deleted]] __ R-help@r-p

[R] spatstat rmh problem

2014-09-15 Thread Sebastian Schutte
ificial points dat <- rpoint(500,win=cshape) #Fit a (inhomogenous spatial poisson) model to the data mod <- ppm (ppp, ~ pop , covariates = list (pop = im.pop)) #Simulate some points: plot(density(rmh(mod),new.coef=c(1,200))) #Looks the same, so what am I missing? Thanks for your help, S

[R] spatstat rmh problem

2014-09-15 Thread Sebastian Schutte
ificial points dat <- rpoint(500,win=cshape) #Fit a (inhomogenous spatial poisson) model to the data mod <- ppm (ppp, ~ pop , covariates = list (pop = im.pop)) #Simulate some points: plot(density(rmh(mod),new.coef=c(1,200))) #Looks the same, so what am I mis

Re: [R] spatstat rmh problem

2014-09-15 Thread Sebastian Schutte
ty(rmh(mod),new.coef=c(1,200))) What am I missing? Thanks again, Sebastian On 16.09.2014 00:18, Rolf Turner wrote: Your example is not reproducible. We don't have "cshape" or "im.pop" (and are possibly lacking other bits and pieces; I didn't check the details sinc

Re: [R] spatstat rmh problem

2014-09-16 Thread Sebastian Schutte
t and report back. Thanks! On 16/09/14 16:30, Sebastian Schutte wrote: Thanks so much for your comments. Sorry for not having sent a running example from the start. Here it is: library (spatstat) #Load example data data(demopat) #Generate a random point pattern within the polygon set.seed(

[R] column wise paste of data.frames

2008-07-18 Thread Sebastian Weber
uld be some way to do it in R - can someone please enlighten me? Thanks a lot in advance. Greetings, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

[R] xyplot: distance between axis and axis-label gets wrong

2008-07-21 Thread Sebastian Weber
about it? A solution would be to put in the labels via the scales-argument into the lattice-machinery, but this is not very nice as I would have no automatic calculation of the limits ... Greetings, Sebastian Weber __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] reading web log file into R

2009-09-22 Thread Sebastian Kruk
If I have a web log file as follows: #Software: Microsoft Internet Information Services 5.0 #Version: 1.0 #Date: 2007-12-03 13:50:17 #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-bytes cs-bytes time-taken cs(User-Agent) cs(Cookie) cs(Referer) "2007

[R] Thread-safeness of unif_rand()?

2010-02-12 Thread Sebastian Bauer
e and efficient to call this function from multiple threads? Bye, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide comm

[R] Row-wisely converting a data frame into a list

2010-03-02 Thread Sebastian Bauer
ll, list(df[i,]) ) return (ll) } but more done more efficiently (the data frame may contain ten-thousands of rows). I thought about using apply() but this function always returns a matrix. Thanks in advance! Bye, Sebastian __ R-help@r-project.or

Re: [R] Row-wisely converting a data frame into a list

2010-03-02 Thread Sebastian Bauer
rows.to.list <- function( df ) { ll<-apply(df,1,list) ll<-lapply(ll,unlist) } It's even a bit faster here. Bye, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] add a header to a forest plot (metafor)

2010-03-02 Thread Sebastian Stegmann
explains the nature of the columns. Very much like the usual header in spreadsheet programs. For example: "Study" "Sample" "Sample Size" "Estimated Effect Size" "CI 95%". I tried to add "axis(3)", but apparently the

[R] ANOVA with means and SDs as input

2009-06-25 Thread Sebastian Stegmann
7;s not that easy to find. Or is it? Thanks for your help! Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

[R] importing .bil files

2010-03-22 Thread Sebastian Leuzinger
software and would prefer to deal with the data in R. I use the latest version of R on Mac OSX 10.5.8. Thanks, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Problem with mtext

2010-04-08 Thread Sebastian Leuzinger
s longer than normal to execute, and it seems to overprint many times. Can anyone reproduce this? Is it a bug? I am on OSX 10.5.8 using R version 2.10.1 Thanks for advice. Sebastian layout(matrix(c(1:6),ncol=1)) par(oma=c(3,3,.5,5)) plot(c(1:10)) plot(c(1:10)) plot(c(1:10)) plot(c(1:10)) p

[R] import file formatted RFC-822

2010-04-13 Thread Sebastian Kruk
Dear R-list users: I would like to import a database of web robots, http://www.robotstxt.org/db/all.txt, it´s formatted RFC-822, ¿how can I do it? The RFC 822 specification defines a standard format for electronic messages, which consists of a set of header fields and an optional body. The header

Re: [R] import file formatted RFC-822

2010-04-14 Thread Sebastian Kruk
Barry, thank you so much! It's work. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducib

Re: [R] import file formatted RFC-822

2010-04-14 Thread Sebastian Kruk
I have a problem, In a few cases "robot-exclusion-useragent" have 2 or more values, is there a manner to fix it? For example, robot askjeeves has three names. 2010/4/13 Barry Rowlingson : > On Tue, Apr 13, 2010 at 6:26 PM, Sebastian Kruk > wrote: >> Dear R-list users:

[R] barplot() and highlighted values

2010-04-24 Thread Sebastian Bergmann
www.slideshare.net/spriebsch/die-5-goldenen-oopregeln-fr-php, for instance. Basically what I need is to put text above each of the bars. Is that possible? Thanks! -- Sebastian BergmannCo-Founder and Principal Consultant http://sebastian-bergmann.de/

Re: [R] barplot() and highlighted values

2010-04-24 Thread Sebastian Bergmann
erations"), > cex.names=0.6, ylim = c(0, max(costs) * 1.2)) > > text(mp, costs, labels = costs, pos = 3) This is exactly what I needed, thank you so much! -- Sebastian BergmannCo-Founder and Principal Consultant http://sebastian-b

Re: [R] import file formatted RFC-822

2010-04-24 Thread Sebastian Kruk
I used it but for example: > robots2[74] [1] "\"Teoma\" or \"Ask Jeeves\" or \"Jeeves\"" It wasn't sorted. Sebastian. 2010/4/14 Barry Rowlingson : > On Wed, Apr 14, 2010 at 6:20 PM, Sebastian Kruk > wrote: >> I have a problem,

[R] Combining Plots, Plotting functions, Changing scale of axis

2010-04-28 Thread Sebastian Pfaffen
much. Pfaffen Sebastian [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, mi

[R] drop last character in a names'vector

2010-04-30 Thread Sebastian Kruk
Hi, i have a vector filled with names: [1] Alvaro Adela ... [25] Beatriz Berta ... ... [10] ... I would like to drop last character in every name. I use the next program: for (i in 1:10) {                           largo <- nchar(names[i]-1)                           names[i] <- substri

Re: [R] drop last character in a names'vector

2010-04-30 Thread Sebastian Kruk
re using a different >> vector for nchar than you are subsetting. >> >> -- >> Gregory (Greg) L. Snow Ph.D. >> Statistical Data Center >> Intermountain Healthcare >> greg.s...@imail.org >> 801.408.8111 >> >> >>> -Original

[R] debugging S4 methods

2009-10-01 Thread sebastian mueller
b) seems only to debug the generic-function: > specc:kernlab function (x, ...) standardGeneric("specc") which doesn't help me. Does anyone know how to debug the real-code? Thanks for your help! Sebastian __ R-help@r-project.org mailing

[R] ggplot2: Histogram with negative values on x-axis doesn't work

2009-10-21 Thread sebastian . rohrer
I have a dataset that contains numbers between -10 and 0. E.g. x = c(-9.23, -9.56, -1.40, ...) If I no do a > qplot(x, geom="histogram") I get the error: Error: position_stack requires non-overlapping x intervals Strangely, the following both work: > qplot(x * -1, geom="histogram") > qplot(x+100,

[R] RSQLite does not read very large values correctly

2009-11-30 Thread Ruecker, Sebastian
ta WHERE OrderID in (1,2,3)") > raw_Data TTC 1 29467907 2 29467907 3 29467907 I would appreciate any help with this problem! Thanks and regards, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PL

[R] z to r transformation within print.rma.uni and forest from the package metafor

2009-12-04 Thread Sebastian Stegmann
;z2r" and "r2z" functions out of the "psychometric"-package on the separate numbers, the values change, so it can't simply be a matter of rounding.) B) When drawing a forest plot: forest(MAergebnis, ., transf="transf.ztor", .) should to the trick,

[R] Quadratcount problem in spatstat

2009-12-08 Thread Sebastian Schutte
much for any suggestions! Sebastian P.S: I'm running R 2.10.0 under Ubuntu Linux 9.10 with spatstat 1.17-2 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/post

[R] stricter use of xlim in plot.stepfun

2009-05-26 Thread Sebastian Meyer
of the stepfun internally. What do you think of this issue? Best regards, Sebastian Meyer __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] stricter use of xlim in plot.stepfun

2009-05-26 Thread Sebastian Meyer
the plot.stepfun function, with which one can specify this 'dr' variable (see the internals of plot.stepfun) ? Best regards, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the p

Re: [R] Help using the exclude option in the neuralnet package

2020-10-11 Thread Sebastian Mueller
of 3 hidden neurons, the bias neurons would be at indices 1 and 8. HTH. Sebastian __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

[R] Computation of r.squared for weighted least squares linear models

2020-01-07 Thread Sebastian Starke
ncluding a minimal code example but unfortunately did not get an answer. I would greatly appreciate if any of you who know the answer could reply either here or directly on my post on crossvalidated. Thanks a lot in advance! -- Sebastian Starke Computational Science Group (FWCC) Dep

[R] find 2D corelation coefficient

2013-07-09 Thread smriti Sebastian
I need to find the 2d corelation betwee two datasets which are having common x-values.Is there any way to find 2D corelation in R? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-

Re: [R] find 2D corelation coefficient

2013-07-09 Thread smriti Sebastian
Two dimensional corelation coefficient-2D corelation between (x,y) and (x1,y1) where x and x1 are same. On Tue, Jul 9, 2013 at 2:27 PM, peter dalgaard wrote: > > On Jul 9, 2013, at 07:30 , smriti Sebastian wrote: > > > I need to find the 2d corelation betwee two datasets w

Re: [R] find 2D corelation coefficient

2013-07-10 Thread smriti Sebastian
Plz c this link http://www.mathworks.in/help/images/ref/corr2.html On Tue, Jul 9, 2013 at 3:43 PM, smriti Sebastian wrote: > Two dimensional corelation coefficient-2D corelation between (x,y) and > (x1,y1) where x and x1 are same. > > > On Tue, Jul 9, 2013 at 2:27 PM, peter

[R] Creating the Spatial Weights

2013-08-19 Thread Sebastian Kruk
Dear R-users, I have a shape file (.shp, sbx, .sbn, .shx and .dbf). Can I create the Spatial Weights inside R? Thanks, Sebastián. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

[R] Summation sign

2013-08-23 Thread Sebastian Hersberger
How has that to be implemented in R? Thank you for your help!! Kind regards, Sebastian [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] how to apply summation sign formula to R

2013-08-24 Thread Sebastian Hersberger
to be implemented in R (lets say for example for period = n = 150)? Thank you for your help!! Kind regards, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/po

Re: [R] how to apply summation sign formula to R

2013-08-24 Thread Sebastian Hersberger
the sum from i=0 to i times matrix A to the power of i times matrix B times the transposed/invers of the sum from i=0 to i times matrix A to the power of i I hope I were able to specify my problem in an understandable way. If not, please let me know. Thanks and regards Sebast

Re: [R] how to apply summation sign formula to R

2013-08-26 Thread Sebastian Hersberger
- define A and B as matrices  - and replace * by %*%  ? Or what else is required? Thanks and regards Sebastian From: David Winsemius [dwinsem...@comcast.net] Sent: Sunday, August 25, 2013 3:51 AM To: David Winsemius Cc: Sebastian Hersberger; r-help@

[R] columns called X rename Y

2013-01-18 Thread Sebastian Kruk
quot; "numbers" "letters" I want to rename c the column called constant and b the column called numbers. I do not know in which order appear names. How could do it? Thanks in advance, Sebastian. [[alternative HTML version deleted]]

[R] adjacency list to non-symmetric matrix

2013-02-05 Thread Sebastian Haunss
kind regards Sebastian -- PD Dr. Sebastian Haunss SfB 597 - Transformations of the State Universität Bremen Linzer Str. 9a 28359 Bremen T: +49-(0)421-218-56654 http://shaunss.ipgovernance.eu/ Recently published: Haunss, Sebastian (2012), “Gewalt und Gewaltlosigkeit in sozialen Beweg

[R] Rstudio Error in View : 'wildcard' is missing

2013-04-28 Thread Ellen Sebastian
Hello, Whenever I try to view anything (matrix, data frame, etc) using View() in RStudio, I get the error: "Error in View : 'wildcard' is missing". Google hasn't returned any relevant help... Does anyone have an idea as to how I can fix this?? Thanks!! -- Ellen

[R] Package survey: singularities in linear regression models

2013-05-02 Thread Sebastian Weirich
responding coefficients. However, svyglm() aborts with an error message. Is there a possibility that svyglm() provides output for coefficients without singularities like glm()? Thank you very much, Sebastian Weirich -- Sebastian Weirich, Dipl.-Psych. Institut zur Qualitätsentwicklung im Bildungswese

Re: [R] Package survey: singularities in linear regression models

2013-05-03 Thread Sebastian Weirich
yglm(formula = achievement ~ origin * group, design = design, return.replicates = FALSE, family = gaussian(link="identity")) # The output of the conventional glm() function reports singularities for one coefficient of the interaction mod3 <- glm(formula = achievement ~ origin * group, dat

[R] Exporting summary plm results to latex

2012-10-10 Thread Sebastian Barfort
ideas of how to solve this problem are very welcome. I almost exclusively use fixed effect panel models, and the problem of exporting results to Latex is one of the things preventing me from switching entirely from Stata to R. Kind regards, Sebastian [[alte

Re: [R] Exporting summary plm results to latex

2012-10-10 Thread Sebastian Barfort
xtable package. Anyone with good ideas? Best, Sebastian On Oct 10, 2012, at 3:09 PM, arun wrote: > HI, > > May be you can use library(texreg): > > library(plm) > > #generating some data > x <- rnorm(270) > y <- rnorm(270) > t <- rep(1:3,30) &g

Re: [R] Exporting summary plm results to latex

2012-10-10 Thread Sebastian Barfort
I am also interested in the standard errors, but beneath not next to the point estimates which is standard in the xtable package. If you by any chance remember the name of the package or how to do it that would be much appreciated! Cheers, Sebastian On Oct 10, 2012, at 7:10 PM, Duncan Mackay

Re: [R] Exporting summary plm results to latex

2012-10-10 Thread Sebastian Barfort
Hi David, this looks very promising, but I am afraid I can't see clearly how this would work. If possible, would you mind a short explanation? perhaps using the attached exampled? Thank you for your advice, Sebastian On Oct 10, 2012, at 9:16 PM, David Winsemius wrote: > >

[R] Package survey: Compute standard deviations from complex survey designs

2012-10-16 Thread Sebastian Weirich
Hello, svyvar from the survey package computes variances (with standard errors) from survey design objects. Is there any way to compute standard deviations and their standard errors in a similar manner? Thanks a lot, Sebastian __ R-help@r

[R] Best practice: to factor or not to factor for float variables

2014-07-04 Thread Sebastian Schubert
ent data sets quite often so keeping the order of the different ordered factor heights also seem to be difficult. Is there any general approach which reduces the work or do I have to switch between approaches as needed? Thanks a lot for any input, Sebast

Re: [R] Best practice: to factor or not to factor for float variables

2014-07-04 Thread Sebastian Schubert
dvice here... Sebastian Am 04.07.2014 17:33, schrieb Hadley Wickham: > Why not just round the floating point numbers to ensure they're equal > with zapsmall, round or signif? > > Hadley > > On Fri, Jul 4, 2014 at 4:04 AM, Sebastian Schubert > wrote: >> Hi, >>

[R] error reading xlsm file with read.xls

2012-12-04 Thread Sebastian Kruk
Dear all, I cannot reading a .xlsm file using read.xls. I executed: read.xls("resultados.xlsm", colNames = TRUE, sheet = 1, type = "data.frame", from = 1, rowNames = NA, colClasses = "character", checkNames = TRUE, dateTime = "numeric", naStrings = NA, stringsAsFactors = F) Error: Call("ReadXls

[R] Help with list

2013-09-26 Thread Sebastian Kruk
f 4 columns in which I put the number of occurrences of the previous numbers, and for cases where it does not appear any of those values put 0? Regards, Sebastian. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list ht

[R] extract date time from a text file

2010-06-18 Thread Sebastian Kruk
I a have a text file where every line is like that: "2007-12-03 13:50:17 Juan Perez" ("yy-mm-dd hh:mm:ss First Name Second Name") I would like to make a data frame with two column one for date and the other one for name. When I use read.delim it was transformed in a data frame with 4 colums. By

Re: [R] extract date time from a text file

2010-06-18 Thread Sebastian Kruk
Thanks, yes, I would like to do it in one try. I a have a text file called archivo where every line is like that: "2007-12-03 13:50:17 Juan Perez" ("yy-mm-dd hh:mm:ss First Name Second Name") My code is it: datos <- read.delim(archivo,header=FALSE,sep= " ",dec=".", col.names=c("date","

[R] sobel.lme

2010-06-24 Thread Sebastian Stegmann
the function. Thanks for reading this lengthy mail. It would be really nice if anyone could tell me (and the help-archive) anything regarding these two questions. Cheers Sebastian -- Dipl.-Psych. Sebastian Stegmann Goethe University, Frankfurt, Germany _

[R] gsub with regular expression

2010-06-25 Thread Sebastian Kruk
2:35:31 palabra 111.111.222 abejorro Rodeo Vaca" Results: Vector: 2008/12/31 12:23:31 2010/02/01 02:35:31 Matrix "numero" 343.233.233 "Rodeo" "Vaca" "Ruido" "palabra" 111.111.222 "abejorro" "Rodeo" "Vaca" Thks,

[R] floating point in single precision

2010-06-26 Thread Sebastian Gibb
use a R only method. What can I do? Kind regards, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal

Re: [R] floating point in single precision

2010-06-27 Thread Sebastian Gibb
Am Sonntag, 27. Juni 2010, 08:39:10 schrieb Prof Brian Ripley: > On Sun, 27 Jun 2010, Sebastian Gibb wrote: > > Hello, > > > > is there a possibilty in R to convert numbers (double precision, 64bit) > > into single precision ones (32bit). > > I need that for c

Re: [R] Patch for legend.position={left,top,bottom} in ggplot2

2010-07-05 Thread Sebastian Wurster
Thank you for this nice patch! To incorporate it you have to open the ggplot2 file in "path to your R packages\ggplot2\R", search for the first line of code and replace it with the patch. Don't forget to delete the lines with "-" and the "+" in front of the new code. _

[R] can't open file

2010-07-07 Thread Sebastian Kruk
I have a text file log2.log encoded Ansi in Windows. When I execute: out <- read.zoo(readLines(con <- file("log2.log", encoding="UCS-2LE")),FUN = as.chron) have errors: Error en file(file, "rt") : no se puede abrir la conexión Además: Mensajes de aviso perdidos 1: In file(file, "rt") : sólo f

Re: [R] can't open file

2010-07-07 Thread Sebastian Kruk
)), class = "zoo") I tried: z <- read.zoo(textConnection(L), index = 1:2,FUN = function(x) paste(x[,1], x[,2])) I have de following error: Error en x[, 1] : número incorreto de dimensiones 2010/7/7 Henrique Dallazuanna : > > You've tried this? > > out <- read.zoo(&

Re: [R] can't open file

2010-07-07 Thread Sebastian Kruk
I tried: L <- readLines(con <- file("log2.log", encoding="UCS-2LE") z <- read.zoo(textConnection(L), index = 1:2,FUN = function(x) paste(x[,1], x[,2])) Error: Error en x[, 1] : número incorreto de dimensiones __ R-help@r-project.org mailing list https:

Re: [R] can't open file

2010-07-07 Thread Sebastian Kruk
On Wed, Jul 7, 2010 at 9:16 AM, Sebastian Kruk > wrote: >> I have a text file log2.log encoded Ansi in Windows. >> >> When I execute: >> >> out <- read.zoo(readLines(con <- file("log2.log", >> encoding="UCS-2LE")),FUN = as.chron) >&

Re: [R] can't open file

2010-07-08 Thread Sebastian Kruk
>> I tried: >> >> L <- readLines(con <- file("log2.log", encoding="UCS-2LE") >> z <- read.zoo(textConnection(L), index = 1:2,FUN = function(x) >> paste(x[,1], x[,2])) >> >> Error: >> Error en x[, 1] : número incorreto de dimensiones >> >Please provide a reproducible example like this: >library(zo

[R] sort file names in numerical order

2010-07-17 Thread Sebastian Gibb
1" "A10" "A2" "B1" "B10" "B2" I want to have: "A1" "A2" "A10" "B1" "B2" "B10" Is this possible? Kind regards, Sebastian __ R-help@r-proj

Re: [R] sort file names in numerical order

2010-07-17 Thread Sebastian Gibb
thanks a lot, it works. you wrote: > library(gtools) > ?mixedorder > > --- On Sat, 7/17/10, Sebastian Gibb wrote: > > From: Sebastian Gibb > > Subject: [R] sort file names in numerical order > > To: r-help@r-project.org > > Received: Saturday, July 17, 201

[R] Analysing CPI inflation by the fractionally integrated ARFIMA-STVGARCH model

2010-07-19 Thread Sebastian Kruk
Hi, are there any library to estima a fractionally integrated ARFIMA-STVGARCH model? You can read about it in http://www.greqam.fr/IMG/working_papers/2008/2008-36.pdf Thanks, Sebastián. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

[R] Trouble using grid.layout in Sweave

2010-07-26 Thread Sebastian Weber
ot it. Many thanks in advance, Sebastian Weber [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] Trouble using grid.layout in Sweave

2010-07-26 Thread Sebastian Weber
Hi! I moved the definition of the vlay function before the grid.newpage call, and now it works! This is weird, I don't get it what was wrong in the first place, if someone can enlighten me, I would feel better. Sebastian To make it clear, this works: <>= vlay <- function

[R] apply over parallel lists and their elements

2010-09-11 Thread Sebastian Gibb
t; vectors. Sadly this don't work: sapply(tree[1:2]$node$values, function(x)mean(x)); Is there another solution? Kind regards, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the postin

Re: [R] apply over parallel lists and their elements

2010-09-12 Thread Sebastian Gibb
lues); Kind regards, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Pesky homemade function code

2010-09-16 Thread Sebastian Gibb
a and your all neede functions (e.g. combinations, because there is the error you looking for.) > Error in combinations(length(data$times[data$ids == id[1]]), 2) : > bad value of n Kind regards, Sebastian __ R-help@r-project.org mailing list https://st

[R] get absolute file path

2010-09-26 Thread Sebastian Gibb
Hello, I get a value which stores a relative file name. (I get it from another function, which I don't want to change.) e.g. > fileName <- "../data/2010-08.csv"; Is it possible to get the absolute file path out of this value? (e.g. /home/sebastian/documents/data/2010-

Re: [R] get absolute file path

2010-09-26 Thread Sebastian Gibb
Am Sonntag, 26. September 2010, 10:08:39 schrieb Romain Francois: > Le 26/09/10 10:00, Sebastian Gibb a écrit : > > Hello, > > > > I get a value which stores a relative file name. (I get it from another > > function, which I don't want to change.) > > e.g.

[R] own TAB expansion

2010-10-08 Thread Sebastian Gibb
;, slotA=1, slotB=2) a$ > a$ should become: a$ > a$slotA a$slotB Kind regards, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-gu

Re: [R] own TAB expansion

2010-10-08 Thread Sebastian Gibb
quot;.DollarNames") setMethod(".DollarNames", signature(x="A"), function(x, pattern)grep(pattern=pattern, x=c("slotA", "slotB"), value=T)) a <- new("A", slotA=1, slotB=2) a$sl # doesn't print slotA/slotB > a$ What I'm doing wro

Re: [R] own TAB expansion

2010-10-09 Thread Sebastian Gibb
Am Samstag, 9. Oktober 2010, 08:39:36 schrieb Deepayan Sarkar: > On Fri, Oct 8, 2010 at 6:19 AM, Sebastian Gibb wrote: > > Hello Duncan, > > > > thank for your advice, but it doesn't work like expected: > > > > setClass(Class="A", represen

[R] Turning ppp into im in spatstat

2010-10-24 Thread Sebastian Schutte
st.im$xrange and my_first.im$yrange and found it to be congruent with the bbox of the ppp. It would be very nice if someone could give me hint on why this error occurs and whether or not there is a possible workaround. Thanks in advance, Sebastian Schutte ___

Re: [R] Extending a plot in a loop

2010-11-10 Thread Sebastian Gibb
a <-read.table(x[i], header = TRUE,sep = ",", quote = " > ", dec = ".") > attach(radiation.data) > plot(i*Hour*60+Minute,PAR_avg,main="PAR",xlab="Hour",ylab="Par") > dev.print(device=postscript, "C:/graph5.eps&quo

[R] Gap between graph and axis

2010-11-22 Thread Sebastian Rudnick
f precipitation, the min value of precipitation is 0 as well. I tried to fix this via the fig parameter, but I have no idea how to do it at all. I hope anyone can help. Thanks a lot, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.c

Re: [R] How to search the name of dataset on database

2010-11-27 Thread Sebastian Gibb
ide commented, > minimal, self-contained, reproducible code. Hello, try data(); Bye, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.htm

[R] multipanel plots

2011-01-04 Thread smriti Sebastian
hi, i have attached a doc file..Is this graph can be plotted using R?Plz help regards, smriti __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html a

[R] mean by year of ts object

2010-08-11 Thread Sebastian Kruk
Dear R-help list users, I have a ts object and I would like to make a new one that contain mean by year. Is there a direct way of do it? Thks, Sebastián. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] previous work on linking to ROOT data structures

2010-08-22 Thread Sebastian White
Hello, I was told that work had been done to use R with the CERN developed framework "ROOT" but can't find anything on your site. Please point me to whatever has been done. Sebastian White Sebastian White, Physics Deprtment Brookhaven National Laboratory Offiic

[R] invert order

2010-09-01 Thread Sebastian Kruk
Dear R-help list users, I have a huge vector of numbers, how I can invert orden? For example x <- 1:1000 I would like to obtain x_r <- 1000:1 Thanks, Sebastian. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/list

Re: [R] gsub() issue...

2011-05-17 Thread Sebastian Gibb
ot;\n". That's why text != original Try original <- "INFILTRATION INF_BASE *\n *AIRCHANGE=1" Bye, Sebastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://w

Re: [R] submit R package

2011-05-17 Thread Sebastian Gibb
Hello Yan, please use an empty password and write an e-mail to c...@r-project.org afterwards. Bye, Sebastian > Dear all, > > I'm just wondering how to submit a package to cran? > I followed the instruction, using anonymous as username and my email > address as password, b

  1   2   >