Displaying 4 results from an estimated 4 matches for "den1".
Did you mean:
den
2013 Mar 01
2
using reserved words in R, and reuse variable names in different functions
...ariable names. I am using
words such as "t", "c", "matrix" to keep the notation same as formulas I am
using.
For example I have,
unnormalized <- function(t, x, y){
val <- rnorm(t, mean=x, var=y)
return(val)
}
metropolis <- function(t, c, x, y){
den1 <- unnormalized(t, mean=x, sd=y)
den2 <- unnormalized(c, mean=x, sd=y)
if(den1 < den2)
return(a)
else
return(b)
}
for(i in 1: 100){
matrix <- c()
matrix[i] <- metroplis(1, 2, 3, 4)
}
Here, I reused letter "t" and "c", and the wor...
2003 Sep 24
1
FW: Samba 2.2.8a / Winbind and Domains
...trusts
established to other domains in the corporation. I have added winbind to my
samba configuration on a Solaris 9 server. We've been using samba for
years, but this is the first implementation of Winbind. I am including the
global configuration information below. I join a single domain (den1), but
winbind add the other trusted domains (cal1,production). When I access
shares, I can see with winbind in debug mode that it tries all addresses
provided by our wins server for the domain "cal1" before going to even
the specific domain provided in the username.. Unfortunately it t...
2010 Sep 29
1
Fitting a half-ellipse curve
Dear mailing list,
I have following array:
X2 Y2
[1,] 422.7900 6.0
[2,] 469.8007 10.5
[3,] 483.9428 11.0
[4,] 532.4917 25.5
[5,] 596.1942 33.5
[6,] 630.8496 40.5
[7,] 733.2996 45.0
[8,] 946.4779 32.0
[9,] 996.8068 35.5
[10,] 1074.3310 23.0
I do afterwards the following:
plot.new()
plot.window(xlim=c(min(X1)-50,max(X1)+50),
2009 Apr 28
3
truehist and density plots
Hi,
I wanted to plot the histogram of a vector and then, plot the density function of subsets of the vector on the histogram. So I use truehist in MASS package and lines(density) as follows:
length(b) = 1000
truehist(b)
lines(density(b[1:100]))
however the density plot of the first 100 points exceeds the max of y axis (see attached). how is it possible to make a graphics so that the density plot