[R] Online, automatic evaluation of class assessment R scripts

2014-06-03 Thread Werner W.
indeed already on the web but I might not have found the right search terms. At least I was not able to find anything about this. Thanks a million, Werner [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Problem with new(er) R version's matrix package

2014-04-27 Thread Werner W.
ere 15 at ILLS.R#465: systemfit(eqsys, method = "SUR", data = dat, restrict.matrix = restrmat, control = sysfit.contr) I will now further try to create a small, reproducible example. I also have to better understand what the procedure is doing to be able to decide whether the prev

[R] Problem with new(er) R version's matrix package

2014-04-25 Thread Werner W.
R 2.12.0, I suppose that the problem is not my data. If anyone has an idea about this, I would really appreciate your hints. Thanks! Werner [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/li

[R] R book or other materials for teaching a one week class on data analysis

2013-07-06 Thread Werner W.
on to as a reference or guideline over the course. Would anyone have a good suggestion what book to use or even experience with using one in a similar course? Thank you very much for any ideas! Werner __ R-help@r-project.org mailing list https

[R] Changing the base of geom_bar in ggplot

2012-11-30 Thread Werner
clear. How do you change the 'base'-line? x <- data.frame(val=c(1.5, 3, -1.4, -1, 2), lab=letters[1:5]) ggplot(data=x, aes(x=lab, y=val)) + geom_bar(stat="identity") Many thanks for your help! Best regards, Werner -- View this message in context: http://r.789695.n4.nab

[R] Simple Likert count data visualization

2012-11-09 Thread Werner W.
ch I could abuse for this purpose? Many thanks for considering my query. Werner __ 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] Calculate Az (A sub z) with R?

2011-07-15 Thread Hans Werner Borchers
x27;sdtalt' > package, but I have yet to find a way to calculate Az, since it require the > phi operator. The Phi --- not Psi, see the paper --- function is simply the cumulative normal distribution, so you can use pnorm() instead. --  Hans Werner > For a relevant paper/discussion

Re: [R] vectors cross-product V1 x V2

2011-07-08 Thread Hans Werner Borchers
about 20 times faster than cross() on my machine. Thanks, Jeff, for the hint. I think most of the functions in package 'pracma' are vectorized (if appropriate), but this one was a real oversight. I has been corrected in version 0.7-1 (on R-Forge). -- Hans Werner [[alter

Re: [R] Multiple area plots to share the same x-axis

2011-03-30 Thread Werner Heijstek
I'm going to go ahead and shamelessly bump this question up the list. I saw that out of the 34 posts yesterday, only 9 did not receive an answer. Perhaps someone who finds this question trivial is checking his e-mail right now :) Werner On Tue, Mar 29, 2011 at 10:20 AM, jovian wrote: &g

Re: [R] questions regarding stat_smooth in ggplot area plot

2011-03-25 Thread Werner Heijstek
m/2010/03/arrange-multiple-ggplot2-plots-in-same.html. In this example, the x-axes are only similar because the data sets have the same range. In effect, nothing more happens than that two images are plotted on top of one another. Now how to "merge" these two (and later more) area plots o

Re: [R] Print to console from within Sweave script

2010-11-30 Thread Werner
Hi Ista, that works perfectly! Thanks a million, Werner -- View this message in context: http://r.789695.n4.nabble.com/Print-to-console-from-within-Sweave-script-tp3065270p3065462.html Sent from the R help mailing list archive at Nabble.com

[R] Print to console from within Sweave script

2010-11-30 Thread Werner W.
Sweave redirects all output though. Any suggestions? Thanks a lot for considering my question. All the best Werner __ 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] function which can apply a function by a grouping variable and also hand over an additional variable, e.g. a weight

2010-10-01 Thread Werner W.
summaryBy or aggregate or the like. Is there a function to do this? Currently I do this with loops but it is very slow. I would be very grateful for any hints. Thanks, Werner __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] How to comment out entire code parts in Sweave files

2010-09-11 Thread Werner W.
doing this when updating old files and debugging) Is there a way to do this with an equivalent of \iffalse \fi or is there some "stop" command after which Sweave just stops processing? Thanks a lot for any suggestions. Werner __ R-hel

Re: [R] data.frame: return all rows where at least one...

2010-08-06 Thread werner w
Thanks for the answers! The any function was basically exactly what I was looking for. (previously I used something with rowSums() which is probably not the most efficient way.) Thanks so much, Werner -- View this message in context: http://r.789695.n4.nabble.com/data-frame-return-all-rows

[R] data.frame: return all rows where at least one...

2010-08-06 Thread Werner W.
negative. Many thanks, Werner __ 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] how can I look at .Internal(model.matrix(t, data))?

2010-03-05 Thread Werner W.
so much! Werner einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] Two-way multivariate analysis of variance (single group of subjects)

2010-03-05 Thread Tobias Werner
Hello, I have ratings of a single group (10 subjects) for 16 audio samples on a semantic differential with 14 items. The audio samples are varied by two factors: circuit and content - each with 4 levels. I want to do an exploratory analysis of variance to find out if there are different mean rati

Re: [R] mboost: Interpreting coefficients from glmboost if center=TRUE

2010-02-07 Thread Kyle Werner
r blackboost methods, which do not return scalar coefficients that are readily extractable.) On Sun, Feb 7, 2010 at 6:31 PM, David Winsemius wrote: > > On Feb 7, 2010, at 5:03 PM, Kyle Werner wrote: > >> I'm running R 2.10.1 with mboost 2.0 in order to build predictive >

[R] mboost: Interpreting coefficients from glmboost if center=TRUE

2010-02-07 Thread Kyle Werner
I'm running R 2.10.1 with mboost 2.0 in order to build predictive models . I am performing prediction on a binomial outcome, using a linear function (glmboost). However, I am running into some confusion regarding centering. (I am not aware of an mboost-specific mailing list, so if the main R list i

Re: [R] Once again: Error: cannot allocate vector of size

2010-01-22 Thread werner w
Thanks Matthew, you are absolutely right. I am working on Windows XP SP2 32bit with R versions 2.9.1. Here is an example: d <- as.data.frame(matrix(trunc(rnorm(6*27136, 1, 100)),ncol=6)) d[,4:5] <- trunc(100*runif(2*27136, 0, 1)) d[,6] <- trunc(1000*runif(27136, 0, 1)) for (i in 4:6)

[R] Once again: Error: cannot allocate vector of size

2010-01-21 Thread Werner W.
? Many thanks for any hints! --Werner __ Do You Yahoo!? Sie si n Massenmails. http://mail.yahoo.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the post

Re: [R] Remove term from formula for predict.lm

2010-01-19 Thread werner w
Thanks a lot for the answers! Somehow I thought there will be a facility to modify the formula. But setting unwanted variables to zero will of course work and maybe is simple enough. Thanks again! -- View this message in context: http://n4.nabble.com/Remove-term-from-formula-for-predict-lm-t

Re: [R] Remove term from formula for predict.lm

2010-01-19 Thread werner w
- x2) > predict(eval(mod$call), list(x3=1, x4=1)) 1 4.684909 > Many thanks, Werner -- View this message in context: http://n4.nabble.com/Remove-term-from-formula-for-predict-lm-tp1017686p1017749.html Sent from the R help mailing list

[R] Remove term from formula for predict.lm

2010-01-19 Thread Werner W.
e used. I could use model.matrix etc. to do the predictions but it would be very helpful to know a simpler way. Thanks so much, Werner __ verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com __ R-help@r

[R] Functions for QUAIDS and nonlinear SUR?

2010-01-08 Thread Werner W.
eed or any pointers to a somewhat sure way to go in R? Thanks so much, Werner __ Do You Yahoo!? hutz gegen Massenmails. http://mail.yahoo.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailma

[R] GBM package: Extract coefficients

2009-12-14 Thread Kyle Werner
I am using the gbm package for generalized boosted regression models, and would like to be able to extract the coefficients produced for storage in a database. I am already using R to automatically generate formulas that I can export to a database and store. For example, I have been using Dr. Harr

Re: [R] Getting AIC from lrm in Design package

2009-10-25 Thread Kyle Werner
Dear David, Thank you for the reference to Frank Harrell's excellent text. I will read up to correct my statistical deficiencies offline. Thank you. On Sun, Oct 25, 2009 at 1:24 PM, David Winsemius wrote: > > On Oct 25, 2009, at 12:55 PM, Kyle Werner wrote: > >> David,

Re: [R] Getting AIC from lrm in Design package

2009-10-25 Thread Kyle Werner
likelihood ratio) + 2k, with the best model (assuming the same observations) having the lowest AIC. I hope that my understanding of this fundamental formula is correct, but please let me know if not. Thanks. On Sun, Oct 25, 2009 at 10:51 AM, David Winsemius wrote: > > On Oct 25, 2009, a

[R] Getting AIC from lrm in Design package

2009-10-25 Thread Kyle Werner
I am trying to obtain the AICc after performing logistic regression using the Design package. For simplicity, I'll talk about the AIC. I tried building a model with lrm, and then calculating the AIC as follows: likelihood.ratio <- unname(lrm(succeeded~var1+var2,data=scenario,x=T,y=T)$stats["Model

Re: [R] weird "vector size cannot be NA/NaN" problem

2009-09-21 Thread Werner Wernersen
finds out the root of the problem? (I'll send the vector by email) As I said in the earlier email, the data is imported with read.dta of the foreign library and the only manipulation I do is dividing the values of two columns by each other. Thanks a million, Werner > > I h

[R] weird "vector size cannot be NA/NaN" problem

2009-09-09 Thread Werner Wernersen
actually happens with many of the variables from the various tables which originally are in Stata .dta format and which I import with the foreign library. I am working on windows XP and R 2.9.1 I assume that this description is too vague but if anybody has an idea, I would appreciate

[R] Changing font to times for EMF graphics

2009-09-08 Thread Werner Wernersen
f but even there the font does not appear as times. Is there a way to get a times font in an emf file or is it even a restriction of the file format? I am on Win XP and R 2.9.1. Many thanks, Werner __ R-help@r-project.org mailing list https://st

Re: [R] Viewing function code

2009-08-10 Thread Werner W.
Brilliant, that works! Thanks a lot for the quick help, Werner Dimitris Rizopoulos-4 wrote: > > well, you almost have it -- try this: > > # two methods for the merge generic > methods(merge) > > merge.default > merge.data.frame > > > I hop

[R] Viewing function code

2009-08-10 Thread Werner W.
function? Thanks a million, Werner -- View this message in context: http://www.nabble.com/Viewing-function-code-tp24895753p24895753.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] solving system of equations involving non-linearities

2009-08-06 Thread Werner W.
about the objective. Thanks for the help, Werner Ravi Varadhan wrote: > > You have two options: > > 1. The `BBsolve' function in the "BB" package to solve this system of 3 > equations. > 2. Try `nleqslv' function in the "nleqslv" packa

[R] solving system of equations involving non-linearities

2009-08-06 Thread Werner Wernersen
rvations i, the equations will unlikely hold exactly and solving will require some closeness measure like the sum of the squared deviations or so. Is there any function in R suitable for solving this problem? Thanks so much for your help, Werner __ R-h

Re: [R] Getting the C-index for a dataset that was not used to generate the logistic model

2009-07-17 Thread Kyle Werner
Jul 16, 2009 at 9:18 PM, Frank E Harrell Jr wrote: > Kyle Werner wrote: >> >> Does anyone know how to get the C-index from a logistic model - not using >> the dataset that was used to train the model, but instead using a fresh >> dataset on the same model? >> >&

[R] Getting the C-index for a dataset that was not used to generate the logistic model

2009-07-16 Thread Kyle Werner
cients to the variables). It doesn't simply apply the new data to the model from logit.lrm that I generated before. So, can someone point me in the right direction for evaluating the model that I built with trainingData, but getting the C-statistic against my validationData? Thanks so

[R] Getting the C-index for a dataset that was not used to generate the logistic model

2009-07-16 Thread Kyle Werner
different coefficients to the variables). It doesn't simply apply the new data to the model from * logit.lrm* that I generated before. So, can someone point me in the right direction for evaluating the model that I built with trainingData, but getting the C-statistic against my validationData?

Re: [R] Insignificant variable improves AIC (multinom)?

2009-06-13 Thread Werner Wernersen
or predictions then I add a "random" value since I cannot reject that the coefficient is actually zero instead of what I estimated. One just never sees someone presenting regression coefficients which are not significant although model selection procedures are often based on the AIC..

[R] Insignificant variable improves AIC (multinom)?

2009-06-12 Thread Werner Wernersen
insignificant (Pr(>Chisq)=0.39). Thus, the improved AIC suggests to keep the variable but the Anova suggests to drop it. I am sure this is due to my lack of understanding of these models but could someone help me out with a pointer what my mistake is? Thanks so much, Wer

Re: [R] portable R editor

2009-03-12 Thread Werner W.
file, a link to the ini files on the USB stick is created in the user's application data directory in the local harddrive of the PC used. But note that this does not work if there exists a Tinn-R directory already in the user's application data dir in local harddrive. All the best, Wern

Re: [R] portable R editor

2009-03-05 Thread Werner W.
Tinn-R folder. I realized that startup of Tinn-R is now slower and I haven't worked with that installation seriously yet but everything seems all right so far. Regards, Werner jcfaria wrote: > > Could you to post here details about the Tinn-R truly portable with > JauntePE

Re: [R] portable R editor

2009-03-04 Thread Werner W.
und a freeware application which helps to make Tinn-R truly portable: JauntePE (http://www.portablefreeware.com/?id=1452) virtualizes access to the registry and file system and can easily be used to make also the ini settings portable. Thus, everything will be on the USB stick. Thanks again, Werner --

[R] portable R editor

2009-03-02 Thread Werner Wernersen
facility pretty much like Tinn-R has those. I like Tinn-R but it seems like there is only a very old version of Tinn-R which works standalone. Can anyone recommend an adequate editor? Many thanks and all the best, Werner __ R-help@r-project.org mailing

[R] Set of standard city size symbols as known from atlases?

2008-11-20 Thread Werner Wernersen
classes of cities. I know I can get different symbols with the pch option in plot but the question aims at if such more standard symbols of atlases are available. Many thanks, Werner __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] R system on USB: how to enter relative R environment path in Eclipse/StatET?

2008-11-14 Thread Werner Wernersen
the usb key) Many thanks for any hints, Werner __ 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

[R] Methods for showing statistics over space

2008-10-25 Thread Werner Wernersen
od weekend, Werner __ 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] retrieving matrix elements by giving pairs of row AND column numbers?

2008-10-22 Thread Werner Wernersen
Many thanks, Greg! Now I know why I thought that this does not work: I probably tried it with the string names of the columns and rows instead of their numbers. The former does not work (I think). Thanks to all again! Werner - Ursprüngliche Mail Von: Greg Snow <[EMAIL PROTEC

Re: [R] retrieving matrix elements by giving pairs of row AND column numbers?

2008-10-22 Thread Werner Wernersen
I thought I've tried this already and that it doesn't work -- madness. Anyway, Jeff kindly sent me the solution: m[cbind(c(1,2,3),c(1,3,1))] does the trick. Thanks, Werner Hi, this is probably a very trivial question but I can't figure out the right terms to find the

[R] retrieving matrix elements by giving pairs of row AND column numbers?

2008-10-22 Thread Werner Wernersen
is problem and always used some awkward transformations to get around it. But as I know R, there is probably some slick way to do this. Thanks!!! Werner __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] factors in dynlm?

2008-10-18 Thread Werner Wernersen
Hello, how can one use factors in dynlm? I would like to add month dummies to the equation. Or is creating 12 vectors the way to do it? Thanks a lot, Werner einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com

[R] dynlm and lm: should they give same estimates?

2008-10-15 Thread Werner Wernersen
Hi, I was wondering why the results from lm and dynlm are not the same for what I think is the same model. I have just modified example 4.2 from the Pfaff book, please see below for the code and results. Can anyone tell my what I am doing wrongly? Many thanks, Werner set.seed(123456) e1

[R] map + some arbitrary locations' heights: some kind of perspective or contour plot possible?

2008-10-10 Thread Werner Wernersen
make a perspective plot or contour plot or the like from this little data? Or maybe some function I can abuse? Thanks for any suggestions, Werner __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] syntax to restrict coefficient in lm()

2008-10-04 Thread Werner Wernersen
oth Y and -b1*X ? Thanks for considering my question! All the best, Werner __ 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 pr

[R] R2HTML: output from for-loops

2008-09-23 Thread Werner Wernersen
e html file. What am I doing wrongly? Thanks, Werner __ Do You Yahoo!? Sie sin Massenmails. http://mail.yahoo.com __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-hel

[R] R2HTML, HTMLStart(): are plots send to HTML?

2008-09-18 Thread Werner Wernersen
Hi, I just want to make sure that I really misunderstood the documentation: Is HTMLStart redirecting plots as well so that they are included in the HTML report? I tried the below and the plot is not included in the HTML file. Or did I miss some switch or so? Many thanks, Werner > HTMLSt

Re: [R] String search: Return "closest" match

2008-08-26 Thread Werner Wernersen
That works perfectly, great. Thanks a lot for that Richard! Werner - Ursprüngliche Mail Von: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> An: Werner Wernersen <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED]; [EMAIL PROTECTED] Gesendet: Dienstag, den 26. August 2008, 14

[R] String search: Return "closest" match

2008-08-26 Thread Werner Wernersen
y this should this one should be returned. agrep() returns all "close" matches but unfortunately does not return the degree of closeness otherwise selection would be easy. Is there such a function already implemented? Thanks a million for your help, Werner

Re: [R] converting coordinates from utm to longitude / latitude

2008-08-20 Thread Werner Wernersen
Beaudette <[EMAIL PROTECTED]> An: r-help@r-project.org CC: Werner Wernersen <[EMAIL PROTECTED]> Gesendet: Dienstag, den 19. August 2008, 23:29:34 Uhr Betreff: Re: [R] converting coordinates from utm to longitude / latitude If you would like to convert the entire shapfile check out

Re: [R] converting coordinates from utm to longitude / latitude

2008-08-20 Thread Werner Wernersen
. Thanks so much Dylan! Werner - Ursprüngliche Mail Von: Dylan Beaudette <[EMAIL PROTECTED]> An: r-help@r-project.org CC: Werner Wernersen <[EMAIL PROTECTED]> Gesendet: Dienstag, den 19. August 2008, 23:29:34 Uhr Betreff: Re: [R] converting coordinates from utm to longit

Re: [R] converting coordinates from utm to longitude / latitude

2008-08-20 Thread Werner Wernersen
these definition string parameters which could have been informative. Since I am not a geographer either, I probably used the wrong terms for searching. Anyway, now it works. Thanks so much for the help, Jim! Best regards, Werner - Ursprüngliche Mail Von: Jim Regetz <[EMAIL P

Re: [R] converting coordinates from utm to longitude / latitude

2008-08-19 Thread Werner Wernersen
hint? That's very much appreciated! Thanks, Werner - Ursprüngliche Mail Von: Werner Wernersen <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Gesendet: Dienstag, den 19. August 2008, 20:28:29 Uhr Betreff: converting coordinates from utm to longitude / latitude Hi, is

[R] converting coordinates from utm to longitude / latitude

2008-08-19 Thread Werner Wernersen
, Werner __ Do sragenden Schutz gegen Massenmails. http://mail.yahoo.com __ 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] Threshold vector error correction models

2008-08-12 Thread Werner Wernersen
Hi, is anyone aware of estimation functions for threshold vector error correction / threshold cointegration models? I didn't find anything for R using RSeek or Google. Thanks a lot for any pointers, Werner __ Do You Yahoo!? hutz

[R] Object-oriented programming in R for Java programmers?

2008-07-27 Thread Werner Wernersen
or me. Is there any brief tutorial on oo programming in R especially for people who have done oo in Java or C++ before? That would be really helpful. Many thanks and have a great Sunday, Werner __ Dem pfiffigeren Postei

[R] RExcel - foreground server

2008-05-19 Thread Werner Wernersen
ivie.ac.at/rcom/excel/index.html, but it does not help. What am I missing? Many thanks, Werner __ Dem pfiffigeren Posteingang. __ R-help@r-project.org mailing list https://stat.ethz.

[R] parameters for a function in list format

2008-05-16 Thread Prof. Dr. Joachim Werner
tried several versions and got no error indication, but judging from the results only the first specified group of list parameters is used and the further ones are ignored. Since the code has more than 3 lines, I will send it only on request. Thanks for help Joachim Werner

[R] ESS and Xemacs version 21.5.28

2008-05-02 Thread Werner Stanzl
) ... The above init.el worked for earlier versions of Xemacs. Does anyone know how to fix this? Thanks. Werner [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Set of well distinguishable line types?

2008-04-29 Thread Werner Wernersen
That's a nice set of line types! I'll use these now. I thought because there are so many sophisticated color schemes there might be some line style schemes as well. Thanks for your help Jim and Richard, Werner --- Richard Pearson <[EMAIL PROTECTED]> schrieb: > I'

[R] Set of well distinguishable line types?

2008-04-28 Thread Werner Wernersen
good looking and distinguishable line types. Many thanks for your help, Werner __ 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

Re: [R] Sweave - print \n ?

2008-03-29 Thread Werner Wernersen
he \n. All the best, Werner --- Abhijit Dasgupta <[EMAIL PROTECTED]> schrieb: > you haven't escaped the \ for the \n, I think. Your > line should be > cat("\\hline \\n"). You did escape the \ for hline, > though. > > Abhijit Dasgupta, Ph.D >

[R] Sweave - print \n ?

2008-03-28 Thread Werner Wernersen
call hline() hline() in the chunk, then I get \hline \hline in the tex code without a linebreak in between. Thanks for any hints, Werner E-Mails jetzt auf Ihrem Handy. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-

Re: [R] Sweave does not parse \Sexpr{}

2008-03-19 Thread Werner Wernersen
I am not aware of that I have ever used R2HTML. However, your suggestion worked! Using Sweave("test.Rnw", syntax="SweaveSyntaxNoweb") does the trick and now the \Sexpr{} tags are being parsed again. Many, many thanks Max! All the best, Werner --- Max Kuhn <[EM

Re: [R] Sweave does not parse \Sexpr{}

2008-03-19 Thread Werner Wernersen
es: [1] stats graphics grDevices datasets tcltk utils methods base other attached packages: [1] svSocket_0.9-5 svIO_0.9-5 R2HTML_1.58 svMisc_0.9-5 svIDE_0.9-5 loaded via a namespace (and not attached): [1] tools_2.6.2 > Thanks, Werner --- Duncan Murdoch <[EMAI

Re: [R] Sweave does not parse \Sexpr{}

2008-03-19 Thread Werner Wernersen
ods base other attached packages: [1] svSocket_0.9-5 svIO_0.9-5 R2HTML_1.58 svMisc_0.9-5 svIDE_0.9-5 loaded via a namespace (and not attached): [1] tools_2.6.2 --- Tobias Verbeke <[EMAIL PROTECTED]> schrieb: > Werner Wernersen wrote: > > Hi, > > > &g

[R] Sweave does not parse \Sexpr{}

2008-03-19 Thread Werner Wernersen
give me a hint what's wrong? Many thanks, Werner Lesen Sie Ihre E-Mails auf dem Handy. __ 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

[R] recover masked functions?

2008-03-13 Thread Werner Wernersen
learn about how to manage the pieces. Thanks a million, Werner E-Mails jetzt auf Ihrem Handy. __ 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

Re: [R] glm.fit: "fitted probabilities numerically 0 or 1 occurr

2008-03-12 Thread Werner Wernersen
Thanks Ted and Professor Ripley for the very helpful answers! Now I know what the problem is in my case. All the best, Werner --- [EMAIL PROTECTED] schrieb: > On 11-Mar-08 08:58:55, Werner Wernersen wrote: > > Hi, > > > > could anyone explain to me what this warning

[R] glm.fit: "fitted probabilities numerically 0 or 1 occurred"

2008-03-11 Thread Werner Wernersen
Hi, could anyone explain to me what this warning message exactly means and what the consequences are? Is it due to the fact that there are very extreme observations / outliers included or what is the reason for it? Thanks so much, Werner Machen Sie Yahoo! zu Ihrer Startseite. Los

Re: [R] rrp.impute: for what sizes does it work?

2008-03-05 Thread Werner Wernersen
and browsing the web I found no clear recommendations regarding this topic. Which R function would you recommend for imputing categorical variables / factors? Many thanks, Werner > Hi, > > I have a survey dataset of about 2 observations > where for 2 factor variables I ha

[R] rrp.impute: for what sizes does it work?

2008-03-05 Thread Werner Wernersen
my data? Could you recommend another package for such imputation? I looked at the aregImpute in Hmisc but I don't really understand what it is doing. Thanks a lot, Werner E-Mails jetzt auf Ihrem Handy. __ R-help@r-project.org mailing list

Re: [R] Custom LaTeX tables

2008-02-27 Thread Werner Wernersen
Thanks for the answers! I will play around a bit and maybe I really need to write a custom wrapper than. Best, Werner --- Gabor Grothendieck <[EMAIL PROTECTED]> schrieb: > On Tue, Feb 26, 2008 at 10:58 AM, Werner Wernersen > <[EMAIL PROTECTED]> wrote: > > Hello, > &

Re: [R] column name handling and long labels

2008-02-27 Thread Werner Wernersen
table? df <- data.frame(x=seq(1,3),y=seq(4,6)) df <- upData(df, labels=c(x="X1",y="X2")) print(df2) Thanks again, Werner > > Hi, > > > > I have two loosely related questions which could > make > > my live again a bit easier: > > >

[R] Custom LaTeX tables

2008-02-26 Thread Werner Wernersen
as a group header and sometimes I want some extra horizontal lines in the table and also a multicolumn heading. How do you guys cope with such cases, do you set the table by hand in the end or have you found a neat way to deal with this? Many thanks and regards, Werner

Re: [R] column name handling and long labels

2008-02-21 Thread Werner Wernersen
That's perfect! The subset way is very easy to use and I have to play around a bit more with label() which seems quite complex. Thanks a million, Werner --- Gabor Grothendieck <[EMAIL PROTECTED]> schrieb: > On Thu, Feb 21, 2008 at 6:09 AM, Werner Wernersen > <[EMAIL PROTE

Re: [R] column name handling and long labels

2008-02-21 Thread Werner Wernersen
Thank you very much, Henrique! The comment function is exactly what I was looking for. Regarding 1) why example was bad: The column names don't follow an easy pattern but are more like "s8v2", "s12v3", "s6v1" etc. Kind regards, Werner --- Henrique Dall

[R] column name handling and long labels

2008-02-21 Thread Werner Wernersen
lways match or merge in case of row names. Many thanks, Werner __ 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, min

[R] Connecting from Excel to running R session?

2008-01-30 Thread Werner Wernersen
he data to Excel to do a few things there. Thanks for any hints, Werner __ 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 commente

Re: [R] sqldf error

2008-01-29 Thread Werner Wernersen
I cleaned up the environment and restarted everything and it does work. But I have no idea what it is what is different now. Anyway, it works! Thanks a lot Gabor! Best, Werner > I can't reproduce your error: > > > library(sqldf) > > sqldf("select * from warp

[R] sqldf error

2008-01-29 Thread Werner Wernersen
ness and have updated all packages. Some help would be very much appreciated. Many thanks, Werner __ 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/postin

[R] Discrimination of almost-random time series

2007-11-13 Thread Hans Werner Borchers
imple summary tests do not work, also some of the simpler non-linear tests failed. Thanks, Hans Werner [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the po

[R] micEcon: selection(,method="ml") . Predict method?

2007-09-19 Thread Werner Wernersen
Hi, as I read, maximum likelihood is the better method for estimating selection-biased models. But I also want to predict from that model. Is there any predict method for the selection function when using maximum likelihood estimation in micEcon? I couldn't find any. Many thanks, W

[R] Linear model with svyglm

2007-09-18 Thread Werner Wernersen
Hi, I am a bit unclear if svyglm with family=gaussian is actually a normal linear model including weighting. The goal is to estimate a normal linear model using sample inflation weights. Can anybody illuminate me a bit on this? Thanks a lot! Werner