Displaying 9 results from an estimated 9 matches for "sommacal".
2010 Sep 28
2
Table with different digit number
...rint a different number of decimal digits? I try to transform to
as.character, but cells result aligned to left and I don't like this
solution. At the end of my work I need to export the table to HTML, so this
can be do also with xtable package.
Thanks in advance for your help.
Nicola Sturaro Sommacal
--
Quantide srl
http://www.quantide.com
________________________________________________________
This is the code to get the data.frame with the data above:
df = data.frame(italy = c(100,40.51), germany = c(105, 41.18))
row.names(df) = c("absolute", "relative")
[[alternat...
2011 Dec 15
4
Undocumented functions
Hi!
I am building a package. This package will not submitted to CRAN.
I write the help files for the most important functions of my package, I
cannot write it for all functions. This may sounds strange, but so there!
I know that all user-level functions should be documented, so I have to
move my undocumented functions to a non-user-level. It's right?
To move my functions to a
2010 Mar 25
1
Read SAS data
...return code was 2
from sas.get:
Error in if (status != 0) { : argument is of length zero
I have SAS 9.0 and R 2.10.1 running on Windows XP Pro.
Can you help me to found a solution or can you provide an alternative way to
import SAS data directly from R?
Thank you very much.
--
Nicola Sturaro Sommacal
Quantide srl
http://www.quantide.com
[[alternative HTML version deleted]]
2010 Nov 02
5
density() function: differences with S-PLUS
Hello!
Someone know what are the difference between R and S-PLUS in the density()
function?
For example, I would like to reply this simple S-PLUS code in R, but I don't
understand which parameter I should modify to get the same results.
S-PLUS CODE:
density(1:1000, width = 4)
R-CODE:
density(1:1000, bw = 4, window = "g", n = 50, cut = 0.75)
I obtain the same x values, but
2010 Jul 27
2
Sum list elements
Hi!
I have a list of 24 elements, all of the same type (dataframe, for example).
I am looking for an alternative to mylist[[1]] + mylist[[2]] + ... +
mylist[[24]] to obtain the sum.
Anyone can help me?
Thanks in advance.
Nicola S.
[[alternative HTML version deleted]]
2010 Jul 29
1
Different decimal places in a matrix
Hi!
I have a ftable object in which some row contains integers and some other
contains a percentage that I would like to show with two digits after the
dot.
I tried something like ftblP[index,] = as.character(round(ftblP[index, ],
2)) where the index vector contains the number of the rows containing a
percentage. My workaround works but it shows all numbers aligned to left,
while I prefer that
2011 Oct 18
1
avoid s3 methods
Hello everybody.
My issue arise when I build a package with my functions. This package is for
personal purposes only and it will not submitted to CRAN.
Anyway, this may be an opportunity for myself to clear the S3 methods
concept. I read the R manual and some books about R programming but they are
usually S4 oriented.
I call a function plot.days(). When I check the package I obtain some
2011 Nov 22
1
Compile R package under Windows
Hi.
I need to compile an R package under Windows, to get a zip file.
I can't used the web services, because it is avalaible only for the current
version of R while I need of a package compiled with R 2.13.1.
The package contain C code that requires the GSL C library.
In your experience, what is the best way to compile an R library? I read
the R manuals, now I need some tricks with
2010 Nov 03
1
smooth: differences between R and S-PLUS
Hi!
I am studying differences between R and S-PLUS smooth() functions. I know
from the help that they worked differently, so I ask:
- exist a package that permit to have the same results?
- alternatively, someone know how can I obtain the same results in R, using
a self made script?
I know that S-PLUS use the 4(3RSR)2H running median smoothing and I try to
implement it with the code below. I