Displaying 16 results from an estimated 16 matches similar to: "Pretty-printing multiple regression models"
2006 Aug 31
0
Ooops, small mistake fixed (pretty printing multiple models)
The R code I just mailed out had a small error in it. This one
works. Now what one needs is a way to get decimal alignment in LaTeX
tabular objects.
x1 <- runif(100); x2 <- runif(100); y <- 2 + 3*x1 - 4*x2 + rnorm(100)
m1 <- summary(lm(y ~ x1))
m2 <- summary(lm(y ~ x2))
m3 <- summary(lm(y ~ x1 + x2))
# What I want is this table:
#
#
2009 Apr 08
1
Sweave problem, with multicolumn tables from R to LaTeX
Hi there,
I have been using the example provided bellow for a while, and It was
working without any problem. Nevertheless, just since 2-3 days is not
working, probably because I did update.packages(). I have tried to
re-install the older versions of the packages Hmisc() and xtable(), but
still does not work. Can you run this example, and tell me if you got
the same problems?
I use
2010 Dec 22
5
regression
Hi dear all,
suppose that s is a statistic code;
i have a matrix (x) which has 7 columns (1=x1,2=x23=x3,4=x4,5=x5,6=x6
and7=y)
and has 20 rows. i want to do linear reggression like
reg<-lm(x[,7]~1+x[,1]+x[,2]+.......+x[,6])
but i want to do delete i th row for nrows times and create regression model
like above and compute each models' "s" statistics and list them. but i
could
2011 Oct 27
2
help with paste
Hello gurus,
I have some variables, and i am creating combinations for analysis in the
end i need these variables to be displayed like "LEPTIN+SAA+PTH". currently
i am using loop to perform this. I would appreciate any pointers to do it
without the loop.
> mols=c("LEPTIN","SAA","PTH","sEGFR")
> samples=mols[1:3]
> samples
[1]
2020 Apr 29
1
grid 4.0 generates wrong results when adding two complex units by sum()
Hi,
In grid 4.0, adding two complex units by `sum()` seems to give wrong results.
In the following example, `u1 + u2` gives the correct result, but `sum(u1, u2)` also `sum(unit.c(u1, u2))` give the wrong results.
```
library(grid)
u1 = 0.4*sum(unit(1, "inch"), unit(1, "mm"))
u2 = 0.1*sum(unit(1, "inch"), unit(1, "mm"))
u1
# [1] 0.4*sum(1inches, 1mm)
2010 Mar 01
1
Saving multiple plots named with part of the original file name
Hello All,
I am trying to open all files within a folder and create multiple histograms
from each file, *and* have it save with the original file name plus some new
information. The way I have it set up right now, I keep saving over each new
graph. I can turn the history on and see them all, but I want them all to
save as unique files as well. Idealy they would be "filename CHN 1mm Length
2011 Feb 06
1
anova() interpretation and error message
Hi there,
I have a data frame as listed below:
> Ca.P.Biomass.A
P Biomass
1 334.5567 0.2870000
2 737.5400 0.5713333
3 894.5300 0.6393333
4 782.3800 0.5836667
5 857.5900 0.6003333
6 829.2700 0.5883333
I have fit the data using logistic, Michaelis?Menten, and linear model,
they all give significance.
> fm1 <- nls(Biomass~SSlogis(P, phi1, phi2, phi3), data=Ca.P.Biomass.A)
2009 Jan 07
0
Residual deviance (cross-post from sci.stat.consult)
Dear all,
I'm trying to fit a statistical model to series of measurements.
Unfortunately, my knowledge of statistics is rather limited, so I'm a
bit at loss of what is going on with the model.
First of all, I've prepared a histogram. Then, I've tried to fit a Poisson model to express the relation between the middle points of
classes (mids) and the corresponding frequencies
2009 Jan 05
0
S-video & composite output
I finally got nouveau (from git) working on my PowerBook G4 12".
Now, my next step is to get it to drive my TV. I have it connected via
Apple's "mini-DVI to Video Adapter", which comes with both an S-video
and a composite output.
When I start X, `xrandr' tells me:
% xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1360
2011 Jan 10
0
Q about dpi, fonts, gnome, Xorg etc
This has been puzzling me for some time and despite bothering Auntie
Google rather a lot, I've yet to find a satisfying answer.
As an old-time (since 1981) unix and X guy, I've generally been fairly
well-able to get fonts to behave in a rational manner. My needs are
pretty simple - I just want 8-point (or 9-point etc) fonts to appear on
the screen as 8-point font - ie more or less 8 *
2009 Mar 30
1
List assignment in a while loop and timing
Hello R users
I have question about the time involved in list assignment.
Consider the following code snippet(see below). The first line creates
a reader object,
which is the interface to 1MM key-value pairs (serialized R objects) spanning 50
files (a total of 50MB). rhsqstart initiates the reading and I loop, reading
each key-value pair using rhsqnextKVR. If this returns NULL, we switch to the
2008 Oct 23
3
high cpu load
I think I have narrowed down the problem why smbd processes are soaking
up so much CPU on our file server. Here are some selected samples from
strace output as I attached to the offending smbd process:
Culprit #1
I took three sample snapshots, each lasted for several seconds, and I
took them
minutes apart from each other. I noticed many lines involved stat'ing
the
a single file in the
2009 Sep 24
1
unexpected behavior of `[<-` method for class unit.arithmetic
Dear list,
Consider the following,
library(grid)
w = unit.c(unit(1, "in"), unit(2, "in"))
w2 = w + unit(1, "mm")
w[2] <- 0
w2[2] <- 0
convertUnit(w, "mm")
#[1] 25.4mm 0mm
convertUnit(w2, "mm")
#Error in grid.Call("L_convert", x, as.integer(whatfrom),
as.integer(whatto), :
# INTEGER() can only be applied to a
2009 Jan 10
5
[Bug 19491] New: S-video & composite output
http://bugs.freedesktop.org/show_bug.cgi?id=19491
Summary: S-video & composite output
Product: xorg
Version: 7.4
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: monnier at
2009 Apr 01
0
回复: R-help Digest, Vol 73, Issue 32
Dear sir, How to do bilinear time series in R?Is there any functions or packages? thank you!
-----Sincerely yours
Kuangnan Fang 方匡南 敬上
department of statistics ,Economics school,Xia men University.
Fujian Province (361005) China
Mobile Phone:15860721915 SKYPE: ruiqwy
MSN Messenger: ruiqwy@hotmail.com
QQ:39863401
--- 09年3月31日,周二, r-help-request@r-project.org
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
AUTHORS | 17 ++++++
README | 10 +++
conf/ovirt-agent | 12 ++++
conf/ovirt-db-omatic | 12 ++++
conf/ovirt-host-browser | 12 ++++