search for: christiaan

Displaying 20 results from an estimated 42 matches for "christiaan".

Did you mean: christian
2011 Jun 01
3
Identifying sequences
Hallo Everybody Consider the following vector a=1:10 b=20:30 c=40:50 x=c(a,b,c) I need a function that can tell me that there are three set of continuos sequences and that the first is from 1:10, the second from 20:30 and the third from 40:50. In other words: a,b, and c. regards Christiaan [[alternative HTML version deleted]]
2013 Oct 16
1
Extract a predictors form constparty object (CHAID output) in R
...rogramatically shortform <- formula(contraceptive_method_used ~ wifes_education + husbands_occupation) # The thing I want is a programatic way to extract 'shortform' from 'z' # Examples of use of 'shortfom' loglm(shortform, data = ContraceptiveChoice) Thanks in advance Christiaan -- Christiaan Pauw Nova Institute www.nova.org.za
2009 May 14
4
Duplicates and duplicated
...r every value of x check if the next value is identical and return TRUE (or 1) if it is and FALSE (or 0) if it is not AND check is the previous value is identical and return TRUE (or 1) if it is and FALSE (or 0) if it is not Im i thinking correct and can some help to write such a function regards Christiaan [[alternative HTML version deleted]]
2009 Jan 14
2
runs.test in by() statement
...ion in the by() statement instead of mean by(exampledata, exampledata$interviewer, runs.test(as.factor(exampledata$var))) Error in FUN(X[[1L]], ...) : could not find function "FUN" Can someone please tell me why this is the case. I tried aggregate() too but with the same result thanks Christiaan [[alternative HTML version deleted]]
2009 Jun 10
2
isolating Hour and minute form date and time
...;) posix.date=strptime(date, "%Y/%m/%d %I:%M:%S %p") I tried: time=format(posix.date, "%A %H:%M") # For weekday, hour and minute but the class in character. Now it prints like i want but it cannot be used in calculations. I would appreciate any suggestions Thanks in advance Christiaan [[alternative HTML version deleted]]
2009 Apr 05
2
Xen benchmark
...utines (fork, exec) and mmap and page faults. However, I''m no OS expert, and I''d like your guys'' feedback on the numbers and my interpretations of them. Does Xen really add these latencies (or is my setup messy), and what is their impact in real life? Best regards, Christiaan Ottow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2010 Dec 16
1
Is there a join() function in R ? OR: simulating "Combining ggplot2 and Google Maps" by David Kahle
...map, type = 'right')) I do not seem to have the join() function. This looks almost SQLish. I have tried ??join and looking on CRAN and a google search but I cannot find this function. Is there a special library that one has to install for this to work? Can anyone help please. Best regards Christiaan [[alternative HTML version deleted]]
2011 Jan 21
5
User input in R program
HI Everybody Does anyone know of documentation about different ways of obtaining user input in R. I have used readline() but I wondered is there are sophisticated packages that does things like validate answers or generate selection lists. bets regards Christaan [[alternative HTML version deleted]]
2011 Jul 27
2
Use a list to 'transport' a collection of data sets and results
...g is very difficult) in order to build a report. Is it possible to store a collection of variables of different types (like named integers, matricies, data frames and two lists) all in one list and save it and then simply load it again later and "unpack" the variables. Thanks is advance Christiaan Please see the sample code below. # Create variables of different types x=expand.grid(1:4,letters[1:4]) y=matrix(1:1000,ncol=20) z=list(a=1,b=2:20,c=matrix(1:50,ncol=5)) result.one=1 names(result.one)="first result" result.two=2 names(result.one)="second result" # Put...
2012 Aug 07
2
Passing arguments to a function within a function ...
...############################################## This is where the trouble starts: What do I do if I need to pass the argument base.conc=10 or a different option for par= to dose.response() ? At the moment it works becuase it uses the default, which will not be valid in all cases. Thanks in advance Christiaan -- Christiaan Pauw Nova Institute www.nova.org.za
2010 Jan 15
1
Sampling from a Postgres database
Hi Everybody Is there a way in which one can use the RPostgreSQL package to take a sample from a table in Postgres database without having to read the whole table into R regards Christiaan [[alternative HTML version deleted]]
2009 Oct 20
1
RPgSQL installation problem
...dy I am trying to install RPsSQL and get the following error message: When I do ./configure form the untarred source directory I get loading cache ./config.cache checking for crypt in -lcrypt... no No crypt function found When I use the Package installer in R I get install.packages("/Users/christiaanpauw/tmp/RPgSQL/", , NULL, type = "source") Warning in install.packages("/Users/christiaanpauw/tmp/RPgSQL/", , NULL, : argument 'lib' is missing: using '/Users/christiaanpauw/Library/R/2.8/library' * Installing *source* package 'RPgSQL' ... creatin...
2009 Feb 27
1
Sweave doesn't do csv.get()
...n my report. In the R source I currently use to analyse my data I import it through csv.get(). I have found that I cannot use csv.get() or write.csv() or that matter. I don't seem to be able to use load() to get a .rda file in either Is this issue related to LyX, LaTeX or R? Thanks in advance Christiaan [[alternative HTML version deleted]]
2009 Jun 10
1
by and by: using two indices in by() or tapply()
...the earliest submission per surveyor: tapply(starttime,surveyor,min) or of the number of submissions per surveyor day: table(submitdate,surveyor) But what I want is the time of the earliest submission per surveyor per day (and NA's where applicable) Can anyone offer some advice Thanks Christiaan [[alternative HTML version deleted]]
2009 Feb 12
1
Latex or html output for freq() in prettyR
...t to export it to latex or html html(fx) # I expected this to look like console output but it doesn't. Can anything be done? fm=as.matrix(fx) #It can't be coerced into a matrix or table (as far as i can see) class(fm) # it's class remains freq Does anyone now what to do? regards Christiaan [[alternative HTML version deleted]]
2008 Jun 30
20
Some basic questions about getting the best performance for database usage
I''m new so opensolaris and very new to ZFS. In the past we have always used linux for our database backends. So now we are looking for a new database server to give us a big performance boost, and also the possibility for scalability. Our current database consists mainly of a huge table containing about 230 million records and a few (relatively) smaller tables (something like 13 million
2011 Mar 14
1
Math characters in column heading using latex() in Hmisc
...t;$\bar{C}_{P,y}$") I get the error message: '\s' is an unrecognized escape in character string starting double backslashes doesn't give an error but doesn't work in Tex "$\\sum_{i}\\sum_{j}C_{P,i,j,y}\\times\\mathit{FC}_{i}$" Session Info below Thanks in advance Christiaan > sessionInfo() R version 2.11.1 (2010-05-31) x86_64-apple-darwin9.8.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] splines grid stats graphics grDevices utils datasets methods base other attached packages: [1] TeachingDemos_...
2009 Oct 07
1
merging dataframes with an unequal number of variables
...se df1): # example with df3 names(df3[,na.omit(match(names(df1),names(df3)))]) #What I need is the name of the variable that each specific data frame does NOT contain # Something like this, but this gives an error names(df1[-names(df3[,na.omit(match(names(df1),names(df3)))])]) thanks in advance Christiaan [[alternative HTML version deleted]]
2010 Aug 18
1
Again: wget parameters
...a google site that has restricted access so I need to give a username and password at some point. I could not find an example or a help file that shows how this can be done. You post is one of few but it does not contain the answer I would be very glad if you could share to sollution best regards Christiaan On 9 August 2009 23:37, [Ricardo Rodriguez] Your XEN ICT Team < webmaster@xen.net> wrote: > Please, accept my apologies for keeping posting in HTML format! Solved! > > Greetings, > > Ricardo > > > [Ricardo Rodriguez] Your XEN ICT Team wrote: > >> Hi, >&g...
2011 Nov 24
1
Installing rJava from source on Mac
...s as follows: 143: LIBR=`eval $query VAR=LIBR` 144: STATIC_LIBR=`eval $query VAR=STATIC_LIBR` 220: eval "${query} VAR=${var}" I do have gcc installed: (from terminal) $ which gcc /Developer/usr/bin/gcc Can anyone guide me on how to resolve this. sessionInfo below thanks in advance Christiaan > sessionInfo() R version 2.11.1 (2010-05-31) x86_64-apple-darwin9.8.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_2.11.1 Warn...