Displaying 20 results from an estimated 100 matches similar to: "names not inherited in functions"
2007 May 31
1
Archive parameter doesn't preserve owner:group property!
Hi!
I would like some advices to combine security and automated backup...
How rsync manage hosts allow parameter compared to /etc/hosts.allow?
Is it possible to use ssh key just for authentification not for crypted
transfert?
I have also a problem to preserve owner:group properties even with archive
parameter which is supposed to do that.
I have to put gid =root and uid = root in
2008 May 17
1
tapply and grouping
Hello all,
I have a df like this:
w <- c(1.20, 1.34, 2.34, 3.12, 2.89, 4.67, 2.43,
2.89, 1.99, 3.45, 2.01, 2.23, 1.45, 1.59)
g <- rep(c("a", "b"), each=7)
df <- data.frame(g, w)
df
# 1. Mean for each group
tapply(df$w, df$g, function(x) mean(x))
# 2. Range for each group - fix value 0.15
tapply(df$w, df$g,
function(x)
x[(x > mean(x) -
2007 Sep 06
1
labelling specific points xyplot
Hello R-helpers,
I'm trying to add labels to points in xyplot graphs, but I want lo label only those points which have a certain level of my grouping variable, and have encountered a few problems.
An example dataframe that goes with the following code is at the end of this message.
1st step, adding labels (from another column in the dataframe) to my chosen points :
I've figures this
2004 Nov 25
1
eval in correct frame?
I am trying, without success, to find out how to formulate correctly the
parameters of "eval".
My code snippet looks like:
proutside <- function(txt) {
cat("\n",txt,"\n");
print(eval(parse(text = txt)))
}
vari <- function(Ob) {
prininside <- function(txt) {
cat("\n",txt,"\n");
print(eval(parse(text = txt)))
}
2010 Apr 06
1
help with "macro" in R
library(lattice)
hisfunc<- function (vari) {
histogram(~ vari|target, data=total, type="count", layout=c(1,3),
labels=TRUE, main="Histograms by target", col="skyblue")
}
hisfunc(total$acid)
HI, guys,
I am using the hisfunc to get histograms for different variables, for the
title of the histogram, I want to have different name for each variable. how
can I DO ?
2006 Jun 18
1
Post Stratification
Dear WizaRds,
having met some of you in person in Vienna, I think even more fondly
of this community and hope to continue on this route. It was great
talking with you and learning from you. Thank you. I am trying to work
through an artificial example in post stratification. This is my dataset:
library(survey)
age <- data.frame(id=1:8, stratum=rep(
2003 May 30
2
conversao para matriz
ol?,
estou tentando converter a vari?vel b (abaixo) em uma matriz com duas
colunas, sem muito sucesso, algu?m teria alguma sugest?o?
muito obrigado,
a<-outer(1:5,1:7,FUN="paste")
b<- sample(a,10)
[1] "4 2" "5 7" "3 3" "4 1" "4 5" "3 5" "5 2" "2 1" "3 7" "1 4"
Matriz desejada:
4
2007 Aug 13
3
unicode
Salut alex, j''ai essayer d''encoder quelques fichiers pour faire des test. Il y a des sigles comme "€" que je ne peut pas encoder. le problème c''est que quand j''ouvre un fichier.txt par exemple et qu''il contient ce sigle, le contenu du fichier ne s''affiche pas.
Compter-vous insérer ces sigles par la suite que l''on puissent les
2004 Dec 27
2
list(0) to integer
Hello
I've another question :-)
I would like to transform a list to a integer.
I must be sure that the number entered by the user is
an integer! Thus, I've made :
repeat{
cat("Effectif des populations (integer):")
n<-scan("",n=1,what=list(0),quiet=TRUE)
if (is.integer(n[[1]])==TRUE) break
print("L'effectif des population doit etre un
entier")
2012 Jan 21
1
Function for multiple t tests
Hi,
I want to run t.test() for several variables among two groups, and I
would like to skip the tedious process of collecting information to
assemble a table, but I am not sure if the function I want already
exists. Any suggestion would be appreciated.
I have a working example, as required by the posting guide:
my_swiss = swiss[-1,]
my_swiss$facto = rep(1:2,nrow(my_swiss)/2)
2012 Aug 03
2
how to identify values from a column of a dataframe, and insert them in other data.frame with the corresponding id?
Hello,
I’d like to do next, see if you could help me please:
I have a csv called “datuak” with a id called “calee_id” and a colunm called “poids”.
I have another csv called “datuak2” with the same id called “calee_id”, (although there are “calee_id” that are in “datuak” but not in “datuak2” and inverse), and a column called “kg_totales” in which the values are repeteated for each calee_id
2002 Aug 29
8
lme() with known level-one variances
Greetings,
I have a meta-analysis problem in which I have fixed effects
regression coefficients (and estimated standard errors) from identical
models fit to different data sets. I would like to use these results
to create pooled estimated regression coefficients and estimated
standard errors for these pooled coefficients. In particular, I would
like to estimate the model
\beta_{i} = \mu +
2004 Sep 26
1
Poblems with RaiserFS
Hello List,
does anyone have also problems with Samba, OpenLDAP and RaiserFS?
We have a LDAP on three servers and only the one who runs under RaiserFS
crashed every week.
Whats your opinion?
matze
2008 May 17
0
Job offer in France : FreeBSD administrator
Hello,
This job offer comes from "Computer Futures" an french provider of
recruitment services to the IT industry. I receive this email this week
from one of the recruiters.
This job is based in France, not so far from Paris; I post here the
offer in french.
-/-
www.computerfutures.fr
Marianne Cohen
Computer Futures Solutions - France
40 Rue De La Boetie, 75008 Paris
Phone 0033
2015 Jun 12
0
RES: Banco de dados interno no Asterisk e variáveis em SIP HEADERS
Prezado Fernando,
Muito obrigado por sua complementa??o na resposta!
Surgiram algumas d?vidas agora:
A ?nica forma de retornar os dados num header field, como o Rafael dos Santos Saraiva sugeriu envolve criar outro channel?
Ou seja, o que eu preciso ? que a mesma execu??o do dia plan obtenha um valor recebido do Sip Client, execute uma query num banco de dados e em seguida inclua a resposta
2005 Jul 19
3
Predict
When I callculate a linear model, then I can compute via confint the
confidencial intervals. the interval level can be chosen. as result, I get
the parameter of the model according to the interval level.
On the other hand, I can compute the prediction-values for my model as well
with predict(object, type=c("response") etc.). Here I have also the
possibility to chose a level for the
2004 Jun 22
2
Opieaccess file, is this normal?
Hi,
I'm trying to setup one-time passwords on freebsd5.2.1
>From what I've read so far, if the user is present in opiekeys, the
opieaccess file determines if the user (coming from a specific host or
network) is allowed to use his unix password from this specific network.
As my opieaccess file is empty and the default rule (as mentionned in the
man file) is deny, I should not be
2005 Feb 08
5
How to get variable names in a function?
Hello,
applying a function to a list of variables I face the following problem:
Let's say I want to compute tables for several variables. I could write a
command for every single table, like
bravo<-c(1,1,2,3,5,5,5,);charly<-c(7,7,4,4,2,1)
table(bravo); table(charly)
> table(bravo); table(charly)
bravo
1 2 3 5
2 1 1 3
charly
1 2 4 7
1 1 2 2
The results are two tables with the
2009 Aug 11
2
Slicing cra**y csv files
Hello,
For not too regular users of R, preparing the data is somehow a burden.
Comming from iMacro in FireFox I get a badly designed csv, which I need to
put into a daily R script.
The data looks like that (e.g.):
22 Results,"35 Results","39 Results","2 Results","7 Results","23
Results","42 Results","36 Results","22
2010 Oct 13
4
loop
Dear all,
I am trying to run a loop in my codes, but the software returns an error: "subscript out of bounds"
I dont understand exactly why this is happenning. My codes are the following:
rm(list=ls()) #remove almost everything in the memory
set.seed(180185)
nsim <- 10
mresultx <- matrix(-99, nrow=1000, ncol=nsim)
mresultb <- matrix(-99, nrow=1000, ncol=nsim)
N