Displaying 20 results from an estimated 20000 matches similar to: "Building a data frame with missing data"
2013 Feb 08
2
NTLM autentication problems
I'm trying to configure Squid ntlm autentication on Samba4 DC. I followed
Squid and Samba's documentation and i got success when I login with user
natalia.silva, but if I log with natalia.vaz i get the error
--
Nat?lia Vaz Silva
Administradora de redes
2012 Jan 10
3
problem installing packages
Hello,
I was using version 2.13.2 and I have just downloaded the latest version
2.14.1. However, I''m trying to install the packages I was using and when I
look for them in the packages list, I canĀ“t find many in the CRAN binaries
(e.g. "vegan"). I do find them in the CRAN sources but the installation
fails. I tried downloading the version 2.14.0 and I had the same problem. I
2005 Jun 01
2
mplot :how to deal with missing data
Hello all,
I have data:
Genes time rep vart dye y trt
130911 sa1-d07 030min 1 col g 9.636244 o
145771 sa1-d07 030min 1 col r 8.107577 c
93335 sa1-d07 030min 1 ler g 7.409566 o
94821 sa1-d07 030min 1 ler r 5.107160 c
10119101 sa1-d07 030min 2 col g 8.336862 o
11605101 sa1-d07 030min 2 col r 7.824530 c
725313 sa1-d07
2010 Jan 12
1
List arguments from data frame columns in formula
Hi!
I'm trying to run logistic regression on a dataset which is contained in
dataframe "data" ("y" is in the first col, and 28 parameters for the model).
How can I write formula for function `glm` without listing explicitly all 28
paramaters?
`glm(data[,1]~data[,2]+data[,3]+data[,4]+...,family=binomial)`
As an option I can use `glm.fit(data[,-1],data[,1],family =
2015 May 08
2
Unable to install packages: "/usr/bin/ld: cannot find -lgfortran"
Dear all,
I'm using R version 3.2.0 in Ubuntu 12.04 LTS.
While trying to install any package I get the error: "/usr/bin/ld: cannot
find -lgfortran"
If I open a Terminal and run "ldconfig -p | grep libgfortran"?, I get:?
"libgfortran.so.3 (libc6,x86-64) =>
/usr/lib/x86_64-linux-gnu/libgfortran.so.3"
I've been an R user for two years and this is the
2012 Jul 26
3
Adjust the position of main in par(mfrow)
hey guys
I want two plots in one window with an overall title and with individual
titles for each plots.
my code:
par(mfrow=c(2,1))
bp_dirverq1=boxplot(dirverq1, col="orange",horizontal=TRUE, main="Q1
2012",cex.main=0.7)
bp_dirverq2=boxplot(dirverq2, col="orange",horizontal=TRUE, main="Q2
2012",cex.main=0.7)
title("Direktveranlagung in
2004 Mar 10
2
data frame filtration
Hi, R-help:
I am a new user of R and am very pleased with R's features. Here I have
one question regarding data frame manipulation. I have a data frame look
like this:
Fruit Condition
1 Orange Good
2 Orange Bad
3 Orange Good
4 Orange Good
5 Orange Bad
6 Apple Good
7 Apple Bad
8 Apple Good
9 Apple Good
10 Apple Bad
11 Apple Good
12 Apple Bad
13
2005 Jul 30
1
partial SS for anova
Hello,
I use lme4 package.
library(lme4)
fit=lmer(y ~ time+dye+trt+trt:time + (1|rep), data=dataset, na.action='na.omit')
anova(fit)
The anova gives sequential F-tests and sequential SS.
My question is: how I can get partial F-tests and partial SS?
For lm (not lmer)
anova(lm(y~x+z))
we can use
anova(fit, ssType=3)
but it is not work for lmer.
Natalia.
2010 Jun 26
1
All a column to a data frame with a specific condition
Hi, folks,
Please first look at the codes:
plan_a=c('apple','orange','apple','apple','pear','bread')
plan_b=c('bread','bread','orange','bread','bread','yogurt')
value=1:6
data=data.frame(plan_a,plan_b,value)
library(plyr)
library(reshape)
mm=melt(data, id=c('plan_a','plan_b'))
2008 Mar 13
3
Splitting a set of vectors in a list
I have a set of character vectors of uneven length
that I have stored in a list. I can easily enough get
any column of them using lapply but what I want is to
be able to create a matrix of them. Other than some
kind of brute force looping approach I have drawn a
blank.
Would somebody please suggest something? Thanks
Example.
mylist <- list(aa=c("cat","peach" ),
2012 Aug 08
1
Permisson Denied ao accces home dir
Hello,
I make a samba server + ldap.
I create some users and get login in mydomain with success.
After login I can't write in paste user.But is denied.
#some users created
brasil:x:1012:513:Brasil Telhados:/dev/null:/bin/false
atleticomg:x:1013:513:Clube Atletico MG:/home/atleticomg:/bin/bash
#groups crated
informatica:*:1001:atleticomg,natalia,faria
2010 Jan 20
1
R arithmetic probability plot
I am hoping to create a graph that will look like it is plotted on
arithmetic probability plot. Something similar to how this is done in Excel:
http://peltiertech.com/Excel/Charts/ProbabilityChart.html.
I can't quite find a code that will transform the linear axis into a
cumulative percent axis with an arithmetic probability. And I am not good
enough at R to do that myself.
Any help will be
2011 Nov 01
1
predict lmer
Dear all,
I've been reading for many days trying to predict with lmer but I haven't
managed to do it.
I've fitted an allometric model for trees where I have included climatic
variables and diameter in the fixed part and
in the random part I've included the experimental sites where trees are and
also their provenance region.
The model is like this :
2006 Mar 14
2
Date problem
Hello,
I have some "stupid" problems managing "date" data.
I have a colomn "date", which I converted from a character representation:
for example:
a="26/02/06"
date=strptime(a,format="%d/%m/%y")
For one part of the analysis, I'm interested only in the month and the
year, so I did:
m.y=strftime(date,format="%m/%y")
This returns me
2005 May 25
4
mixed model
Hello all,
I have problem with setting up random effects.
I have a model:
y=x1+x2+x1*x2+z1+z1*x2
where x1, x2, x1*x2 are fixed effects
and z1, z1*x2 are random effects (crossed effects)
I use library(nlme) 'lme' function.
My question is: how I should set up random effects?
I did
lme(y~x1+x2+x1:x2, data=DATA, random=~z1+z1:x2, na.action='na.omit')
but it did not work.
2011 Jan 18
1
Reorganizing Data Frame
Hi I need some help trying to restructure a data frame:
I have:
food transaction quantity
pizza BUY 5
pizza SELL 3
apple BUY 2
orange SELL 1
pizza BUY 2
And the data frame I want to make is:
food BUY SELL
pizza 7 3
apple 2 0
2012 Dec 19
2
read.csv reads more rows than indicated by wc -l
When I have a csv file that is more than 6 lines long, not including
the header, and one of the fields is blank for the last few lines, and
there is an extra comma on of the lines with the blank field,
read.csv() makes creates an extra line.
I attached an example file; I'll also paste the contents here:
A,apple
A,orange
A,orange
A,orange
A,orange
A,,,
A,,
-----
wc -l reports that this file
2010 Dec 25
4
2 Ethernet cabling question
Two questions that was not always clear for me [sorry for posting to this list :\]:
##############################################################################################
Q1) when cabling, is the color order important? like:
straight cabling:
A side: white-orange, orange, white-green, blue, white-blue, green, white-brown, brown
B side: white-orange, orange, white-green, blue,
2023 Jun 08
1
Problem with pjsip
Hello everyone.
I allow myself to submit a problem that I can not solve with my VOIP
provider Orange in France
[2023-06-08 13:19:03] ERROR[185091]:
res_pjsip/pjsip_configuration.c:1044 from_user_handler: Error
configuring endpoint 'Biv_Sortie' - 'from_user' field contains invalid
character '@'
[2023-06-08 13:19:03] ERROR[185091]: config_options.c:798
aco_process_var:
2007 Jun 30
3
transactions with two models
Hi,
In Agile Web Development with Rails section on Transactions (p 381)
there are two main examples.
1) making changes in two records in the same database table
2) making changes in two records each in a different *database*
I want to do what is in between: changes in two records each in a
different table of the same database. Suppose they are apples and
oranges tables.
How do I write this?