similar to: random sampling or random replacement

Displaying 20 results from an estimated 400 matches similar to: "random sampling or random replacement"

2011 Aug 26
3
elegant way to check if 2 values are in 3 columns?
Dear all, I'm trying to rerun some data linkage exercises in R (they are designed to be done in SPSS, SAS or STATA) The exercise in question is to relabel the column "treat" to "1", if "yearsep" is smaller than 1988 and columns "proc1"-"proc3" contain the values 56.36 or 59.81. My pathetic solution to do this in R currently looks like
2009 Dec 05
1
regression tests still fail for R version 2.10.0
Hello, on Mon Nov 9 17:57:04 CET 2009 I've sent an e-mail to the R mailing list (see below), about a failing regression test. Yet nobody replied, while (obviously) the situation didn't change (installation still fails, and might continue to do so in the future). I wonder whether somebody has to say something here? Shall a bug report be submitted? Or will R 2.10.1 have fixed the bug?
2008 Sep 13
3
R rpm for Mandriva 2008.1 ?
Are there any R rpm's for Mandriva 2008.1? I found a couple of dodgy ones that wouldn't install so far (rpmfind.net). (Sorry that seems so far the only Linux distribution that recognizes my hardware on my new laptop correctly. I'm more familiar to Fedora and Suse so perhaps I'm just doing something wrong?) Joanne
2008 Sep 12
1
sink file type and Latex (Lyx)
Does anyone know what file type sink is outputting to? I've been reverting output from R using sink and wanted to add it to my Appendix in LaTex (Lyx) using "Verbatiminput". However, I get an error message as LaTex is expecting an ASCII file. Can I set sink somehow to ASCII or is there another option? Thanks Joanne
2004 Aug 18
3
downloading the R program
I am trying to download the R program, but am having trouble. I have read through the instructions, but do not seem to be able to do it properly. Can you tell me the step-by-step instructions? Joanne L. Butler, Post-doctoral Fellow Equity and Technology Research Project c/o Department of Sociology Acadia University Wolfville, N.S. B4P 2R6 phone (902) 585-1535 fax (902) 585-1769
2008 Oct 03
3
several postscript problems
Hello everyone, I'm currently trying to export a couple of graphs to pdf . Postscript would be fine too, but I'm using odd page dimensions, which seem to be overwritten when using the "ps2pdf" command. I'm using the pdfpages package in LaTeX to put 6 graphs onto one page (this is why it ought to be a pdf in the end). I have two problems: 1. I'm using
2011 Nov 24
3
The contrast and Design libraries
Dear all, I have been using the contrast library in my teaching for the last couple of years and am right in the middle of this year's round. In the last week R has been updated to version 2.14.0 on our computers. This has had the unfortunate effect of meaning the contrasts library no longer works, as the Design library is no longer available. I wonder if anyone has a fix for this...or
2009 Aug 09
3
[LLVMdev] Signals: interpreter vs. JIT
Just a quick question on LLVM, signals, and the lli interpreter. A sample program is included at the end. Platform is x86, Linux, 32-bit, GCC 4.2.4. Does lli -force-interpreter support signals, or is it only the JIT that does? The following sample program crashes with lli 2.5 and lli top-of-tree. Thanks and regards, Matt ============================= #include <stdio.h> #include
2009 Jul 14
0
[LLVMdev] "Recursive compilation detected" and signals
Hello, Platform is RHEL5, GCC 4.2.4, x86-32, and LLVM/LLVM-GCC from subversion (yesterday evening). I'm compiling C code into bitcode, and then executing the bitcode using the JIT compiler (lli). I've managed to reproduce a problem when multiple signals go off around the same time. A sample program is below. The result is the "recursive compilation detected" JIT compiler
2006 Jul 18
1
package installation problems
Hello, I just updated from R 2.1.1 to R 2.3.1 (I also updated from Fedora 3 to Fedora 4 if that is of any importance). However, several packages (e.g. fields etc.) refuse to be installed. I get the following error message: [root at localhost R-files]# R CMD INSTALL fields_2.3.tar.gz * Installing *source* package 'fields' ... ** libs g77 -fpic -O2 -g -pipe -m32 -march=i386
2010 Oct 04
1
Fixed variance structure for lme
I have a data set with 50 different x values and 5 values for the sampling variance; each of the 5 sampling variances corresponds to 10 particular x values. I am trying to fit a mixed effect linear model and I'm not sure about the syntax for specifying the fixed variance structure. In Pinheiro's book my situation appears to be similar to the example used for varIdent, where there is a
2007 Aug 01
1
constrOptim
Hi, I'm having trouble using the constrOptim function to generate the 9-component vector argmin of the function ELfsds: ELfsds <- function(pvechat){ LG=0 for(i in 1:9){ LG=LG+log(pvechat[i]) } return(-LG) } with accompanying gradient function: gradfunc <- function(thetavec){ g=1/(9*thetavec) return(g) } The constraints on the optimization problem are: 1 - components of
2011 Jun 30
8
Error of DEPRECATION WARNING
Hi, I Have a strange error when i type the command "rake db:migrate " Can you help to solve this error or give me some advices the error is: DEPRECATION WARNING: Rake tasks in /home/joanne/Desktop/picto/vendor/ plugins/prawnto/tasks/prawnto_tasks.rake are deprecated. Use lib/tasks instead. (called from <top (required)> at /home/joanne/Desktop/picto/ Rakefile:7) thanks for help
2013 Jun 07
1
It seams that fast99 function (sensitivity package) does not work out for norm distribution.
Dear all mailing listers, Does Anyone have the same problem as mine when using the fast99 (extended-FAST method) to perform SA of model with norm distribution inputs? See the simple example given following. Any suggestion will be greatly appreciated. Thank you! Marino # Simple example # 1. uniform version (It works well) library(sensitivity) Myfun<-function(x){return(rowSums(x))} SA1
2017 Sep 18
0
Data arrangement for PLSDA using the ropls package
Hello, I would like to do a partial least square discriminant analysis (PLSDA) in R using the package "ropls" Which is in R available via the R command : source("https://bioconductor.org/biocLite.R") When I try to do a PLSDA using my own data. The impact of two genders (AP,C) on 5 compounds measured in persons (samples) should be illustrated. When I try to do a PLSDA I get
2009 Dec 25
1
questions relate to "sar"
We have CENTOS 5.3 on DELL server. I tried to use "sar -b" or "sar -u" and it only show report starting on 12:00 A.M. my questions are: 1. for "sar -u" or "sar -b" how can I generate two or three days ago report? 2. how to generate daily report from "sa2 " peocess? Thanks. ___________________________________________________ ??????? ?
2017 Sep 18
1
Data arrangement for PLSDA using the ropls package
Hello, I would like to do a partial least square discriminant analysis (PLSDA) in R using the package "ropls" Which is in R available via the R command : source("https://bioconductor.org/biocLite.R") I try to do a PLSDA to illustrate the impact of two genders (AP,C) on 5 compounds measured in persons (samples) should be illustrated. When I try to do a PLSDA I get the warning
2009 Dec 01
0
Amendment to previous post a minute ago, please amend before posting if possible
Sorry, I just posted the email below but realised I did not give a name or details, would it be possible to adjust before posting and send what is below, sorry again, first time user... From: Joanne Lenehan [mailto:jlenehan@une.edu.au] Sent: Tuesday, 1 December 2009 3:51 PM To: 'r-help@r-project.org' Subject: GLM Repeated measures test of assumptions: e.g. test for sphericity e.g.
2009 Jul 20
2
assign question
Dear R People: I have several vectors, sa1, sa2,...sa27 of varying lengths. I want to produce one vector xener[1:27] which has the minimum of each sa[i]. I'm trying to set up a loop and use the assign statement, but here are my results: > for(i in 1:27) { + xener[i] <- min(assign(paste("sa",i,sep=""))) + } Error in assign(paste("sa", i, sep =
2000 Mar 15
2
CAST5 encryption
Hello all, I was wondering if CAST5 encryption is currently being added the openssh? It's a steller block cipher. No one's found any weaknesses in it yet and it's free for non profit use. TTYL JLC -- #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1