similar to: density() function: differences with S-PLUS

Displaying 19 results from an estimated 19 matches similar to: "density() function: differences with S-PLUS"

2010 Sep 28
2
Table with different digit number
Hi! I have a table representing both absolute and relative frequency, for example (code to get example data under the signature): Italy Germany absolute 100 105 relative 40.51 41.18 How can I print 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
2010 Jun 03
2
moving average on irregular time series
Hi all, I wonder if there is any way to calculate a moving average on an irregular time series, or use the rollapply function in zoo? I have a set of dates where I want to check if there has been an event 14 days prior to each time point in order to mark these timepoints for removal, and can't figure out a good way to do it. Many thanks in advance! Gustaf Example data:
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
Hi! I need to import in R some SAS dataset (sas7bdat). I found two functions to do it: "read.ssd" from the package "foreign" and "sas.get" from "Hmisc". df = read.ssd(libname = path2data, sectionnames = "sasSmallDataset", tmpXport = path2data, tmpProgLoc = path2data, sascmd = path2sas) sas.get(libraryName = path2data, member =
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]]
2012 Oct 07
1
BioConductor package: 'oligo'
Dear Help, After loading the pd.Citrus library and checking the DataFrame, I ran > the R code for: > > 1) 'oligo' > > > > {> library(pd.citrus) > Loading required package: RSQLite > Loading required package: DBI > > data(pmSequence) > > > show(pmSequence) > DataFrame with 341730 rows and 2 columns > fid sequence > <integer>
2011 Sep 30
3
error while using shapiro.test()
hey all, I'm just getting used to R and i'm having issues when it comes to reading my data in rows rather than columns. any good advice would be much appreciated ! here is the error: > data1 <- read.table(file.choose(),header=T) > x1 <- c(data1[1,1:5]) > shapiro.test(x1) Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) : 'x' must be atomic
2015 Aug 17
2
Segfaults after upgrade to Debian Jessie
On Thu, 2015-08-06 at 16:10 +0200, Stephan Bosch wrote: > Since the extdata plugin is not part of the normal Debian packages (not > afaik anyway), you likely compiled and installed the extdata plugin > manually in the past while using Dovecot 2.1. Do that again, but use > this repository: http://hg.rename-it.nl/pigeonhole-0.4-sieve-extdata/ I'm just trying to install this now,
2015 Aug 17
2
Segfaults after upgrade to Debian Jessie
On Mon, 2015-08-17 at 14:13 +0200, Stephan Bosch wrote: > but until then you can avoid this by using the the exdata hg revision before tip > (57c8d3e6b562). Great, thanks for the quick reply, that fixed the compilation problem. I'm still getting a segfault though. This time the backtrace is: Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was
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
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 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
2009 Nov 09
1
categorization
Hi All, I have a dataset with a column named "Condition", Sample Condition 1 c20 2 c20 3 c10 4 c10 5 c9 6 c9 7 c5 8 c5 9 c20 10 c10 Could you let me know the fastest way to change c20->"AA", c20->"BB", c9->"CC", c5->"DD"
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
2018 Feb 14
0
Unexpected behaviour in rms::lrtest
Hello. One of my teaching assistants was experimenting and encountered unexpected behaviour with the lrtest function in the rms package. It appears that when you have a pair of non-nested models that employ an RCS, the error checking for non-nested models appears not to work. Here is a reproducible example. > library(rms) Loading required package: Hmisc Loading required package: lattice
2009 Mar 24
0
repolr output
Hello all, I am unsure of how to interpret the output from a Generalized Estimating Equation analysis of an ordinal response. I hope someone can enlighten me. The analysis was done using package 'repolr'. The data consists of a Score on a 3-point scale from 56 Subjects after repeatedly washing their hands with soap. Two soap Products were tested, each panelist washed 10 times = 10
2011 Sep 10
0
npreg: plotting out of sample, extremely large bandwidths
Hello r-help, I am using the excellent np package to conduct a nonparametric kernel regression and am having some trouble plotting the results. I have 2 covariates, x1 and x2, and a continuous outcome variable y. I am conducting a nonparametric regression of y on x1 and x2. The one somewhat unusual feature of these data is that, to be included in the dataset, x1 must be at least as large as x2.
2015 Aug 17
0
Segfaults after upgrade to Debian Jessie
Andrew Beverley schreef op 17-8-2015 om 14:05: > On Thu, 2015-08-06 at 16:10 +0200, Stephan Bosch wrote: >> Since the extdata plugin is not part of the normal Debian packages (not >> afaik anyway), you likely compiled and installed the extdata plugin >> manually in the past while using Dovecot 2.1. Do that again, but use >> this repository:
2015 Aug 17
0
Segfaults after upgrade to Debian Jessie
Andrew Beverley schreef op 17-8-2015 om 14:35: > On Mon, 2015-08-17 at 14:13 +0200, Stephan Bosch wrote: >> but until then you can avoid this by using the the exdata hg revision before tip >> (57c8d3e6b562). > Great, thanks for the quick reply, that fixed the compilation problem. > > I'm still getting a segfault though. This time the backtrace is: Still looks like the