similar to: Help using Hmisc / Latex

Displaying 20 results from an estimated 4000 matches similar to: "Help using Hmisc / Latex"

2006 Dec 25
1
Hmisc - some latex problems
If I use latex with describe: (faithful is the Old faithful data) latex(describe(faithful),file="describe.tex") then the first few lines of describe.tex are \begin{spacing}{0.7} \begin{center} \bf faithful \\ 2 Variables~~~~~ 272 ~Observations \end{center} I have two problems. First, I don't know what package the environment "spacing" comes from. (There is also a
2007 Aug 31
2
Bugreport on integration of Sweave and latex beamer
I think I have isolated a problem with integration between Sweave and beamer. Could you please see the file: http://www.mayin.org/ajayshah/tmp/bugdemo.Rnw Unfortunately, it uses some of my internal libraries, so you can't run it. When I put it through Sweave, I get: http://www.mayin.org/ajayshah/tmp/bugdemo.tex which is, of course, a generic latex file which you can read and
2007 Nov 26
1
pass lm( ) a char vector as the variables to be included
Dear Everyone in list: I am writing some codes to automate the process of fitting linear models where the names of variables of models are produced and stored in character vectors. But I have problems to pass the vectors to the lm( ) because I don't know how to strip the quotation marks automatically. Here are the codes of the example of lm( ): ## Annette Dobson (1990) "An Introduction
2008 Jan 23
5
latex{Hmisc} cannot find xdvi on MAC OS X
Hello. I am posting this on behalf of a student in my class. I have been introducing them to R. I suspect that the problem I need help with is not so much an R issue, but a MAC config issue, but I don't have enough MAC experience to know what to do. Anyway, on to the problem. We are using Frank Harrell's Hmisc and Design packages. This student also wishes to use the latex formatting
2006 May 23
3
Regression through the origin
[This email is either empty or too large to be displayed at this time]
2007 Aug 13
1
p value statistic for lm object
Hi, I conduct a univariate regression with lm function. I would like to get the p value for the regression. Is there a method that would enable me to extract the p value into a variable. Thanks. Arjun Bhandari ************************************************************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
2004 Aug 25
3
Win-Edt and Sweave
Hello, Does anyone knows if there is any plugin for Sweave to run on WinEdt, or any other windows Latex editor? Many thanks, JP
2000 May 03
2
GLM available book recommendation
Howdy, I looked at the references in the R and S-Plus literature to find a good introduction/reference to GLM. When I then went to Amazon it seemed to me that all the recommended books are out of print. Can anyone give me a recommendation which _available_ book to get? --Ragnar -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2012 Jul 27
1
Understanding the intercept value in a multiple linear regression with categorical values
Hi! I'm failing to understand the value of the intercept value in a multiple linear regression with categorical values. Taking the "warpbreaks" data set as an example, when I do: > lm(breaks ~ wool, data=warpbreaks) Call: lm(formula = breaks ~ wool, data = warpbreaks) Coefficients: (Intercept) woolB 31.037 -5.778 I'm able to understand that the value of
2004 May 30
1
summary.lm
I ran across this error the other day while using lm(). I confess that I haven't used it for awhile and haven't been tracking the changes between versions of R. However, the piece of code below is a tiny modification of the example in the help file for "lm". I just separated the commands apart for clarity. A similar piece comes from the help file for
2003 Feb 16
2
download CRAN packages and proxy config.
Dear R users, I'm starting to get acquainted with R. I've been reading the manual, and I understood that if I wanted to install a user written package on R, I could do it directly from the Internet, by typing the line install.packages("quantreg") in an R session. To my surprise this command did not work, nor did the command "update packages from CRAN..." from the menu
2006 Sep 25
3
Best use of LaTeX listings package for pretty printing R code
This is what I have been using. Does anyone have a better way? In particular I would like to see letters in comment strings not stretched so much. Thanks -Frank \documentclass{article} \usepackage{listings,relsize} \lstloadlanguages{R} \newcommand{\lil}[1]{\lstinline|#1|} \begin{document} \lstset{language=R,basicstyle=\smaller,commentstyle=\rmfamily\smaller, showstringspaces=false,%
2014 May 10
2
Duda_TEST DE WALD
Hola a todos y todas, Gracias por vuestro apoyo en cantidad de preguntas anteriores, de nuevo os escribo para compartir una duda: Estoy trabajando con un modelo bien sencillo, es una regresión simple, pero me gustaría comprobar la significación estadística de cada uno de los coeficientes de regresión en el modelo. La idea es hacer un contraste de hipótesis. Me he descargado el paquete
2014 May 12
2
Duda_TEST DE WALD
Buenos días, Gracias Carlos, siguiendo el ejemplo que comentas, esto es lo que he introducido en el Scrip de RStudio: *library(xlsx)* *library(xlsxjars)* *library(rJava)* *library(aod)* *R<-read.csv("2002.CSV", sep=";", dec=",", header=T)* *attach(R)* *group<-gl(2,670,1340,labels= c("AVE", "Log.Imports.Value.in.1000.USD"))*
2008 Jun 08
1
exponential distribution
Dear all, I've tried to solve the Es. 12, cap 4 of "Introduction to GLM" by Annette Dobson. It's about the relationship between survival time of leukemia patients and blood cell count. I tried to fit a model with exponential distribution, first by glm (family gamma and then dispersion parameter fixed to 1) and then with survreg. They gave me the same point estimates but the
2012 Sep 15
1
Interpretation of result in R
I am trying to do a quasipoisson regression to know if the frequency of drinking of my subject is related to temperature. The problem is that I'm not sure how to interpret my result. 1) Since my result is signifiant, can I tell that the frequency of drinking of my subject increase linearly or exponentially? 2) When I want to quantify the increase, do I need to do an exponential
2003 Aug 27
2
Basic GLM: residuals definition
Dear R Users, I suppose this is a school boy question, but here it is anyway. I'm trying to re-create the residuals for a poisson GLM with simulated data; x<-rpois(1000,5) model<-glm(x~1,poisson) my.resids<-(log(x)- summary(model)$coefficients[1]) plot(my.resids,residuals(model)) This shows that my calculated residuals (my.resids) are not the same as residuals(model). p 65 of
2011 Dec 04
6
Problema (¿bicho?) en función lm, R 2.14.0
Hola: Al tratar de utilizar la función lm R explota, no se si se trata de un problema de mi máquina o me he dado de bruces con un bicho. Después de intentar depurar mi código he probado lo más básico, abrir R (probado en consola y Rkward) y lanzar los ejemplos de lm, esto es lo que me encuentro: ---------- Corte desde la consola ------------------- R version 2.14.0 (2011-10-31) Copyright (C)
2004 Mar 26
3
model fitting
I am trying to fit a normal linear model with response y and predictor x and two factors sex and group. I would like each combination of sex and group to have individual slopes and then subsequently have parallel slopes. I tried the model y ~ x*sex*group and it seemed to work for the first case.. Is this how it is supposed to be done? For the second the model y ~ sex + group seems to work. In
2013 Nov 29
2
Listas en R
Hola. Me interesa meter una serie de regresiones lineales en una lista a la que voy a denominar L. El problema es que a posteriori necesito sacar valores de esas regresiones. Sin embargo, al llamar a L[1] este no es un objeto del tipo "lm" sino que es del tipo "list" y no puedo aplicarle funciones relacionadas con la regresión (tal y como puede ser hacer un summary para