search for: yarray

Displaying 3 results from an estimated 3 matches for "yarray".

Did you mean: array
2010 Dec 09
4
String to array
Hello, how convert x in xarray (numbers)? > x [1] "0 - 13" > y [1] "11 - 23" > z [1] "220 - 9" > xarray [1] 0 13 > yarray [1] 11 23 > zarray [1] 220 9 Thanks, RMB
2012 Apr 23
2
automating a script to read a file
...xmax, skewlocation, skewscale, skewshape, skewmax, skewtitle) { if(missing(skewtitle)) { plottitle <- "Skewed Probability Density Function" } else { plottitle <- skewtitle } skip <- (xmax - xmin) / 100.0 xArray <- numeric(100) yArray <- numeric(100) for (i in 1:100){ x <- xmin + i * skip y <- (spdf(x, skewlocation, skewscale, skewshape))/skewmax xArray[i] <- x yArray[i] <- y } plot(xArray,yArray, main=plottitle) } Steve Friedman Ph. D. Ecol...
2004 Mar 02
1
*s behaviour (PR#6633)
Dear all, While showing some commands of R to my students, I came across the following behaviour of * which surprised me. > set.seed(20) # to make it reproducible # create some objects > z <- matrix(rnorm(6), ncol=2) # 3x2 matrix > x1 <- rnorm(3) # vector of length 3 > y1 <- rnorm(4) #