Displaying 3 results from an estimated 3 matches for "int_k".
Did you mean:
int_
2005 Apr 29
2
Subarrays
...3 119
> v[3,,,2]
[,1] [,2] [,3] [,4]
[1,] 67 83 99 115
[2,] 71 87 103 119
[3,] 75 91 107 123
[4,] 79 95 111 127
In the general case this procedure is very tedious.
Given an array
A, dim(A)=(dim_1,dim_2,...,dim_d)
and two vectors
v1=(n_i1,...n_ik), v2=(int_1,...,int_k) ('marginals' and relevant
'interval numbers')
is there a smart way to obtain
A[,...,int_1,....,int_2,....,....,int_k,....]
?
Best wishes
Gunnar Hellmund
2007 Jun 14
1
R programming question
...inf :\n")
L2<-scan(n=1)
cat("Enter Linf interval :\n")
int_L<-scan(n=1)
cat("Enter value for lower K :\n")
K1<-scan(n=1)
cat("Enter value for upper K :\n")
K2<-scan(n=1)
cat("Enter K interval :\n")
int_K<-scan(n=1)
I thought I could evaluate and run the appropriate function at the end
of the program by:
if(event==1) explore() else evaluate()
If I run the whole program and either explore() or evaluate() is run,
the first four prompted entries are skipped over. The console output
for event==1...
2008 Mar 12
3
Types of quadrature
Dear R-users
I would like to integrate something like \int_k^\infty (1 - F(x)) dx, where F(.) is a cumulative distribution function. As mentioned in the "integrate" help-page: integrate(dnorm,0,20000) ## fails on many systems. This does not happen for an adaptive Simpson or Lobatto quadrature (cf. Matlab). Even though I am hardly familiar with nume...