similar to: possible improvement to ?with examples

Displaying 20 results from an estimated 700 matches similar to: "possible improvement to ?with examples"

2003 Nov 20
1
glm inconsistent behaviour (PR#5213)
Full_Name: Finn Knudsen Version: 1.8.0 OS: windows 2000 Submission from: (NULL) (194.192.22.33) The problem seems to happen when running the GLM. When both multiplicative effects and an offset is present. I experienced this problem on my own dataset when using af Poisson familiy with log link function but the behaviour can be reproduced with the following code. I do not know if it is a bug, but
2004 Jul 05
2
Why does summary does not produce output?
Hello, I'm a starting user of R. I have installed R 1.9.1 and winedt 5.4 If I run the example from written with winedt. The summary command does not produce any output. It does when I repeat the command manualy in R. Can someone explain me what can be the problem? library(MASS) data(anorexia) anorex.1 <- glm(Postwt ~ Prewt + Treat + offset(Prewt), family =
2005 Oct 29
2
LaTex error when creating DVI version when compiling package
Dear Listers, I got this message when compiling a package: * creating pgirmess-manual.tex ... OK * checking pgirmess-manual.text ... ERROR LaTex errors when creating DVI version. This typically indicates Rd problems. The message is quite explicit but I struggled a lot before understanding that the trouble comes from a single file "selMod.rd" among 44 topics. Even though I have
2012 Mar 04
1
p-value from GLM
Dear all, I am fitting a GLM similar to library(MASS) anorex.1 <- glm(Treat~Postwt+Prewt,family = binomial, data = anorexia) I have found two ways of computing the p-value of the fitted model: pval1 <- 1-pchisq(anorex.1$deviance,anorex.1$df.residual) pval2 <- 1-pchisq(anorex.1$null.deviance - anorex.1$deviance, anorex.1$df.null - anorex.1$df.residual) pval2 is
2018 Oct 17
2
methods(class = class(<obj>)) - improve for |cl.| > 1 ?
With new "strict" settings in R-devel, the following glm() example > data(anorexia, package = "MASS") > fm <- glm(Postwt ~ Prewt + Treat + offset(Prewt), family = gaussian, data = anorexia) > methods(class = class(fm)) Warning in grep(name, row.names(info)) : argument 'pattern' has length > 1 and only the first element will be used Warning in
2008 Feb 06
2
GLM coefficients
Dear all, After running a glm, I use the summary ( ) function to extract its coefficients and related statistics for further use. Unfortunately, the screen only displays a small (last) part of the results. I tried to overcome the problem by creating/saving an object "coef" for coefficients of the model and export/save it e.g. as a cvs document. While I succed with this operatiion, I do
2008 May 05
3
troubles with R CMD check and examples under Ubuntu gutsy
Dear listers, I was used to package pgirmess under Windows with everything OK, but, for the first time, I had a trial this afternoon on Ubuntu 7.10 gutsy (I have a double boot computer and work more and more under unix) and R 2.7.0. Everything went OK except this: sudo R CMD check pgirmess ..... * checking examples ... ERROR Running examples in 'pgirmess-Ex.R' failed. The error most
2018 Oct 19
0
methods(class = class(<obj>)) - improve for |cl.| > 1 ?
I think this would be a good change. I think most users use the 'methods(class = <...>)' function to answer the question, "what methods can I call on objects with these classes?", and in that context I think it would be sensible for the function to accept more than one class. Kevin On Wed, Oct 17, 2018 at 7:15 AM Martin Maechler <maechler at stat.math.ethz.ch>
2007 Nov 15
0
Package to make stepwise model selection using F or Chisq test
Hi, I looking for a method that use F or Chisq test instead of AIC in a stepwise modelo selection. I try the grasp package using the grasp.step.anova, but It dont work. > library(grasp) Carregando pacotes exigidos: gam Carregando pacotes exigidos: splines Carregando pacotes exigidos: mda Carregando pacotes exigidos: class > data(anorexia,package="MASS") > > m1 <-
2003 Apr 24
2
R-1.7.0 build feedback: NetBSD 1.6 (PR#2837)
R-1.7.0 built on NetBSD 1.6, but the validation test suite failed: Machinetype: Intel Pentium III (600 MHz); NetBSD 1.6 (GENERIC) Remote gcc version: gcc (GCC) 3.2.2 Remote g++ version: g++ (GCC) 3.2.2 Configure environment: CC=gcc CXX=g++ LDFLAGS=-Wl,-rpath,/usr/local/lib make[5]: Entering directory `/local/build/R-1.7.0/src/library' >>> Building/Updating
2011 Jun 06
1
list demographics
Hi all, I got curious about something, so in proper scientific fashion I obtained some data and analyzed it. Question: what is the female participation in the R-help email list? Data: the most recent list postings, obtained from the website. I took my best shot at classifying the names given in the email header as male/female, but ended with a fair number of unknowns. This dataset had 2797
2003 May 05
1
Error in library(MASS) : package/namespace load failed
Dear all, I have installed 1.7.0 on my Win XP and want to use MASS. But I get this error message: > library(MASS) Error in namespaceExport(ns, exports) : undefined exports: abbey, accdeaths, Aids2, Animals, anorexia, austres, bacteria, beav1, beav2, biopsy, birthwt, ... Error in library(MASS) : package/namespace load failed I therefore again downloaded VR.zip. When I extracted the files I
2001 Feb 06
3
RWin 1.2.1: Can't access sample datasets, e.g. MASS
I'm pretty sure I'll feel like [more of] an idiot but... Using Rgui working in a fresh, blank directory. > require(MASS) Loading required package: MASS [1] TRUE > data(cabbages) Warning message: ======> Data set `cabbages' not found in: data(cabbages) <===== > ls() [1] "last.warning" > search() [1] ".GlobalEnv" "package:MASS"
2009 Oct 06
3
Plot
Hi All, Days <- matrix(c("Monday", "Tuesday", "Wed", "Thu", "Fri", "Sat", "Sun"),7,1) Hum <-matrix(c(56,57,60,75,62,67,70), Temp<-matrix(c(76,77,81,95,82,77,83), Using the above information I want plot humidity and temperature on Y-axis and days on X-axis Any help is appreciated! [[alternative HTML version
2010 Jan 18
1
Exporting a data.frame to excel using sqlSave - adds a character ' to values
Hi all, I am using RODB to export multiple data.frames into one excel file with multiple sheets. One thing I can't seem to unserdatand is way the command adds the character: ' To the beginning of each of my (non numeric) values. Here is an example code: library(RODBC) library(MASS) data(anorexia) save2excel <- function(x, t.name) sqlSave(xlsFile, x, tablename = t.name, rownames =
2011 Jul 09
3
Confusing piece of R code
m0<-epxression((4*theta1*theta2-theta3^2)/(2*x*theta3^2)-0.5*theta1*x) params<-all.vars(m0) this reads all the params from m0 so theta1,2 and 3 correct? params<-params[-which(params=="x")] checks which params are multiplied by x? np<-length(params) for(i in 1:6){ esp<-get(sprintf("m%d",i-1))
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
Ben Bolstad experienced something odd while running R CMD check over a package of ours using r-devel (yesterday's fresh). He tracked down the problem to a vignette calling 'library(MASS)'. Please kindly ignore if this is a known (and temporary) issue. Laurent ----- Forwarded message from Ben Bolstad <bolstad@stat.berkeley.edu> ----- Return-Path:
2007 Nov 20
5
yuv - rgb conversion without contrast decrease.
Hello list, When I convert an yuv pixel into rgb using the recipies in http://www.fourcc.org/fccyvrgb.php I get an accurate color conversion but the contrast seems to be decreased. If i write, e.g., the pixel directly into an sdl yuv_overlay, I get a well-contrasted frame, however, if I convert the pixel to rgb and call SDL_MapRGB, I get a contrast-decreased frame. Thanks, Ribamar
2006 Feb 11
2
heatmap.2 in gplots (PR#8587)
Full_Name: Shane Neph Version: 2.2.1 OS: mac os x Submission from: (NULL) (71.113.43.247) While I found the names of the package authors and maintainer, I was unsuccessful in finding any contact information. The preliminary documentation for heatmap.2 is inconsistent in at least a couple of places when discussing the suppression of one or more dendrograms (and column/row ordering in general).
2005 Jan 09
0
[LLVMdev] Version Control Upgrade?
Hi everyone, Reid said: > Of the tools available, it seems that only subversion, arch, and > monotone are suitable for our purposes. But, we'd love to hear your > thoughts; especially if you have first-hand experience with these tools. Apart from using CVS as a client (as everyone does), I've only ever used Aegis (previous employer, for ~3 years) and Perforce (the employer