search for: quantide

Displaying 14 results from an estimated 14 matches for "quantide".

2010 Sep 28
2
Table with different digit number
...nt 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") [[alternative HTML versi...
2010 Mar 25
1
Read SAS data
...path2sas, keep.log = TRUE) where path2data is the directory on which is contained the file sas, sasSmallDataset.sas7bdat are the data and path2sas is the path to SAS (C:/Programmi/SAS/SAS System/9.0/sas.exe). I obtain the following messages: from read.ssd: SAS failed. SAS program at Z:/projects/QUANTIDE/import2R/.sas The log file will be import2R.log in the current directory Warning messages: 1: In file.symlink(oldPath, linkPath) : symlinks are not supported on this platform 2: In read.ssd(libname = path2data, sectionnames = "sasSmallDataset", : SAS return code was 2 from sas.get:...
2009 Jan 23
3
Table Modification
I am trying to construct a two-way table where, instead of printing the two-way frequencies in the table, I would like to print the values of a third variable that correspond to the frequencies. For example, the following is easily constructed in R > fact1 <- factor(sample(LETTERS[1:3],10,replace=TRUE)) > fact2 <- factor(sample(LETTERS[25:26],10,replace=TRUE)) > fact3
2009 Oct 20
2
Interpretation of VarCorr results
Dear all, I'm working with a model to estimate components of variance by using the lme() function. The model is as the following: model=lme(fixed=X~1+as.factor(station),data=myData,na.action=na.exclude,rand om=~N+1|spliceOrHoming) Where X is the response measured variable, station is treated as fixed effects factor, N is a continuous variable, and spliceOrHoming is a (ordered)
2009 Jan 16
5
Value Lookup from File without Slurping
Dear all, I have a repository file (let's call it repo.txt) that contain two columns like this: # tag value AAA 0.2 AAT 0.3 AAC 0.02 AAG 0.02 ATA 0.3 ATT 0.7 Given another query vector > qr <- c("AAC", "ATT") I would like to find the corresponding value for each query above, yielding: 0.02 0.7 However, I want to avoid slurping whole repo.txt
2009 May 05
8
limits
Hey, what is the R function for the mathematical limit ? e.g. to calculate and return the amount that the expression X^2 +X +2 approach as X approach 2 (X-> 2) thanks hassan [[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
2009 May 04
0
Java-R
Dear R user We would be interested to talk with someone, living in Milan (Italy) area, with good experience in Java-R based applications development. We can provide good R skills but we are poor java programmers Can anyone help? Thanks in advance for any help -- Andrea Spano' Quantide s.r.l. andrea.spano at quantide.com Il messaggio trasmesso pu? contenere informazioni di carattere confidenziale rivolte esclusivamente al destinatario. Ne ? vietato l'uso, l diffusione, la distribuzione o la riproduzione da parte di altre persone e/o entit? diverse da quelle specificate. Nel...
2011 Sep 09
3
split variable / create categories
Hi, is there a function or an easy way to convert a variable with continuous values into a categorial variable (with x levels)? here is what I mean: I want to transform x: x <- c(3.2, 1.5, 6.8, 6.9, 8.5, 9.6, 1.1, 0.6) into a 'categorial'-variable with four levels so that I get: [1] 2 2 3 3 4 4 1 1 so each element is converted into its rank- value / categorial-value (in
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
2009 May 05
1
self organizing map advice for categorical data
....table(...), and readLines(...) (Jason Rupert) 34. Re: normality test for large a large dataset ? (Greg Snow) 35. Cox Proportional Odds Model (Steve Jaffe) 36. Code of the max() function (Paul Smith) 37. help_if command_new column (barbara horta e costa) 38. Java-R (andrea.spano at quantide.com) 39. Re: Hierarchical Diagram of Networks in sna or otherwise? (jebyrnes) 40. Re: help_if command_new column (David Winsemius) 41. Re: Surface for R outside of R (Francisco J. Zagmutt) 42. Producing a legend successfullly (Steve Murray) 43. Re: Code of the max() function (David...
2012 Mar 06
0
milanoR
Good afternoon, MilanoR.net is proud to announce the first MilanoR meeting on Tuesday 8th May 2012 at 18:00. Venue: Fiori Oscuri Bistrot Via Fiori Oscuri 3 IT-20122 Milano www.fiorioscuri.it Agenda: Introduction Andrea Spano' Quantdie Srl Past, present and future of R Stefano Iacus, Department of Economics, Business and Statistics, University of Milan and R Development Core Team R and
2013 Oct 03
1
Problem with makePSOCKcluster R3.0.1
Hello, I am using function makePSOCKcluster to make parallel computation on 3 EC2 Amazon machines. I have a passwordless between machines and ssh is correct. In the R 2.15.1 release this function works correctly. Installing R 3.0.1 on my EC2 machines makePSOCKcluster does not produce the cluster. If I run the function with outfile="" option, I obtain this message Error in
2012 Nov 20
1
method show
Hello the list, As a simple example: > rm(list = ls())> setClass("tre", representation(x="numeric"))> setMethod("show", "tre", def = function(object) cat(object@x))[1] "show"> setMethod("summary", "tre", def = function(object) cat("This is a tre of value ", object@x, "\n"))Creating a generic