search for: marcum

Displaying 5 results from an estimated 5 matches for "marcum".

Did you mean: marcus
2007 Jun 18
3
String manipulation, insert delim
...)#my string of character bar<-c(4,1,4,3) # my vector of uneven intervals my.fun(foo,bar) # some function that places delimiters appropriately have,a,nice,day # what the function would ideally return I've tried multiple for-loops using cut and paste but have not had success. Thanks! Chris Marcum UCI Sociology
2007 Dec 20
2
factor manipulation: edgelist to a matrix?
...tion k of V2 is the i,j^th element of the new matrix, with missing values otherwise. The desired output should be: # [,1] [,2] [,3] [,4] # [1,] A A B NA # [2,] A NA NA NA # [3,] C A C B I have explored the reshape package as well as the network package in this pursuit, with no luck. Thanks, Chris Marcum UCI Sociology
2008 Apr 03
2
iterative loop with user input?
...Ask the user for input codelist[i]<-readline(paste("Select one of the following: \n \t please enter 1, 2, or 3: \n Enter Your Response HERE: ",sep="")) } Ideally, loop should work from inside a function. Any tips? Thanks in advance for your time and patience. Best, Chris Marcum Sociology/Cal(it)^2 University of California-Irvine
2011 Apr 08
0
dynamic argument names and values as variables inside a loop
...quot;)),"wholeSrcref") outpm<-a.func(eval(args)) } return(outpm) } Any help is much appreciated, and I thank you for your time. Here is a link to a similar problem that another useR recently posted: https://stat.ethz.ch/pipermail/r-help/2011-January/264719.html Best, Christopher Marcum Doctoral Candidate Sociology Department University of California, Irvine [[alternative HTML version deleted]]
2007 Aug 24
1
uneven list to matrix
Hello, I am sure I am not the only person with this problem. I have a list with n elements, each consisting of a single column matrix with different row lengths. Each row has a name ranging from A to E. Here is an example: alph[[1]] A 1 B 2 C 3 D 4 alph[[2]] A 1 C 3 D 4 alph[[3]] A 1 D 4 E 5 I would like to create a matrix from the elements in the list with n columns such that the row names