Skip to content
Browse files

release 1.1

Adds
  • Loading branch information...
1 parent b9a8b09 commit 5d02b75af63bcc768340bd645db7a9386e273656 @halpo committed Mar 8, 2012
Showing with 34 additions and 6 deletions.
  1. +1 −0 .Rbuildignore
  2. +2 −1 .gitignore
  3. +5 −3 DESCRIPTION
  4. +1 −0 NAMESPACE
  5. +6 −0 NEWS
  6. +13 −0 R/T.R
  7. +6 −2 README.md
View
1 .Rbuildignore
@@ -0,0 +1 @@
+.*.gitignore
View
3 .gitignore
@@ -1,2 +1,3 @@
*.tar.gz
-*.zip
+*.zip
+*~$
View
8 DESCRIPTION
@@ -1,9 +1,10 @@
Package: dostats
-Version: 1.0-20120208
-Date: 2012-02-08
-Title: Compute Statistics helper functions
+Version: 1.1.20120309
+Date: 2012-03-09
+Title: Compute statistics helper functions
Author: Andrew Redd <Andrew.Redd@hsc.utah.edu>
Maintainer: Andrew Redd <Andrew.Redd@hsc.utah.edu>
+URL: https://github.com/halpo/dostats
License: GPL (>= 3)
Depends:
R (>= 2.12.0)
@@ -19,3 +20,4 @@ Collate:
'widedf.R'
'collect.R'
'consecutive.R'
+ 'T.R'
View
1 NAMESPACE
@@ -10,4 +10,5 @@ export(integer.stats)
export(numeric.stats)
export(onarg)
export(seq_consecutive)
+export(.T)
export(wargs)
View
6 NEWS
@@ -1,6 +1,12 @@
dostats 1.0
----------------------------
+1.1 update 3/8/2012
+ Two additions
+ * `seq_consecutive` follows a vector incrimenting every time there is a change in the source vector.
+ * `.T` is a helper function for creating non quoted character vectors.
+
+
Initial Release 2/8/2012
contains two primary functions
View
13 R/T.R
@@ -0,0 +1,13 @@
+
+#' create a text vector
+#' @rdname T
+#' @param ... names, quoted or not, no substitution made
+#' @export
+#' @examples
+#' .T(min, mean, 'median')
+.T <-
+function(...){
+ as.character(substitute(c(...)))[-1]
+}
+
+
View
8 README.md
@@ -6,9 +6,13 @@ on R as a language. It is particularly helpful with packages like
be defined.
## Details ##
-There are at present two functions of note.
+There are at present four functions of note.
* `dostats` creates a function that returns a single line `data.frame` from a list of functions.
* `compose` createa a functional composition of an arbitrary number of functions nesting each
call withing the other. `%.%` is a opperator alias for composition of two functions.
- In other words `f%.%g` is equivalant to `function(x)f(g(x))`.
+ In other words `f%.%g` is equivalant to `function(x)f(g(x))`. There are helper functions for compose that assist in creating functions
+ - `wargs` specifies new default arguments.
+ - `onarg` specifies the argument that should be first in the formals list.
+ * `seq_consecutive` will create a vector form a source vector than incriments every time the source vector changes.
+ * `.T` is a helper function for creating character vectors without having to insert quotes.

0 comments on commit 5d02b75

Please sign in to comment.
Something went wrong with that request. Please try again.