Displaying 6 results from an estimated 6 matches for "allvars".
Did you mean:
allears
2011 Jul 27
2
Use a list to 'transport' a collection of data sets and results
...mple code below.
# Create variables of different types
x=expand.grid(1:4,letters[1:4])
y=matrix(1:1000,ncol=20)
z=list(a=1,b=2:20,c=matrix(1:50,ncol=5))
result.one=1
names(result.one)="first result"
result.two=2
names(result.one)="second result"
# Put them all in list
allvars=list(x,y,z,result.one,result.two)
names(allvars)=c("x","y","z","result.one","result.two")
ls()
[1] "allvars" "result.one" "result.two" "x" "y" "z"
# Save it
save(a...
2012 Apr 05
1
issue with base:::namespaceImportMethods
...dex: src/library/base/R/namespace.R
===================================================================
--- src/library/base/R/namespace.R (revision 58917)
+++ src/library/base/R/namespace.R (working copy)
@@ -930,8 +930,10 @@
namespaceImportMethods <- function(self, ns, vars) {
allVars <- character()
+ generics <- character()
+ packages <- character()
allFuns <- methods:::.getGenerics(ns) # all the methods tables in ns
- packages <- attr(allFuns, "package")
+ allPackages <- attr(allFuns, "package")
pkg <- methods:::ge...
2009 Oct 21
1
odd evaluation within correlation argument of glmmPQL
...me version of MASS is in 2.11.0 as well.
*** glmmPQL.R.orig 2009-10-20 23:48:38.000000000 -0400
--- glmmPQL.R 2009-10-20 23:51:33.000000000 -0400
***************
*** 39,44 ****
--- 39,47 ----
off <- attr(Terms, "offset")
if(length(off<- attr(Terms, "offset"))) allvars <-
c(allvars, as.character(attr(Terms, "variables"))[off+1])
+ ## add variables in correlation formula, if any
+ if (!missing(correlation) && !is.null(attr(correlation,"formula")))
+ allvars <- c(allvars,all.vars(attr(correlation,"formu...
2010 Dec 03
2
Add columns of dataset
Dear all,
I have a dataset that looks like
id var1 var2 var4 var7 var8
1 0.0 0.1 0.3 0.9 0.0
2 0.4 0.6 0.0 0.0 0.2
3 0.0 0.0 0.0 0.8 0.7
Some columns are missed, for example, here the fourth (var3), sixth(var5)
and seventh (var6) columns. I want to first determine which columns are
missed in a huge dataset and then add the missed
2006 Mar 31
1
matching a given sd range
Dear R users
given a numeric array (a sequence of reals), I am interested in
finding the subsets of sequences (each with start and end index) which match a given sd range.
I read the docs on match and which and the "see also" but could not come up with a way. I could loop with a stepping window over the sequence but that would be limited to a fixed size window, I guess I as well
2013 Jan 09
4
how to count "A","C","T","G" in each row in a big data.frame?
Dear All
I have a data.frame like that:
structure(list(name = c("Gga_rs10722041", "Gga_rs10722249", "Gga_rs10722565",
"Gga_rs10723082", "Gga_rs10723993", "Gga_rs10724555", "Gga_rs10726238",
"Gga_rs10726461", "Gga_rs10726774", "Gga_rs10726967", "Gga_rs10727581",
"Gga_rs10728004",