similar to: deprecate "freq" argument to hist

Displaying 20 results from an estimated 1000 matches similar to: "deprecate "freq" argument to hist"

2004 Jun 09
1
Re: R equivalent of Splus rowVars function
Mark Leeds <mleeds at mlp.com> wrote (to S-News): > does anyone know the R equivalent of the SPlus rowVars function ? Andy Liaw <andy_liaw at merck.com> replied: > More seriously, I seem to recall David Brahms at one time had created an R > package with these dimensional summary statistics, using C code. (And I > pointed him to the `two-pass' algorithm for variance.)
2002 Jan 07
0
New package: colSums
I've uploaded a package colSums_1.0.tar.gz to CRAN /src/contrib/Devel. It contains functions colSums, colMeans, colVars, colStdevs, rowSums, rowMeans, rowVars, and rowStdevs. These do simple, fast arithmetic on columns/rows of a matrix, or more generally across dimensions of an array, e.g. colSums(m) = apply(m, 2, sum) but faster. They should be compatible with the corresponding S-Plus
2006 Mar 17
3
Open .ssc .S ... files in R (PR#8690)
----- Quick summary: In the File:Open dialog, please change "S files (*.q)" to "S files (*.q, *.ssc, *.S)" and show the corresponding files (including .SSC and .s files). ----- Background This is motivated by the following query to R-help: >Date: Thu, 16 Mar 2006 22:44:11 -0600 >From: "xpRt.wannabe" <xprt.wannabe at gmail.com> >Subject: [R] Is
2008 Feb 09
1
bad variable names when printing a data frame containing a matrix (PR#10730)
library(glmpath) data(heart.data) # heart.data is a list, $y a vector, $x a matrix data <- data.frame(x=I(heart.data$x), y = heart.data$y) > data[1:2,] x.1 x.2 x.3 x.4 x.5 x.6 x.7 x.8 x.9 y 1 160 12 5.73 23.11 1 49 25.3 97.2 52 1 2 144 0.01 4.41 28.61 0 55 28.87 2.06 63 1 > dimnames(heart.data$x)[[2]] [1] "sbp"
2000 Dec 11
1
qqline (PR#764)
I think qqline does not do exactly what it is advertised to do ("`qqline' adds a line to a normal quantile-quantile plot which passes through the first and third quartiles."). Consider the graph: tmp <- qnorm(ppoints(10)) qqnorm(tmp) qqline(tmp) The line (which I expected go through all the points), has a slightly shallower slope than does the points plotted by qqnorm. I think
2006 Mar 02
0
glmpath (new version 0.91)
We have uploaded to CRAN a new version of glmpath, a package which fits the L1 regularization path for generalized linear models. The revision includes: - coxpath, a function for fitting the L1-regularization path for the Cox ph model; - bootstrap functions for analyzing sparse solutions; - the ability to mix in L2 regularization along with L1 (elasticnet). We have also completed a report that
2006 Mar 02
0
glmpath (new version 0.91)
We have uploaded to CRAN a new version of glmpath, a package which fits the L1 regularization path for generalized linear models. The revision includes: - coxpath, a function for fitting the L1-regularization path for the Cox ph model; - bootstrap functions for analyzing sparse solutions; - the ability to mix in L2 regularization along with L1 (elasticnet). We have also completed a report that
2008 Feb 22
0
R CMD check for glmpath on Windows (PR#10823)
The problem first appeared in R 2.6.1 and is still there in R 2.6.2 On Windows running R CMD check command for glmpath package fails. The reason seems to be that when R is running the examples file (glmpath-Ex.R), it skips about 50 lines and as a result gives a syntax error. I'm working with a modified version of the CRAN glmpath 0.94. My version happens to give a more clear example of a
2013 May 02
0
Questions regarding use of predict() with glmpath
I'm trying to do LASSO in R with the package glmpath. However, I'm not sure if I am using the accompanying prediction function *predict.glmpath()* correctly. Suppose I fit some regularized binomial regression model like so: library(glmpath);load(heart.data);attach(heart.data); fit <- glmpath(x, y, family=binomial) Then I can use predict.glmpath() to estimate the value of the
2002 Aug 14
3
t-test via matrix operations
I need to calculate a large number of t statistics, and would like to do so via matrix operations. So far I have figured out a way to calculate the mean of each row of the matrix: d <- matrix(runif(100000,1,10), 1000, 10) # some test data s <- rep(1,ncol(d)) # a sum vector to use for matrix multiplication means <- (d%*%s)/ncol(d) This is at least 1 order of magnitude faster than
2015 Jan 16
1
S3 generic method dispatch on promises
Dear R friends I wanted a function to make a simple percent table that would be easy for students to use. The goal originally was to have a simple thing people would call like this pctable(rowvar, colvar, data) and the things "rowvar" and "colvar" might be names of variables in data. I wanted to avoid the usage of "with" (as we now see in the table help). Then
2006 Mar 24
0
enhancement request for browser (PR#8706)
I would like a way to modify the behavior of browser(), so that entering a blank line does nothing rather than being equivalent to "c". I'm running R using emacs ESS. I often debug functions by inserting a browser, and stepping through one line at a time, sending a line at a time from a buffer with the function to the R buffer. But every time I send a blank line, the browser
2005 Nov 28
0
glmpath: L1 regularization path for glms
We have uploaded to CRAN the first version of glmpath, which fits the L1 regularization path for generalized linear models. The lars package fits the entire piecewise-linear L1 regularization path for the lasso. The coefficient paths for L1 regularized glms, however, are not piecewise linear. glmpath uses convex optimization - in particular predictor-corrector methods- to fit the
2005 Nov 28
0
glmpath: L1 regularization path for glms
We have uploaded to CRAN the first version of glmpath, which fits the L1 regularization path for generalized linear models. The lars package fits the entire piecewise-linear L1 regularization path for the lasso. The coefficient paths for L1 regularized glms, however, are not piecewise linear. glmpath uses convex optimization - in particular predictor-corrector methods- to fit the
2009 May 19
0
error glmpath()
Hi R-users! I am trying to learn how to use the glmpath package. I have a dataframe like this > dim(data) [1] 605 109 and selected the following > response <- data[,1] > features<-as.matrix(data[,3:109]) > mymodel <- glmpath(features,response, family = binomial) Error in if (lambda <= min.lambda) { : missing value where TRUE/FALSE expected Reading the glmpath pdf, I
2008 Feb 09
0
bad variable names when printing a data frame containing (PR#10732)
timh at insightful.com wrote: > library(glmpath) > data(heart.data) > # heart.data is a list, $y a vector, $x a matrix > data <- data.frame(x=3DI(heart.data$x), y =3D heart.data$y) > =20 >> data[1:2,] >> =20 > x.1 x.2 x.3 x.4 x.5 x.6 x.7 x.8 x.9 y > 1 160 12 5.73 23.11 1 49 25.3 97.2 52 1 > 2 144 0.01 4.41 28.61
2006 Mar 31
2
rowVars
I am using the R 2.2.1 in a Windows XP environment. I have a dataframe with 12 columns and 1,000 rows. (Some of the rows have 1 or fewer values.) I am trying to use rowVars to calculate the variance of each row. I am getting the following message: ?Error in na.remove.default(x) : length of 'dimnames' [1] not equal to array extent? Is there a good work-around?
2012 Apr 19
4
Column(row)wise minimum and maximum
Hi, Currently, the "base" has colSums, colMeans. It seems that it would be useful to extend this to also include colMin, colMax (of course, rowMin and rowMax, as well) in order to facilitate faster computations for large vectors (compared to using apply). Has this been considered before? Please forgive me if this has already been discussed before. Thanks, Ravi Ravi Varadhan, Ph.D.
2009 Aug 21
1
LASSO: glmpath and cv.glmpath
Hi, perhaps you can help me to find out, how to find the best Lambda in a LASSO-model. I have a feature selection problem with 150 proteins potentially predicting Cancer or Noncancer. With a lasso model fit.glm <- glmpath(x=as.matrix(X), y=target, family="binomial") (target is 0, 1 <- Cancer non cancer, X the proteins, numerical in expression), I get following path (PICTURE
2006 Aug 16
0
Strange behavior with "hist" function filled with breaks and freq attribute
Hy all, I give example code : connexions_jours<-c(1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,6,6,7,7,7,7,7,7,7,7,8,8,8,12,15,19) pas_de_groupe<-1 hist(connexions_jours,col="red",xlab="RĂ©partition du nombre de connexions par jours (sans