search for: laak

Displaying 19 results from an estimated 19 matches for "laak".

Did you mean: lack
2016 Mar 03
2
as.vector in R-devel loaded 3/3/2016
I just installed R-devel to check my package before submitting. I got an error in my vignette in regards to as.vector. When I looked at the code for as.vector in R-devel it is standardGeneric for "as.vector" defined from package "base" function (x, mode) standardGeneric("as.vector") <environment: 0x0918ad70> Methods may be defined for arguments: x, mode Use
2016 Mar 04
2
as.vector in R-devel loaded 3/3/2016
...(unstable) (2016-03-03 r70270) -- "Unsuffered Consequences" [...yadayada...] > library(Matrix) > as.vector function (x, mode = "any") .Internal(as.vector(x, mode)) <bytecode: 0x7fdf69279780> <environment: namespace:base> > On 04 Mar 2016, at 01:09 , Jeff Laake - NOAA Federal <jeff.laake at noaa.gov> wrote: > > I dug into this a little further and discovered the problem. When my > package is for checking, it loads Matrix. In the R-devel version of > Matrix, as.vector is re-defined without mode specified > >> as.vector >...
2008 Oct 29
2
behavior of "by"
Any insight into the behavior of "by" in the following case would be appreciated. There is a note in the help details for "by" about documenting behavior since v2.7 but I don't entirely understand what it is saying. I'm using R2.7.2 Windows. I'm interested if the following behavior was a change or whether it has always worked this way. I looked at
2008 Aug 18
2
matrix row product and cumulative product
I spent a lot of time searching and came up empty handed on the following query. Is there an equivalent to rowSums that does product or cumulative product and avoids use of apply or looping? I found a rowProd in a package but it was a convenience function for apply. As part of a likelihood calculation called from optim, I?m computing products and cumulative products of rows of matrices with
2010 Feb 03
1
How to show the definition of a S3 function?
> library(contrast) > contrast function (fit, ...) UseMethod("contrast") <environment: namespace:contrast> I guess the above function is S3. Could somebody let me know how to show the function body in an R session?
2004 Nov 18
5
How to calculate the stratified means in a data frame?
Dear R people, I have a simple question to ask. Suppose I have a data.frame with two variables: one factor (x) and one numeric (y), I want to calculate the mean of y for each value of x. Although it's easy to do it within a for a loop, I believe there may be a concise way by using some kinds of "apply" functions. Could anyone tell me how to do that? Thank you. Frank
2007 Jun 14
3
Retain names in conversion of matrix to vector
Hi R-listers, I'm using R only for a few basic functions but am having difficulty doing something that *should* be simple. I have an nxn matrix, Q, where Q[i,j] is a directed value (in this case, oil exports from i to j). Note that Q[i,j]~=Q[j,i]. I imported column names along with the matrix then copied them to the rows using rownames(Q) <- colnames(Q). Simple so far. What I'd like
2009 May 13
2
Object and Classes ?
I found a tutorial for creating classes using generic functions ? S3 way ! It was short description so I couldn't grok in full its usage ... So far so good, what i currently do is something like this : Blah <- function(data,...) UseMethod('Blah') Blah.default <- function( ...... ) { self = .... class(self) <- 'Blah' self } Blah.some_method <-
2013 Sep 19
1
Vignette problem and CRAN policies
...ton; J. Gilbey; J. Goldstick; P. Graba rnik; C. Graf; J. Franklin; U. Hahn; A. Hardegen; M. Herin g; M.B. Hansen; M. Hazelton; J. Heikkinen; K. Hornik; R. Ihaka ; A. Jammalamadaka; R. John-Chandran; D. Johnson; M. Kuhn; J. Laake; F. Lavancier; T. Lawrence; R.A. Lamb; J. Lee; G.P. Leser; [... truncated] Warning in odbcUpdate(channel, query, mydata, coldata[m, ], test = test, : character data 'John Fox [aut, cre], Sanford Weisberg [aut], Douglas Bates [ct b], Steve Ellison [ctb], David Fir...
2016 Mar 04
2
as.vector in R-devel loaded 3/3/2016
...tached): [1] grid_3.3.0 lattice_0.20-33 ________________________________________ From: R-devel <r-devel-bounces at r-project.org> on behalf of Martin Maechler <maechler at stat.math.ethz.ch> Sent: Friday, March 4, 2016 6:05 AM To: peter dalgaard Cc: r-devel at r-project.org; Jeff Laake - NOAA Federal Subject: Re: [Rd] as.vector in R-devel loaded 3/3/2016 >>>>> peter dalgaard <pdalgd at gmail.com> >>>>> on Fri, 4 Mar 2016 09:21:48 +0100 writes: > Er, until _what_ is fixed? > I see no anomalies with the version in R-pre: Ind...
2004 Dec 02
6
dropping rows
Hi! Sorry for asking a trivial questions, but I can't seem to figure this out. I have a dataframe called master containing 30-odd variables. In this dataframe, I have observations across these 30 variables from 1930 to 2003 (I've made a "year" variable). How can I drop all rows for which the year is less than 1960? I'm assuming something with ifelse() but I can't
2017 Apr 10
1
Author email addresses
I have 3 packages on CRAN that I developed with my govt email address. I'll be retiring in a month and that email address will no longer work at some point. I realize that I need to change the maintainer address and I've already done that with one package but my question is do I need to remove all references to my govt email address listed as author in various files and replace with my
2004 Jan 21
0
Summary: Changing workspace from within an R session
Thanks to Frank Harrell, Brian Ripley, Andy Liaw, Jeff Laake and Sean Davis for their usefull comments regarding "navigation" between valid R directories. Jeff recommanded the Mark Bravington package that can be found at: (ftp://ftp.marine.csiro.au/software/bravington/). I looked at the package and found that it can do a lot more than what I ask...
2006 Jun 22
0
Package structure question (progress!)
Thanks to Jeff Laake for giving me a starting point. It appears my zipping should have been: zip -r hello.zip hello essentially creating an outer folder having the package name inside the zip file. It still didn't quite work, with an error as follows: > utils:::menuInstallLocal() updating HTML package des...
2006 Jun 22
0
Package structure question (resolution)
Thanks to Max Kuhn, Jeff Laake, Duncan Murdoch, and Dirk Eddelbuettel, for their tips that eventually helped me get my teeth around this one. I'm in the process of documenting my experience, in case others find it useful. Please email me if you want to add to this or clarify anything. However, to close this thread, in a...
2010 Nov 08
1
RMark error: only 0's may be mixed with negative subscripts
Hi all, I have just started using RMark to analyse capture-recapture data. I am trying to analyse a simulated data set using the Robust Design (two primary periods with three secondary sessions in each) to estimate apparent survival. On specifying the time intervals (that tell R about the primary and secondary sampling sessions), this is the error I get: > time.int <- c(0,0,1,0,0) >
2007 Apr 27
0
[ANN:] new package xlsReadWrite*Pro*: announce + update.
...ment "formulasAsValues = TRUE". This high level setting can be overriden by the (new) colClasses argument formula. - (read.xls/write.xls) new colClasses argument "formula" to read and write formulas. Will be auto-determined from Exceldata and (motivated by Jeff Laake) - argument "cells" extended to accept character vector for *named ranges* and a numeric R1C1R2C2 range vector. - "xls.range" to retrieve information about named ranges. (motivated by Michael Clifford) - "xls.images" to add an image into an Excel s...
2010 Feb 20
1
What is your system for WorkFlow and Source Code Organizing in R ?
Hello dear R users, Recently there has been several fascinating threads on the website stackoverflow <http://stackoverflow.com> regarding the subject of R WorkFlow best practices: - What best practices do you use for programming in R?<http://stackoverflow.com/questions/2258092/what-best-practices-do-you-use-for-programming-in-r> - Workflow for statistical analysis and report
2009 Nov 22
4
Do you keep an archive of "useful" R code? and if so - how?
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091122/430e3297/attachment-0001.pl>