Displaying 12 results from an estimated 12 matches for "refdata".
2007 Apr 11
1
package incompatibility under 2.5.0 (please respond directly, I am not on r-devel)
...;ref" I have implemented extensive regression testing. It now fails to compile since primitives "dim" and "dimnames" (and their assignment methods) no longer allow for additional arguments. I was using an additional argument "ref" with several methods. For "].refdata" it still works, with "dim.refdata" no longer. Could you please allow for additional arguments for the following generic functions (or primitives):
dim <- function (x, ...)
UseMethod("dim")
"dim<-" <- function (x, ..., value)
UseMethod("dim<-&qu...
2009 Dec 09
1
Warning for data.table (with ref)?
I have following the message "dim(refdata) and dimnames(refdata) no
longer allow parameter ref=TRUE, use dim(derefdata(refdata)),
dimnames(derefdata(refdata)) instead" when I loaded data.table. Is it
from the package ref? Could it be fixed? Or there is something wrong
with my installation?
> library(data.table)
Loading required pa...
2008 Sep 19
4
Novice question about getting data into R
I found it easy to use R when typing data manually into it. Now I need to
read data from a file, and I get the following errors:
> refdata =
> read.table("K:\\MerchantData\\RiskModel\\refund_distribution.csv", header
> = TRUE)
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,
:
line 1 did not have 42 elements
> refdata =
> read.table("K:\\MerchantData\\RiskModel\\refund_distribut...
2012 Mar 21
0
multivariate ordinal probit regression vglm()
...ve probit). Data typically include the predictor (age) and
one or more response variables (the stages of skeletal morphology).
For example, the pubic symphysis and auriclar surface (two joint
surfaces of the pelvis) may be observed in three and four stages,
respectively (see sample dataframe "refdata" below).
age pube3 auric4
1 32 3 2
2 42 3 2
3 27 2 1
4 39 2 1
5 85 3 4
I've had some success in fitting the ordinal probit model using both
polr(method="probit") in the MASS...
2012 Apr 04
0
multivariate ordered probit regression---use standard bivariate normal distribution?
...variables separately. Any suggestions are welcome.
Again, if it helps in your response, I've included a link to the data
below. Thanks.
--Trey
Get the data (a *.csv file) here:
https://docs.google.com/open?id=0B5zZGW2utJN0TEctcW1oblFRcTJrNDVLOVBmRWRaQQ
unvar.prob1<-vglm(pube3~age,data=refdata,cumulative(link="probit",parallel=FALSE,reverse=TRUE))
> unvar.prob1
Call:
vglm(formula = pube3 ~ age, family = cumulative(link = "probit",
parallel = FALSE, reverse = TRUE), data = refdata)
Coefficients:
(Intercept):1 (Intercept):2 age:1 age:2
-1.65895567 -2.14755951 0.0668...
2004 Jan 22
1
Please help with \usage{} for [.S3Class in Rd-Format
Dear all,
I try to submit a library to CRAN but can't overcome the last R CMD CHECK.
Can someone enlighten me how to put the \usage{} section for an S3-Method
extractor defined as
> args(get("[.refdata"))
function (x, i = NULL, j = NULL, drop = FALSE, ref = FALSE)
NULL
I read the "Writing R Extensions" manual and know about
\methods{generic}{class}, however I don't get it right.
Please help
Jens
--
Bis 31.1.: TopMail + Digicam f?r nur 29 EUR http://www.gmx.net/topmail
2013 Feb 05
1
failure to connect to Bloomber using Rbbg from batch script on Windows
...19:46:50.635 blpapi.Session.3 <init> [INFO] UserAgent=Library:Java;Version:3.5.1.1;&OS=Name:Windows 7;Version:6.1;VMVersion:1.6.0_23;VMVendor:Sun Microsystems Inc.;
2013/02/04 19:46:50.635 blpapi.Session.3 <init> [INFO] SessionParameters: [ defaultServices = [//blp/mktdata, //blp/refdata], defaultSubscriptionService = //blp/mktdata, defaultTopicPrefix = ticker/, allowMultiCorrelatorsPerMsg = false, connectTimeout = 5000, clientMode = AUTO, maxPendingRequests = 1024, autoRestartOnDisconnection = false, authenticationOptions = , numStartAttempts = -1, reconnectionInterval = 3000, com...
2004 Feb 23
0
Package "ref" implements references and referenceable data.frames for the S-language
...t;by value". This can be useful in memory critical
applications but requires a more careful programming style to track the
implications of functions changing their parameters. However, package ref is
written in pure S and attaching this package does not change any standard S
behaviour.
Class refdata is a transparent wrapper to matrices and data.frames which
allows for memory efficient nested subsetting. I.e. you can create a subset
of a
subset ... of a data.frame without duplicating the data in memory, instead
only indexing information is duplicated. Indexing information is represented
as posi...
2004 Feb 23
0
Package "ref" implements references and referenceable data.frames for the S-language
...t;by value". This can be useful in memory critical
applications but requires a more careful programming style to track the
implications of functions changing their parameters. However, package ref is
written in pure S and attaching this package does not change any standard S
behaviour.
Class refdata is a transparent wrapper to matrices and data.frames which
allows for memory efficient nested subsetting. I.e. you can create a subset
of a
subset ... of a data.frame without duplicating the data in memory, instead
only indexing information is duplicated. Indexing information is represented
as posi...
2011 Jan 24
0
writeRaster with raster package
...he
object in the work space. The content in the file is correct but I do net
get the right header information about the geocoding.
---
> writeRaster(mask,"mask", format="ENVI")
class : RasterLayer
filename :
E:/Daten/FE/HyMAP/Luxembourg_2010/Kehlen_Useldange/mosaik/refdata/mask.envi
nrow : 5198
ncol : 2813
ncell : 14621974
min value : 0
max value : 1
projection : +proj=utm +zone=31 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
+towgs84=0,0,0
extent : 0, 2813, -5198, 0 (xmin, xmax, ymin, ymax)
resolution : 1, 1 (x, y)
> mask
c...
2007 Mar 14
1
allocVector reference
Hi,
I'm trying to write a function to return an R vector which points
directly to a contiguous subset of another vector, without taking a
copy. Since SEXPREC is a header followed by the data, rather than the
header plus a pointer to the data, I'm not sure what I'm trying to do is
possible. Is there a way of doing this? Similar in spirit to how the R
assignment "x=y" does
2008 Jun 23
5
Need ideas on how to show spikes in my data and how to code it in R
Hi
I have recently been analyzing birthweight data from a clinic. The
data has obvious defects in that there is digit preference on certain
weights making them overrepresented. This shows as spikes in the
histogram on certain well rounded weights like 2, 2.5, 3, etc. I
would like to show this to government officials but can't figure out
how I should present the finding in an easy to