Displaying 20 results from an estimated 5000 matches similar to: "xtable without a loop alongside a ggplot"
2001 Jun 02
2
inout() in splancs working properly?
I have a problem with function 'inout()' in package 'splancs' on CRAN-R
Version 1.2.3 under FreeBSD4.3-STABLE.
The following script produces and draws points and a polygon-surrounded
area. Repeating the same script many times shows, that points on the
polygon-line often, but not always, are outside of the polygon-area.
library(splancs)
# dataset with polygon (convex
2012 Mar 18
1
Namespace dependency not required
Hi,
I am working at adding namespace to my packages, carefully following the
doc "Writing R extensions" and some threads on the web. However I cannot
find clear explanation about how to best deal with the import or
importFrom functions in the name space. To make it short:
To declare dependencies in the description file either after Depends:
(packages including functions that are
2007 Jan 23
0
Questions about xtable and print.xtable
I have been using the wonderful xtable package lately, in combination
with Sweave, and I have a couple of general questions along with a
more particular one.
I'll start with the particular question. I basically have a 1x3 array
with column names but no row names. I want to create a latex table
with column setting set to "|rrr|". I want the column names to
appear, but the
2009 May 26
2
Using package "exams" and xtable
Hello,
I am trying to use the package "exams" to construct problem sets.
I have constructed an exercise which generates a list of integers and asks
the student to compute the median.
rx is the vector of n numbers
>str(rx)
num [1:16] 21 9 8 18 4 12 17 2 9 7 ...
I want to print out the entire vector as part of the problem.
When I use \Sexpr(rx) only the first value (in this case
2001 Oct 11
2
Where's MVA?
Hi All:
Package TSERIES is stated to depend on MVA. However, there is no MVA package to be found under the list of package sources.
Best wishes,
ANDREW
tseries: Package for time series analysis
Package for time series analysis with emphasis on non-linear and non-stationary modelling Version: 0.7-6
Depends: ts, mva, quadprog
Date: 2001-08-27
Author: Compiled by Adrian
2007 Aug 09
1
Need Help: Installing/Using xtable package
Hi all,
Let me know if I need to ask this question of the bioconductor group.
I used the bioconductor utility to install this package and also the
CRAN package.install function.
My computer crashed a week ago. Today I reinstalled all my
bioconductor/R packages. One of my scripts is giving me the following
error:
in my script I set:
library("xtable")
print.xtable(....
and receive this
2009 Jun 19
0
Sweave and xtable floating issues -- SOLVED
Dear all,
I've recently made in LyX a report using Sweave and run into troubles
with xtable() generated LaTeX tables. One example, xtable() commands
inside floats (table, box (minipage), etc.) will make the LaTeX
compilation fail. Another, if four-five xtable() commands are run in a
sequence, at least one of the generated tables will strangely hop onto
the next page.
The culprit is that
2009 Jul 29
2
xtable formatting: RED for negative numbers?
I've been experimenting recently with the fantastic Sweave/xtable
combination for generating latex. In the xtable vignette, I found this
great example of printing a ts object by months.
Is there a way to modify this code to generate RED numbers inside xtable for
negative results in x.ts?
Thanks in advance.
- Ken
# Sweave/xtable snippet below
2005 Aug 30
2
xtable
I have installed package xtable with
su -c 'R CMD INSTALL xtable'
and got this promising feedback:
* Installing *source* package 'xtable' ...
** R
** data
** help
>>> Building/Updating help pages for package 'xtable'
Formats: text html latex example
* DONE (xtable)
Despite that, R returns:
Error: couldn't find function "print.xtable"
2009 Jul 29
1
xtable formatting: RED for negative numbers?
I've been experimenting recently with the fantastic Sweave/xtable combination
for generating latex. In the xtable vignette, I found this great example of
printing a ts object by months.
Is there a way to modify this code to generate RED numbers inside xtable for
negative results in x.ts?
Thanks in advance.
- Ken
# Sweave/xtable snippet below
2013 Feb 17
1
xtable nlme
Hola a todos
Les consulto por un problema con xtable y nlme, tomando un ejemplo del
manual de nlme para obtener los resultados en latex utilizando xtable,
se puede utilizar el siguiente código, pero hay un problema y causa
error.
library(nlme)
library(xtable)
fm1 <- nlme(height ~ SSasymp(age, Asym, R0, lrc),
data = Loblolly,
fixed = Asym + R0 + lrc ~ 1,
2011 Aug 22
1
Problem with xtable
Dear all,
I am having trouble creating LaTex tables using the xtable command. I am
using the bayesm package to analyse data. However, I am unable to generate
LaTex tables converting the output from summary(out$deltadraws.) I have made
several attempts using xtable but have been unsuccessful and receive the
below error message. Does anyone have any ideas on how I can solve this
problem or an
2004 Jan 18
0
xtable feature addition suggestion
Hi, attached follows a patch to add a feature that I think it would be useful having in the print.xtable function of the xtable package. It adds the option 'tabular.environment' to that function, which could be used to set an alternative tabular environment, as the name already suggests.
This is particulary useful when dealing with long tables, which do not fit in a single page. In the
2007 Dec 05
0
Export to LaTeX using xtable() - Control the digits to the right of the separator [solved]
Hello everyone,
The thread title speaks for itself. Here's the code that worked for me:
> numSummary(finance[,"Employees"], statistics=c("mean", "sd", "quantiles"))
mean sd 0% 25% 50% 75% 100% n NA
11492.92 29373.14 1777 3040 4267 6553 179774 53 5
> str(numSummary(finance[,"Employees"],
2010 Jul 21
1
xtable with ifelse statement
Hi there,
I'm very new on R and I hope someone can help me to solve the problem in
using the ifelse statement with the xtable function(library xtable).
I'm trying to get the printing of the elements of two lists in a sorted way.
These two list have in common the their names.
I will try to give an example:
the first list looks like this:
$code1
Code code1
Nation
2008 Sep 24
1
paste in xtable
Dear R help:
I am trying to use paste(), within an ifelse() statement to insert latex
commands into an object that has been created using xtable(). I cannot
make the strings behave as I would like, the '\t' is creating a tab, the
usual method of '\\t' is not working either - nor is any series of
backslashes. The xtable object, I think, automatically alters the
strings. How
2007 Feb 01
1
xtable and column headings
When I generate a LaTeX table using xtable I have been setting column names
to strings with LaTeX code in order to get features like subscripts in the
column headings. I recently had to reinstall xtable and discovered that all
my LaTeX column headings were printing out in LaTeX code rather than with
LaTeX formatting. For example, with the older xtable I could give my column
a name something like
2011 Sep 28
1
Printing an xtable with type = html
I have been playing around with producing tables using xtable and the
type = "html" argument when printing. For example, if xtbl is the output
of a dataframe which has been run through xtable, using the command:
print(xtbl, type = "html",
html.table.attributes = "border = '1', align = 'center'")
I would be interested to see other examples of
2004 Jan 08
2
Sweave & xtable
I am just starting to learn Sweave (really neat tool). I am pretty
early in the learning curve (I had to think a moment ago whether a # or
% was the appropriate comment character).
I have successfully incorporated simple graphics and outputs, but am
having trouble getting a latex (xtable) table to function properly.
Latex is seemingly treating the xtable code as input or verbatim text.
That
2016 Apr 26
1
Issue while building xtable on R on Ubuntu 15.04
Please help in the below mentioned issue.
Regards
Zaid Golwala
-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Zaid Golwala
Sent: Wednesday, April 06, 2016 1:35 PM
To: r-help at R-project.org
Subject: [R] Issue while building xtable on R on Ubuntu 15.04
Hi,
I am trying to build xtable on R on Ubuntu 15.04 but I get following error :
+ R CMD