Displaying 4 results from an estimated 4 matches for "y25".
Did you mean:
25
2003 May 30
1
bootstrapping data.frame and matrix
...ng, with
no default"
Please note that the same is happening when I create a matrix from the
data.frame with the function cbind
(i.e.
names(data)
[1] "shortrate" "y1" "y5" "y10" "y15"
"y20"
[7] "y25"
xdata_cbind(data$y10,data$shortrate)
is.matrix(x.data)
TRUE)
Thanks in advance,
Chiara
2013 Feb 18
1
R function help!
....ns) {
> draws = flip.n(prob,draws.per.sim)
> num =sum(draws,ticket.ns)
> urn.results[i] = num
> }
> return(urn.results)
> }
> urn.25.samples =urn.model(25)
>
> urn.25.samples
>
> Follow up question:
>
> Use urn.model to generate a sample y={y1,...,y25) of n=25 observed sums.
Any good?
ticket.ns<-c(1,1,1,1,2,5,5,10,10,10)
draw=NULL
for (i in 1:25){
draw[i] <- sum(sample(ticket.ns,40,replace=TRUE))
}
print(draw)
HTH
Pete
--
View this message in context: http://r.789695.n4.nabble.com/R-function-help-tp4658998p4659001.html
Sent fro...
2015 Aug 07
2
vfs_streams_xattr and create mask = 0640 don't play well together
...rmission changes when modifiying metadata anyway, do we?).
Is this a bug or a misconfiguration on our side? I am happy to file a bug report, if it turns out to be one. Any thoughts?
Thanks in advance, Thomas
--
Thomas Werschlein, IT Services
Department of Geography, University of Zurich
Office: Y25-L12, Tel: +41 (0)44 63-56536
PGP-Key-ID: C76C851B
2000 Aug 14
5
Writing a workable function
After searching in R- Introduction, FAQ, help... I don't understand
this:
I write a function in a file (.R):
tt <- function(mc) { date()
mc<-read.csv2("machines.txt",na.strings="")
date()
}
I source it in R and I type tt(). The answer is
> tt()
[1] "Mon Aug 14 11:18:25 2000"
>
The instructions following the first "date()" are ignored. Why?