Displaying 20 results from an estimated 8000 matches similar to: "Help with Latex (Hmisc)"
2005 Mar 15
1
How do I call a masked function in a package without a namespace?
Hello,
I work with two packages sna and graph from CRAN resp. Bioconductor. Both
packages have a function called "degree". Therefore one of the functions
is masked by the other and which one gets called depends on the order of
loading. The problem is that both package do not have a namespace,
therefore calling the masked function with "package::degree" does not
work.
2007 Nov 10
1
about R sna package source code
Is anyone know some thing about sna package source code??
I have a question about sna source code,
I need some functions in R sna package,
so I check the source code.
There is a function called efficiency in sna package, but I didn't find the
any code about "efficiency",
anyone know it?
thank you
[[alternative HTML version deleted]]
2009 Jul 14
1
Error installing package sna
Dear R-users,
These days, I have been struggling to install the package sna on my Ubuntu
8.04 laptop. My R version is currently R 2.7.2. And I had no trouble
installing any other packages (including network).
However when I run 'install.packages("sna")', compilation of C codes is ok,
but a syntax error is reported when building help pages and sna does not
want to install.
I
2015 Feb 24
3
alternatives to do.call() when namespace is attached but not loaded?
Dear R-devel
I have a function in a package that essentially provides a wrapper for a
group of functions in another Suggested package (it sets appropriate
defaults for the context, transforms output, etc). I've implemented
this by verifying that the package was loaded with
require(sna)
and then
do.call(snaFunName, args = args)
The rDevel check is requesting that I use
2009 Jan 21
1
Text Outside Lattice Plot
Dear R users
I created the graph at the bottom using xyplot in the lattice package. I
added a title using the main="Title" command in xyplot, however it is
plotted too close to the legend for my liking. To remedy this I increased
the upper margin of the plot using plot(data, position = c(0,0,1,.9)) and
attempted to move "SNA" upwards and to the right. I have tried using a
2007 Nov 24
1
Hmisc: can not reproduce figure 4 of Statistical Tables and Plots using S and LATEX
Dear R-users:
I can not reproduce figure 4 of *Statistical Tables and Plots using S and
LATEX* by Prof. Frank Harrell with the following code:
rm(list=ls())
library(Hmisc)
getHdata(pbc)
attach(pbc)
age.groups <- cut2(age, c(45,60))
g <- function(y) apply(y, 2, quantile, c(.25,.5,.75))
y <- with(pbc, cbind(Chol=chol,Bili=bili))
# You can give new column names that are not legal S names
2008 Feb 27
1
how to convert a table to adjacency matrix used in social network analysis?
Hi Guys,
Do you any one know how to convert a long format table to an adjacency
matrix used in sna? The long table looks like
p1 p2 counts
a b 100
a c 200
a d 100
b c 80
b d 90
b e 100
c d 100
c e 40
d e 60
and I want to convert it to an adjacency matrix which can be used in sna?
Any methods will be appreciated!
btw, besides sna package, is there any better package can be used in social
2009 Apr 29
1
Hierarchical Diagram of Networks in sna or otherwise?
I've been using sna to work with some networks, and am trying to visualize
them easily. My networks are hierarchical (food webs). All of the layout
engines I've tried with gplot don't seem to plot hierarchical networks, as
one would using dot from graphviz. While I could do all of this by
outputting to dotfiles and running it through graphviz, the graphics I get
from R are much
2004 Apr 02
3
social network bug! (PR#6729)
Full_Name: Yoon, hye sung
Version: 1.8.1
OS: window
Submission from: (NULL) (203.255.177.155)
> library(sna)
Warning message:
package sna was built under R version 1.9.0
>
What's this message mean?
2009 Aug 19
2
[Hmisc] latex() with ctable=T inserting unwanted empty line in .tex file when used on summary.formula(method="reverse") object
Dear useRs,
When I'm using Hmisc's latex() function with ctable=TRUE on a summary.formula with method="reverse" object and saving in a .tex file, the latter contains an unwanted empty line which makes compilation fail.
Here is a brief example :
library(Hmisc)
test <- data.frame(a=sample(1:30,10),b=sample(c("good","bad","ugly"),10,replace=T))
2008 Jul 25
2
Package Hmisc, functions summary.formula() and latex(), options pdig, pctdig, eps and prmsd
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080725/bcafe250/attachment.pl>
2009 Jul 20
1
Hmisc improveProb() function
Dear list,
I am trying to work out how the improveProb() function works and how to interpret the results, and I have a few questions. I would be grateful if anyone could shed some light on these.
in the Net Reclassification Improvement section of the output, is the 2P column the two-sided p-value for the differences in classification? So if a limit is set at 0.05, then lower values indicate
2013 Mar 06
1
red SNA
Estimados
Le consulto porque estoy intentando presentar unos datos de alguna forma un
poco distinta, salir un poco de la costumbre.
Primero describo los datos:
Suponiendo una secuencia:
golpe al auto -> torura de vidrio -> rotura de aciento
otro auto
golpe al auto -> -> rotura de aciento , a este por alguna causa no se le
rompio el vidio o esa informaciĆ³n es desconocida.
Esta
2006 Mar 01
2
Weighted networks and multigraphs
I would like to apply network measures (such as betweenness centrality,
upper boundedness, etc.) to a weighted graph with non-integer weights,
defined by a euclidean distance matrix. The package sna provides the
measures that I want to use, but seems only to operate on binary graphs.
I have read work by Mark Newman
(http://aps.arxiv.org/abs/cond-mat/0407503/), who suggests that a
weighted graph
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
Dear all,
I did post this more or less identical mail in a follow up to another
question I posted, but under another heading. I try again, but now
under the correct header.
upon running this code (from the Hmisc library-latex function) I
believe the call to summary.formula is allright and produces wonderful
tables, but the latex command results in a correct formatted table but
where all the
2006 Dec 23
1
Hmisc - latex - table.env not observed
The following code
library(Hmisc)
x = 1:10
y = x
latex(summary(x~y),table.env=FALSE)
latex(summary(cbind(x,y)),table.env=FALSE)
should produce latex output that is not a table. The second one
produces just a tabular, as it should. However, the first one produces a
tabular embedded in a table. (This is the effect if you leave
table.env=FALSE out).
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
2007 Nov 26
2
ftable as latex (with Hmisc?)
Dear List, possibly called Frank,
I tried to create an ftable lookalike of the following data set in LaTeX/Sweave
with summary(formula,..), but I could not get it to work for count tables;
numeric tables work fine.
summary(formula,...,fun="table") does not give the full cross breakdown.
Other suggestions welcome. Note that in the output there should be empty fields
on repeated
2009 Jan 14
1
problems with Sweave and the function latex(HMISC)
latex(s6a2,title="",caption="Baseline vs
zonr",file="",label="Base",long=TRUE,landscape=F, middle.bold=TRUE,here=T,
+
,size="smaller[5]",outer.size="smaller",Nsize="smaller",midsize="smaller")
"latex" is not reconized \as a internalor external command ,
un programma eseguibile o un file batch.
Warning
2004 Jun 21
2
question about latex command in Hmisc
Hi R People:
I got the following error from using the "latex" command from Hmisc;
>latex(bbm)
'latex' is not recognized as an internal or external command,
operable program or batch file.
Warning message:
cmd execution failed with error code 1 in: shell(cmd, wait = TRUE, intern =
output)
>
I was printing a matrix to a Latex File. This worked fine in Version 1.8.
This