search for: phddas

Displaying 20 results from an estimated 34 matches for "phddas".

Did you mean: hdds
2004 Apr 25
2
package fdim slopeopt error (PR#6819)
Full_Name: Fred J. Version: 1.8.1 OS: windows 2000 Submission from: (NULL) (203.26.24.216) platform i386-pc-mingw32 the error can be duplicated as follows > rt <- data.frame(8:15, 7:14, 6:13, 5:12, 4:11, 3:10, 2:9, 1:8) > library(fdim) > FD <- (fdim(rt,q=2)) Error in slopeopt(AllPoints, Alpha) : Object "LineP" not found
2004 Apr 30
3
absolute value
Hello could you please tell me what is the function to get the absolute value of the real or complex number. most of other languages it is abs(x) , what is it in r? I did few searhces in the help docs for no avail. thanks F.J
2004 Mar 16
3
rate of change
Hello I am wondering, how do I find if R has a certain funciton to do a given task. do I just type help.search("rate"). I am just trying to find a function to calculate the rate of change for a variable. I could come up with one if there isn't any allready builtin. thanks
2004 Mar 06
1
Installing packages
...t; package(s) from CRAN..). Failing that, please tell > us more about what the error was. > > Regards, > > Andrew C. Ward > > 56 Azalea Crescent > Fitzgibbon Qld 4018 > acward at uqconnect.net.au > > > On Saturday, March 06, 2004 3:47 PM, Fred J. > [SMTP:phddas at yahoo.com] wrote:
2004 Mar 22
2
regex in R
Hello I could use some help here with trying to use perl stype regex to extract the first group of letters before a ( . ) so if I have a sting AACEE.adiid and wanting AACEE i <- "AACEE.adiid" grep(".+\..?+",i,perl=T) I must be doing somthing wrong but don't know what it is? thanks
2004 Mar 27
1
building a list in loop
Hello getdata <- function(p){ fname <- NULL; dl <- list()#build the sturcture builddl <- function(q,s){ fname <<- c(fname,s) #where "s" is a string dl <<- list( dl, dt2) } list(names = fname, data = dl) } data <- getdata("c:\somepath") > data $names [1] "fname" $data $data[[1]] <--- since there is no [[1]] how can I stop
2006 Mar 23
1
subsets of vector
dear R users I have been trying a lot to get this task accomplished but need your help. input: x <- c(3,3,4,4,4,4,5,7,7,0,1,1,2,2,2) desired output 3 1 2 4 3 6 7 8 9 ... which means, 3 is repeated at index 1:2 4 is repeated at index 3:6 ... my effort has not been that good. a <- !c(NA,diff(x)); b <- which(a==1); a[b-1]=1; cbind(x,a); or sp <-
2006 Mar 25
1
vector conditional modification
dear R users I need to modify values in a vector, the modification needs to be based on a matrix which define the from_index, to_index and a value. example: > x <- c(1, 0, 6, 3, 8, 9, 4, 3, 0) > m from to value 1 2 3 5 2 5 7 8 3 9 9 11 > expected: 1 5 5 3 8 8 8 3 11 insert {R.utils} and append are too expensive and indirect for the
2004 Apr 12
2
fractal calculation using fdim
Hello I am getting this Error in slopeopt(AllPoints, Alpha) : Object "LineP" not found when the dim(<data.frame>) of the data matrix for which the fdim is being calculated hits a certain values depending on the data set. e.g print(dim(mat)) fd <- fdim(mat,q=2) [1] 2743 2 [1] 2742 3 [1] 2741 4 [1] 2740 5 [1] 2739 6 [1] 2738 7 [1] 2737 8 [1] 2736 9 [1] 2735
2006 Mar 31
1
matching a given sd range
Dear R users given a numeric array (a sequence of reals), I am interested in finding the subsets of sequences (each with start and end index) which match a given sd range. I read the docs on match and which and the "see also" but could not come up with a way. I could loop with a stepping window over the sequence but that would be limited to a fixed size window, I guess I as well
2004 Mar 07
6
applying data generating function
Hello Coming from matlab background, I could use some help on this one. I need to generate a data set based on this equation X(t) = 3.8x(t-1) (1-x(t-1)) + e(t), where e(t) is a N(0,0,001) random variable I need say 100 values. How do I do this? Thanks
2006 Mar 27
2
apply(ing) to sum subset of a vector
Dear R users I am trying to sum selective elements of a vector but my solution is not cutting it. Example: > g <- 1:5; > from <- 1:3; > to <- 3:5; from to 1 3 2 4 3 5 so I expect 3 sums from g 1+2+3 that is 1 to 3 of g 2+3+4 that is 2 to 4 of g 3+4+5 that is 3 to 5 of g my solution will not work. sum.em <- function(g, c1, c2)
2004 Mar 24
2
debugging a code
Hello just learned HowTo but R, reminded me with the way Perl does it but with much less on-line commands, R "AFAIK" has n, c, Q and where and cann't debug outside the {}. 1) is there a more versatile/flexable debugging method for R? I have saved 2 functions in an ASCII file "digfun". "getdata" function calls "squash" function and both use loops. In
2006 Jul 29
1
fancier plotting
Hi thank you for talking the time to help me with this. I have a sequence of numbers in a file and an equal sequence of various character, say(a b c d) each occurs more than once. I need to plot the numbers so that numbers corresponding to a in the other sequence would have green dots, those corresponding to b a red dot, nothing on c and blue square for d. i.e 2 a show a green dot 4 b show a
2006 Mar 27
1
no acceptable C compiler
dear R users not sure why I am not able to install tkrplot. > install.pacakges ("tkrplot", dependencies=TRUE) ... Configure: error: no acceptable C compiler found in $path ... well, I am using debian testing 2.6.15, R Version 2.2.1 (2005-12-20 r36812) #whereis gcc gcc: /usr/lib/gcc thank you --------------------------------- [[alternative HTML version
2004 Mar 05
0
fractal function
Hello Does any one know what is the complexity scale of fdim "fractal calculation function", I need to find O(N) function to do fractal calculation. Thanks a lot
2004 Mar 06
1
(no subject)
Hello group. I am trying to install fdim on my win2000 os. this command is giving error and I feel I am not using it correctly, could some one show me why. install.packages(fdim, "C:\Program Files\R\rw1081\library" , CRAN = "http://cran.r-project.org", "internal", available = NULL, destdir = "C:\Program Files\R\rw1081\library", installWithVers =
2004 Mar 20
1
setwd() permenent
Hello when I close and reopen R it gives back a different wd than what I used in setwd. how can I get it to permenently use dirname in setwd("dirname") and not the other name it keeps defaulting to? I am using W2K and ESS thanks
2004 Mar 21
1
learning to debug
Hello I am trying to follow the instruction in README.debug on how to debug a code I wrote, so since it only shows the steps on how to debug a built in function and not a code in an *.R file, so ok, let me do this and maybe later I can find out how to code my code in filename.R. now > library(debug) Loading required package: mvbutils MVBUTILS: no "tasks" vector found in ROOT Loading
2004 Mar 25
2
if block and brackets
Hello the maunal states "When the if statement is not in a block the else, if present, must appear on the same line as statement1. Otherwise the new line at the end of statement1 yields a syntactically complete statement that is evaluated." well, what is wrong with this if structure? I am getting an error on the line where "else" is thanks if (exists("f")){ dt