Displaying 20 results from an estimated 2000 matches similar to: "as.data.frame.list (PR#6782)"
2004 Apr 16
2
type.convert (PR#6781)
Full_Name: J. R. M. Hosking
Version: 1.9.0
OS: Windows 2000
Submission from: (NULL) (129.34.20.23)
Two problems, perhaps related:
(1) na.strings is not honored when x is non-numeric and as.is=T
> type.convert( c("abc","-"), as.is=T, na.strings="-" )
[1] "abc" "-"
... unless x consists only of NAs
> type.convert(
2003 Oct 14
3
NA %*% 0 == 0 (PR#4582)
Full_Name: J . R. M. Hosking
Version: 1.8.0
OS: Windows 2000
Submission from: (NULL) (129.34.20.23)
On R 1.8.0 (and on R 1.5.1), Windows binary:
> NA %*% 0
[,1]
[1,] 0
This is surprising. Is it a bug? Note that
> 0 %*% NA
[,1]
[1,] NA
> NA %*% 1
[,1]
[1,] NA
> NA * 0
[1] NA
as expected.
2001 Nov 09
1
Installing packages
Hello,
I have upgraded from Mandrake Linux 8.0 to Mandrake 8.1 and try to reinstall
my favourite R... Everything is OK for the base software but I have trouble
to get some packages installed.
Specifically, for some packages, a "collect2" binary seems to be necessary
during the compilation/linking process of the library, and LD complains about
not finding it :
Installing source
2006 Jul 11
2
Dropping unused levels of a factor that has "NA" as a level
Is this a bug?
> f1 <- factor(c("a", NA), levels = c("a", "NA") )
> f2 <- f1[, drop = TRUE]
> f2
[1] a <NA>
Levels: a <NA>
I would have expected f2 to have only one level, "a". It seems
to me that the code in [.factor does not follow the advice in
help("factor") on how to set factor codes to be
2012 Nov 17
0
[LLVMdev] Purdue LLVM Social: GreyHouse 12/6 @ 8:30pm
Dr Hosking, interested in coming to this?
Michael Goldfarb, interested in coming to this?
-- Sean Silva
On Sat, Nov 17, 2012 at 12:53 AM, Joe Abbey <jabbey at arxan.com> wrote:
> First LLVM Social in West Lafayette, IN.
>
> When:
> Thursday, Dec 6th @ 8:30pm
>
> Where:
> GreyHouse Coffee
> 100 Northwestern Avenue
> West Lafayette, IN 47906
>
2001 Sep 19
1
missing() (PR#1096)
Full_Name: J. R. M. Hosking
Version: 1.3.0
OS: Windows 2000
Submission from: (NULL) (198.81.209.16)
R documentation suggests that if a function argument x is omitted,
missing(x) should return TRUE even if x is subsequently assigned a value.
This happens in S-plus. But in R:
> test
function(x){
print(missing(x))
if(missing(x)) x<-0
print(missing(x))
invisible()
}
> test()
[1] TRUE
[1]
2008 Jul 19
1
axis() ignores supplied value of argument mgp[3]?
It seems that when an argument 'mgp' is supplied to axis(),
the mgp[2] value (position of tick mark labels) is honoured
but the mgp[3] value (position of axis line) is ignored.
Example:
plot(1:5, xaxt='n', ann=FALSE)
par(mgp=c(0,2,1))
axis(1, at=2:4, mgp=c(0,-2,-3))
Axis line is plotted at margin line 1, tick mark labels at line -3.
Is this a bug?
J. R. M. Hosking
2007 Feb 25
2
RFA
Dear Sir in the following example,is the vector lmom a l-moment ratios
vector? What is meant by size = northCascades[,1]? And what are the values
in c(0.0104,0.0399,0.0405)?
Please help me I am unable to understand these from help manual.
Best Regards
AMINA
data(northCascades)
lmom <- c(1, 0.1103, 0.0279, 0.1366)
kappaParam <- kappalmom(lmom)
heterogeneity(500, 19, size =
2006 Feb 14
1
addmargins
> addmargins(UCBAdmissions, FUN = list(Total=sum))
works with no problems, but consider:
> myFUN <- list(Total=sum)
> addmargins(UCBAdmissions, FUN = myFUN)
Error in "names<-.default"(`*tmp*`, value = "") :
names() applied to a non-vector
Is this a bug?
> R.version
_
platform i386-pc-mingw32
arch i386
os mingw32
system
2007 Sep 16
1
Factorial, L-moments, and overflows
Hi everyone,
In the package POT, there is a function that computes the L-moments of a given sample (samlmu). However, to compute those L-moments, one needs to obtain the total number of combinations between two numbers, which, by the way, requires the use of a factorial. See, for example, Hosking (1990 , p. 113).
How does the function "samlmu" in the package POT avoids overflows?
I
2006 May 01
0
Use of hosking.sim R function
Dear all:
My experience in using hosking.sim to generate random time series is
that it requires an n-length autocorrelation function (ACF; order 0 to
n-1) to generate n-length random vectors. I have attempted to utilize
shorter than n-length (i.e. truncated) ACF's with hosking.sim to
generate n-length random vectors, but the function will not operate for
n-length time series without the
2004 Feb 03
5
creating a factor
Hi list,
I'd like to make a factor with seven 1s and three 2s using the
factor() function.
That is,
1
1
1
1
1
1
1
2
2
2
I will then bind this factor to the matrix below using cbind.data.frame().
0.56 0.48
0.22 0.59
0.32 0.64
0.26 0.60
0.25 0.38
0.24 0.45
0.56 0.67
0.78 0.97
0.87 0.79
0.82 0.85
I am new to R and have been using various manuals and have made many attempts without
2004 Feb 25
2
PWM Help
I saw a Help e-mail related to MLE. Does R have a probability weighted method (PWM) estimator function? I can't seem to find anything on PWM, unless my eyes are playing trick on me.
[[alternative HTML version deleted]]
2018 Mar 07
2
Call for Papers: ManLang 2018 (Sept. 10-14, Linz, Austria)
------------------------------------------------------------------------------------------------
CALL FOR PAPERS
15th International Conference on Managed Languages & Runtimes
(ManLang'18)
September 10-14, 2018, Linz, Austria
http://ssw.jku.at/manlang18/
------------------------------------------------------------------------------------------------
ManLang (formerly PPPJ) is a
2002 Feb 13
0
L-moments/Hosking & Wallis (1997)
1) L-moments:
Does anyone know of any R code that will calculate these? (I'm aware that
these can be calculated in S-Plus using the EnvironmentalStats for S-Plus
module.)
2) Hosking & Wallis (1997): "Regional frequency analysis: an approach based
on L-moments"
Does anyone know of any code in either R or S-plus that implements the
discordancy and homogeneity methods described
2012 Nov 17
6
[LLVMdev] Purdue LLVM Social: GreyHouse 12/6 @ 8:30pm
First LLVM Social in West Lafayette, IN.
When:
Thursday, Dec 6th @ 8:30pm
Where:
GreyHouse Coffee
100 Northwestern Avenue
West Lafayette, IN 47906
https://plus.google.com/102658466942690664690/about
Please RSVP, so I can let GreyHouse know if we need a meeting room.
Cheers,
Joe
______________________________
Joe Abbey
Director of Software Development
Arxan Technologies
jabbey at
2010 Jul 21
1
"lmomRFA" package: error bounds/confidence intervals
Dear List
I?m using the ?lmomRFA? package to fit different distributions to my data
sample. To calculate the error bounds I used:
regsimq(?)
and
sitequantbounds(?)
So my questions are:
Are error bounds and confidence intervals the same thing?
And: Does
regsimq(? boundprob = c(0.05, 0.95))
calculate the 90 or the 95% confidence interval?
If error bounds and confidence intervals are
2009 Nov 16
1
lmomco package and confidence limits?
Hello,
I am using the lmomco package (lmom.ub and pargev) to compute the GEV
parameters (location, scale, and shape), which are used to estimate
return values. I was wondering how/if I can calculate upper and lower
confidence (CI_u, CI_l) intervals for each return frequency using the
GEV parameters to fill-in the table below?
Xi (location) = 35.396
Alpha (scale) = 1.726
Kappa (shape) =
2006 Sep 04
3
Subsetting vectors based on condition
Hello,
I have a question regarding subsetting of vectors. Here's an example of
what I'm trying to do:
vect.1 <- c(76,195, 290, 380)
vect.2 <- c(63, 95, 133, 170, 215, 253, 285, 299, 325, 375)
I would like to subset vect.2 so that it has the same length as vect.1,
and its numbers are the first corresponging higher value compared to
vect.1.
The output should be:
final.output =
2010 Jan 28
4
Problems with fitdistr
Hi,
I want to estimate parameters of weibull distribution. For this, I am using
fitdistr() function in MASS package.But when I give fitdistr(c,"weibull") I
get a Error as follows:-
Error in optim(x = c(4L, 41L, 20L, 6L, 12L, 6L, 7L, 13L, 2L, 8L, 22L,
:
non-finite value supplied by optim
Any help or suggestions are most welcomed
--
View this message in context: