Displaying 20 results from an estimated 1000 matches similar to: "Displaying p-values in latex"
2006 Nov 06
0
Hmisc, latex cdec not as expected
Hello all.
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages for a while without this problem, but
after upgrading to R-2.4.0 the problem has occured.
I have mad a clean installation where I uninstalled all earliere version
of R, and I
2006 Nov 06
1
Hmisc, latex cdec not as expected - again
Hello all.
Sorry for reposting this message, but I accedently sent it in
HTML-format the first time.
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages for a while without this problem, but
after upgrading to R-2.4.0 the problem has occured.
I
2005 Aug 16
1
Overall Legend
Hello. I am using R version 2.1.1 on Windows 2000.
I am using a par(mfrow=c(2,2)) statement to produce 4 plots on one screen. I want a single horizontal legend to appear at the top of the four plots. My code is something like this:
par(mfrow=c(2,2))
plot(x,y1)
lines(x,y2)
lines(x,y3)
plot(x,z1)
lines(x,z2)
lines(x,z3)
plot(x,t1)
lines(x,t2)
lines(x,t3)
plot(x,w1)
lines(x,w2)
lines(x,w3)
2009 May 23
2
as.numeric(levels(factor(x))) may be a decreasing sequence
Function factor() in the current development version (2009-05-22)
guarantees that levels are different character strings. However, they
may represent the same decimal number. The following example is derived
from a posting by Stavros Macrakis in thread "Match .3 in a sequence"
in March
nums <- 0.3 + 2e-16 * c(-2,-1,1,2)
f <- factor(nums)
levels(f)
# [1]
2008 Jul 03
1
*** significance with xtable
Hello everybody,
i used xtable to get some latex output, which worked pretty well with
my latex document. But somewhere i missed the part where they explain
how to get these nice significance indicating *** into my latex
table. it just stops right after Pr(> |t|)
thanks in advance
matthias
2006 Apr 11
3
problems with rounding in output
Perhaps someone will have a solution to my more general problem, but
here is the specific one:
I used the round() function to round some estimates to 3 decimal
places. I then sent put the rounded estimates in a matrix and used
latex() to make a LaTeX table from them. However, in my table, there
are estimtes which only have 2 decimal places. I assume that the third
decimal place in these numbers
2009 Oct 02
1
trouble with html() in Hmisc
Dear all
On my system html() conversion of a `latex()' object fails. Follows a
dummy example:
> require(Hmisc)
> data(Angell)
> .object <- cor(Angell[,1:2], use="complete.obs")
> tmp <- latex(.object, cdec=c(2,2), title="")
> class(tmp)
[1] "latex"
> html(tmp)
/tmp/RtmprfPwzw/file7e72f7a7.tex:9: Warning: Command not found: \tabularnewline
2007 Sep 26
1
rpart error: "Error in dimnames(X)"
I'm using rpart to fit a tree using a large dataset: 7000 observations, 4651
variables. All but one of the variables (age) are binary. When I run the
code:
fit1 <- rpart(lowergi ~ ., data=dset,method="class")
I get the error:
Error in dimnames(X) <-list(dn[1L]], unlist(collabs, use.names=FALSE)) :
Length of `dimnames' [2] not equal to array extent
I have no idea
2008 Dec 03
0
Hmisc latex() and Rcmdr numSummary() percentage issues
Dear R users,
I have issues regarding latex() from Hmisc and numSummary() from
Rcmdr. Here's an example:
> library(Rcmdr)
> data(Angell, package="car")
> numSummary(Angell[,"hetero"], statistics=c("mean", "sd", "quantiles"), quantiles=c( 0,.25,.5,.75,1 ))
> .numSummary <- popOutput()
> latex(as.table(.numSummary$table),
2003 Jul 18
2
create a vector looping over a frame
Hello,
I have a data.frame
> names(popA)
[1] "Year" "Series" "Age" "WM" "WF" "HM" "HF" "BM"
[9] "BF" "IM" "IF" "AM" "AF" "Yr"
how do i loop over a subset of variables in this frame to create a vector of
2004 Feb 06
2
vector of factors to POSIXlt
hello,
I have a vector of factors
> str(rcptdt)
Factor w/ 51 levels "1/10/03","1/13/03",..:
> length(rcptdt)
[1] 87
which i want to convert to class POSIXlt to extract the day, so:
a1<-format(rcptdt,"%m/%d/%y")
> length(a1)
[1] 87
and:
a2<-strptime(a1, "%m/%d/%y")
str(a2)
`POSIXlt', format: chr [1:87] "2002-04-18"
2015 Dec 22
2
allow_nets=local in passdb gets "auth: Panic"
Hi,
I have the following configuration in my dovecot.conf for Dovecot 2.2.21:
passdb {
driver = ldap
args = /etc/dovecot/dovecot-ldap.conf.ext
default_fields = allow_nets=local,127.0.0.1,10.255.1.0/24
}
This triggers "auth: Panic" on POP3/IMAP logins as the below:
Dec 22 14:57:39 localhost dovecot: auth: ldap(u0000,::1,<oiF8SHYngqsAAAAAAAAAAAAAAAAAAAAB>): allow_nets:
2014 Jul 14
2
doveadm-server does NOT know fts commands
Hi,
I'm using Dovecot 2.2.13 with Dovecot Director, Doveadm server and FTS.
I want to run doveadm on Director hosts, but Dovecot server on
backend hosts reject "fts *" commands.
On Dovecot Director hosts:
# doveadm fts optimize -u u0001 at example.jp
# echo $?
75
# doveadm fts rescan -u u0001 at example.jp
# echo $?
75
doveadm index -u u0001 at example.jp INBOX
#
2009 May 07
0
Hmisc::latex() help
Dear R-helpers,
I have a data frame (info[[j]]) that looks like this:
necklace originalPosition same run surprise1 pair surprise2
triple surprise3
1 1 1 0 2 2.709511 11
4.81884167930642 110 2.70951129135145
2 1 2 0 2 2.709511 10
1 000 1
3 0 3 NA NA
2010 Dec 02
2
How to call R-squared values from lm's?
I would like to call both p-values and R-squared values from lm's in a function. I can get the p-values from coef(summary(name.lm))[r,c], however, I cannot figure out how to call the R-squared values without manually calling the summary and inserting them in the script - which negates the value of automating the process through a function.
Thanks,
Mike
[[alternative HTML version deleted]]
2004 Nov 02
2
using R in .NET apps
looking for some thoughts on incorporating R functionality to create
histograms of data stored in an informix db. im gonna write the app in .Net
and will use a managed provider to access the data. what R libs might I have
to package in the assemblies? (sorry my Q is general as Ive only just looked
at wanting this yet)
Thanks. Amer.
2009 Feb 28
3
Extract statistics from lm()
Hi, perhaps this question was answered previously however I could not find
them. My problem is how how to extract a particular statistic from the
result given by lm(). For e.g.
ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
group <- gl(2,10,20, labels=c("Ctl","Trt"))
weight <- c(ctl, trt)
>
2004 Apr 02
1
R on Tru64 OSF 5.1
Has anyone achieved a current successful build of R
1.8 or 1.9 or earlier for HPUX Tru 64 OSF 5.1?
There is no binary version of R for HPUX Tru 64 OSF
5.1. The R admin manual mentions that the native make
fails on "Alpha/OSF (aka Tru 64)" and gnu make must be
used instead. There are problems reported with
building R versions around 1.4 from 2002 on R-devel,
some of which were fixed with
2008 Mar 02
0
new to latex to pdf
Dear All,
I'm trying to teach myself latex along with the latex function in Hmisc
and have hit a roadblock that I can't seem to get around. I'd greatly
appreciate any pointers.
I'm running R 2.6.0 on Windows XP and have Miktex 2.7 installed.
I've reproduced the code below, taken from Frank Harrell's latexsummary
introduction. My question relates to getting a pdf
2007 May 10
1
t value two.sided and one.sided
Hi,
on a
> summary(lm(y~x))
are the computed t-values for two.sided or one.sided. By looking on some
tables they seem like they are for two.sided. Is it possible to have them
for one.sided? If this makes sense...
Thanks.
[[alternative HTML version deleted]]