[R] Difference between the S-plus influence and R empinf functions

2011-03-07 Thread The r newbie Fred
Hello everyone ! I am currently trying to convert a program from S-plus to R, and I am having some trouble with the S-plus function called "influence(data, statistic,...)". This function aims to "calculate empirical influence values and related quantities", and is part of the Resample library t

Re: [R] sample() question

2010-08-18 Thread R Newbie
Just to clarify some of your language here before some others rip you apart, you mean to say you'd like to take a random sample of size 5 and not 5 random samples. Now, I believe you can control the probability with which each element of your original data set is sampled (using weights), but in

[R] Displaying Results in Two Columns

2010-08-18 Thread R Newbie
Could I have some suggestions as to how (various ways) I can display my confidence interval results? rm(list = ls()) set.seed(1) func <- function(d,t,beta,lambda,alpha,p.gamma,delta,B){ d <- c(5,1,5,14,3,19,1,1,4,22) t <- c(94.32,15.72,62.88,125.76,5.24,31.44,1.048,1.048,2.096,10.

[R] column names only

2010-08-17 Thread R Newbie
Does anyone know how to assign (column names only) to a matrix? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal,