Displaying 3 results from an estimated 3 matches for "ysamples".
Did you mean:
samples
2012 Feb 14
1
method using several (and different) arguments in turn
Dear R-developers community, I have the following generic:
setGeneric(
name="newsample",
def=function(x,y,z,a,b,c,...){standardGeneric("newsample")}
And I can build several methods for this generic. One useful thing is to use "newsample"
with only one of the 6 arguments listed. At the moment this is what I do:
setMethod(
2006 Jun 28
2
read file with readBin (the file was saved with a C-routine)
...int KernelFileSave; /* Determined, if Systemmatrix saved or not.*/
char KernelFileName[200]; /* A-Matrix name */
char StartFileName[200]; /* Startguess (optional) */
int XSamples; /* No of samples on 1. axis of recon image */
int YSamples; /* No of samples on 2. axis of recon image */
float DeltaX; /* Sampling distance 1. axis of recon image */
float DeltaY; /* Sampling distance 2. axis of recon image */
float Xmin; /* 1. sample position 1.axis of recon image */
float Ymin;...
2013 Mar 30
0
Scoping issue with irf() from {vars}
Dear all:
There seems to be a problem with scoping, for irf() in vars, when
called within a function. Try the following:
-----------------------
testfun <- function(lags){
data(Canada)
var.2c <- VAR(Canada, p = lags, type = "const")
print(var.2c)
}
testfun(lags=3)
## Everything OK. Now this:
testfun2 <- function(lags){
data(Canada)
var.2c <- VAR(Canada, p = lags, type =