similar to: Factor function: odd behavior when labels argument contains duplicates?

Displaying 20 results from an estimated 700 matches similar to: "Factor function: odd behavior when labels argument contains duplicates?"

2004 Nov 22
2
Danish characters i R2.0.1 vs R1.9.1 under winXP
Hi all. After upgrading to R2.0.1 i get > "??" [1] "??" > "??" [1] "\370" > "??" [1] "??" Whereas under R1.9.1 i get > "??" [1] "??" > "??" [1] "??" > "??" [1] "??" Any hints apreciated. Steen Steen Ladelund, statistician +4543233275
2006 Mar 06
1
P-values from survreg (survival package) using a clusterterm
Hi all. Belove is the example from the cluster-help page wtih the output. I simply cannot figure out how to relate the estimate and robust Std. Err to the p-value. I am aware this a marginal model applying the sandwich estimator using (here I guess) an emperical (unstructered/exchangeable?) ICC. Shouldent it be, at least to some extend, comparable to the robust z-test, for rx :
2004 Nov 22
1
Left justification af dimnames in tables.
Hi helpeRs. When I do two-ways tables dimnames in columns are almost left-adjusted: <- factor(rbinom(30,1,.3),labels=c("first","second")) > b <- a > table(a,b) b a first second first 21 0 second 0 9 If I do a oneway table however, dimnames are right-adjusted: table(a) a first second 21 9 Actually I must admit I
2004 Apr 29
2
Sweave in makefile under Win XP
Hi all. To automate the production of a document I want to have something like: test.tex : test.Rnw "Sweave("test.Rnw") "| R --no-restore --no-save in a makefile. This however gives an error as R states: Sweave("test.Rnw") : not found. I use R-1.9.0pat (040424 I think) on Win XP. Any suggestions, hints or plain help appreciated. Steen Ladelund
2004 Jun 25
2
Sweave: R code in self defined TeX-commands
Hi, I need to produce a standard report for several variables in Sweave and thus would need the possibility to define a TeX-command which includes R-code like \newcommand{\meansd}[1]{The mean is \Sexpr{mean(#1)} and the standard deviation is \Sexpr{sd(#1)} . } and then just write \meansd{age} in the latex code to get the whole sentence. The above does not work, since
2011 May 04
2
what happens when I store linear models in an array?
I've got a bunch of similar datasets, all of which I've fit to linear models. I'd like to easily create arrays of a specific parameter from each linear model (e.g., all of the intercepts in one array). I figured I'd put the model objects into an array, and then (somehow) I could easily create corresponding arrays of intercepts or residuals or whatever, but I can't the
2003 Nov 18
3
howto improve sharpeness of fonts in a jpg-image produced by R ?
Hi. I've done a standard barplotexample using R1-8.0, redhat8, probably using a GhostScript-integration. How can I improve the "sharpness" of the fonts. See for example the barplot (originally jpg coming from R) which is part of this screendump: http://www.zug.dk/Members/Nielssteenkrogh/1067525916309553166/element_103003161029 I'm not sure where to improve the this. Is it an
2007 Nov 08
2
centile reference chart / clildren growth chart - what package/method to use
We are constructing growth charts (age/weight and age/length) for children with diagnosis that impacts weight/length. But we we don't know how to use R for producing growth charts. We are collection data of Age, Weight and Length. The data are used to produce diagnosis-specific Growth charts (like the CDC Growth Charts:
2004 Feb 28
2
logististic regression (GLM). How to get 95 pct. confidence limits?
Dear R-list. I'm doing af logistic analyses using gml. The model explaines variations in Adverse events infections (0 og 1) using age as explanatory variable. model2d<-glm(formula=AEorSAEInfecBac~Age,family=binomial("logit"),data=emrisk) I want to get predictions with 95% confidence limits for age 30 and age 60. I've been reading the "google" and "search
2007 Mar 19
2
sorting with criteria that are "out of order"
I try to sort this dataframe: [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] "CM" "BARBY" "INCREASED" " 0" " 2" " 0" " 1" " 1" [2,] "CM" "BARBY" "REDUCED" " 0" " 1" " 2" " 2" " 5" [3,] "CM"
2003 Jan 06
3
Depth-argument for sfq?
I''m not a programmer per se (including C), but... I''d like to be able to give the define in sch_sfq.c (of, say, 2.4.20), SFS_DEPTH other values than 128 as an argument on the tc commandline. It could be powers of two up to 2^7 (128) as it seems that 128 is the current maximum. I''m a little anxious to ask the question "How do I do that?" ;-) Instead
2012 Jun 13
1
kern/157863: [geli] kbdmux prevents geli passwords from being entered properly on boot
Hello, Just to let everyone know that this is still an issue. I am trying to install FreeBSD 9.0 amd64 on a Lenovo X121e and I can't get it to accept the geli passphrase during boot. I've confirmed using kern.geom.eli.visible_passphrase=1 that the passphrase is correct, and the same passphrase is accepted when the system is booted up. I've tried disabling kbdmux in
2011 Apr 04
2
gap.barplot doesn't support data arrays?
I am trying to make a barplot with a broken axis using gap.barplot (in the indispensable plotrix package). This works well when the data is a vector: > twogrp<-c(rnorm(10)+4,rnorm(10)+20) > gap.barplot(twogrp,gap=c(8,16),xlab="Index",ytics=c(3,6,17,20),ylab="Group values",main="Barplot with gap") But when the data is an array (for a bar plot with multiple
2003 Dec 15
4
Problems with ICQ etc. on nano-setup
I administer a nano-setup on a dorm-network with a couple of hundred active users. The setup uses 2 x 2 2Mb/s DSLs, meaning two DSLs from each of two different ISPs. It works fine except for some minor glitches: https-sites often kicks users. This was solved by tying outbound https to a single DSL. Not the best solution but it works so far that users dont kicked from the sites anymore. Now
2003 Dec 01
2
wilcoxon-pratt signed rank test in R - drug-effiacy
Hi. I'm going to introduce the R-package for a group of medical doctors later this week and is a little confused about there use of a test named "willcoxon-pratt" for testing if the clinical and biochemical markers has decreased significantly after the use of some drugs for a group of patients. Looking into the R-functions I would in R recommand using a matched-pairs Wilcoxon
2009 Sep 01
5
Including a binary Python Interpreter into a binary R-package for MS Windows
2009/8/30 Uwe Ligges <ligges at statistik.tu-dortmund.de>: [snip] > Guido van Steen wrote: [snip] >> Something that interests me too: What about R's policy with respect to >> including binary files? I saw that developers should include a file [snip] > Please do not include binary files and carefully watch for licenses of those > files (e.g. if GPL'ed, you need to
2005 Feb 01
1
Sessionbased traffic on NANO?
I use the wellknown nano setup (by Christoph Simon) on a few sites with success. From time to time a user approaches me with problems that seems to originate from the fact that only trafic to the samt DST IP on the net will get out the same link. The problem happens with traffic from applications that contact different IPs in the "same session". An example is Anarchy Online, where
2003 Apr 11
1
danish characters - installing R - linux redhat 8.0
I'm using R on a linux redhat 8.0 installation. The special danish characters (ÅØÆæøå) are showed wrong on the screen. Example: yy<-matrix(c(0,2,1,1,8),ncol=1,dimnames=list(c("Brøæå","AGF","AB","Farum","FC-Kbh." ),c("Stemmer"))) barplot(yy[1:5],ylab=names(as.data.frame(yy)),main="5. grade.... ") Any hints? Cand.
2012 Feb 29
2
smbd crashes repeatedly
Samba 3.6.3 on arch linux x86_64 member of an NT4 domain with winbindd Clients' shares become temporary unavailable after unsuccessful open of files. Happens after server has run for some time. I'm unsure if some configuration error could be involved (have researched for some hours) or it is a bug-file candidate? Log contains this: Feb 29 12:11:56 localhost smbd[27433]: #0
2005 Nov 15
1
[LLVMdev] doxygen docs
Chris Lattner wrote: >> I tried generating the docs myself ... doxygen simply refuses to >> create pages for classes defined in anonymous namespaces in cpp files. >> I enabled options such as EXTRACT_ALL, EXTRACT_PRIVATE and >> EXTRACT_LOCAL, but no luck. How is the publicly available >> documentation generated? > > They are generated from the Makefile in