Displaying 20 results from an estimated 200 matches similar to: "excluding a column from a data frame"
2010 Aug 03
2
How to extract ICC value from irr package?
Hi, all
There are 62 samples in my data and I tested 3 times for each one, then I
want to use ICC(intraclass correlation) from irr package to test the
consistency among the tests.
*combatexpdata_p[1:62] is the first text results and combatexpdata_p[63:124]
* is the second one and *combatexpdata_p[125:186]* is the third.
Here is the result:
2003 Nov 03
2
Odd r-squared
Hi,
I would consider the calculation of r-squared in the following to be a
bug, but then, I've been wrong before. It seems that R looks to see if the
model contains an intercept term, and if it does not, computes r-squared in
a way I don't understand. To my mind, the following are two alternative
parametrizations of the same model, and should yield the same r-squared.
Any insight much
2002 Jul 04
1
[PATCH]: Remove HAVE_CYGWIN in favor of NO_IPPORT_RESERVED_CONCEPT
Hi,
I've sent that patch once already but it seems more or less forgotten
in the tumultuous days of the latest vulnerability.
It adds a new define NO_IPPORT_RESERVED_CONCEPT which can be defined
on platforms not supporting the concept of "privileged" ports only
accessible by privileged users but which allow everyone to use these
ports.
This patch removes some Cygwin dependencies
2004 Feb 06
1
problem to get coefficient from lm()
Dear all,
The following is a example that I run and hope to get a linear model.
However, I find the lm() can not give correct coefficients for the
linear model.
I hope it's just my own mistake. Please help. TIA.
Regards,
Jinsong
> x
[1] 3.760216 3.997288 3.208872 3.985417 3.265704 3.497505 2.923540
3.193937
[9] 3.102787 3.419574 3.169374 2.928510 3.153821 3.100385 3.768770
3.610583
2009 Nov 09
4
prcomp - principal components in R
Hello, not understanding the output of prcomp, I reduce the number of
components and the output continues to show cumulative 100% of the
variance explained, which can't be the case dropping from 8 components
to 3.
How do i get the output in terms of the cumulative % of the total
variance, so when i go from total solution of 8 (8 variables in the data
set), to a reduced number of
2010 Apr 01
2
About logistic regression
Hi,
I have a dichotomous variable (Q1) whose answers are Yes or
No.
Also I have 2 categorical explanatory variables (V1 and V2)
with two levels each.
I used logistic regression to determine whether there is an
effect of V1, V2 or an interaction between them.
I used the R and SAS, just for the conference. It happens
that there is disagreement about the effect of the
explanatory variables
2008 Feb 19
2
one-way anova power calculations
I have been attempting some basic power calculations using R and I am not
getting the results I expect. I had a homework assignment in SAS, but I want
to learn R as well, so I was attempting to reproduce my result. (No one else
in the class is doing R, so there's no need to obsfucate the answer, the SAS
code is what I get my grade for.) The code I am using is:
# You assume that the
2009 Jul 15
1
Matrix multiplication precision
Hi!!
I am trying to multiply 5 matrices and then using the inverse of that matrix for further computation. I read about precision problems from the archives and the suggestion was to use as.numeric while computing the products. I am still having problems with the results. Here is how I am using it
#Mn.mat<-(T.mat %*% Rz.mat %*% Q.mat %*% Rz.mat %*% T.mat) # I was doing this in one step
2012 Jan 06
1
lme model specification problem (Error in MEEM...)
Dear all,
In lme, models in which a factor is fully "contained" in another lead to
an error. This is not the case when using lm/aov.
I understand that these factors are aliased, but believe that such
models make sense when the factors are fitted sequentially. For example,
I sometimes fit a factor first as linear term (continuous variable with
discrete levels, e.g. 1,2,4,6), and
2011 Oct 17
1
Plotting GEE confidence bands using "predict"
Hello Fellow R
Users,I have
spent the last week trying to find a work around to this problem and I can't
seem to solve it. I simply want to plot my GEE model result with 95% confidence
bands.
I am using the geepack package to run a basic GEE model involving
nestling weights, to a Gaussian distribution, with "exchangeable" error
structure. I am examining how nestling weight varies
2009 Nov 03
1
How to display full name for the coefficients/factors in summary()?
Hi,
I am wondering if there is a way to display the full anme of the
regression coeffients/factors in the summary?
Suppose I have a bogus data set using weekday as factor which has 7 levels
such as:
mydata <- sample(364)
wk <- rep(1:7, 52)
weekday <-
2013 Apr 17
2
remove higher order interaction terms
Dear all,
Consider the model below:
> x <- lm(mpg ~ cyl * disp * hp * drat, mtcars)
> summary(x)
Call:
lm(formula = mpg ~ cyl * disp * hp * drat, data = mtcars)
Residuals:
Min 1Q Median 3Q Max
-3.5725 -0.6603 0.0108 1.1017 2.6956
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.070e+03 3.856e+02 2.776 0.01350 *
cyl
2008 Jun 25
2
Is this sapply behaviour normal?
Hi, I'm trying to use sapply to compute the min of several variables, each
of them stored in data.frames, grouped as a list:
Is it normal that mean() and min() produce different objects dimensions?
> str(dats)
List of 5
$ log20:'data.frame': 83 obs. of 5 variables:
..$ DATE : int [1:83] 2001081500 2001081512 2001081600 2001081612
2001081700 2001081712
2024 Feb 16
2
samba 4.19 Windows 11 clients Time sync problem
Dear all,
We just have a samba 4.19 domain running. And what i recognized ist hat some
windows 10/11 clients does not sync time with the dc. The time is not the
real time as on the dc, about 10 minutes back or several minutes in the
future.
Is this a bug or did spmething chance in the behaviour of samba?
My ntp.conf/ Debian11:
driftfile /var/lib/ntp/ntp.drift
server 127.127.1.0
fudge
2012 Sep 06
2
merge a list of data frames
I have a list of data frames:
> str(data)
List of 4
$ :'data.frame': 700773 obs. of 3 variables:
..$ V1: chr [1:700773] "200130446465779" "200070050127778" "200030633708779" "200010587002779" ...
..$ V2: int [1:700773] 0 0 0 0 0 0 0 0 0 0 ...
..$ V3: num [1:700773] 1 1 1 1 1 ...
$ :'data.frame': 700773 obs. of 3 variables:
..$
2024 Feb 16
1
samba 4.19 Windows 11 clients Time sync problem
Hi there.
A few NTP experts around here lately.
We need more info. Distro, and wether your are using NTP (nrpsec) or Chrony.
Regards.
LP
On 16 Feb 2024 at 14:37 +0100, Daniel M?ller via samba <samba at lists.samba.org>, wrote:
> Dear all,
>
> We just have a samba 4.19 domain running. And what i recognized ist hat some
> windows 10/11 clients does not sync time with the dc.
2011 Feb 21
2
Segfaults of eigen
Hi,
with small matrices eigen works as expected:
> eigen(cbind(c(1,4),c(4,7)), only.values = TRUE)
$values
[1] 9 -1
$vectors
NULL
> eigen(cbind(c(1,4),c(4,7)))
$values
[1] 9 -1
$vectors
[,1] [,2]
[1,] 0.4472136 -0.8944272
[2,] 0.8944272 0.4472136
> eigen(cbind(c(1,-1),c(1,-1)))
$values
[1] -3.25177e-17+1.570092e-16i -3.25177e-17-1.570092e-16i
$vectors
2004 Mar 29
1
--from-files broken with remote sources
Using rsync 2.6.0 on both ends, I ran
rsync -v --files-from files andrew@pimlott.net: .
and got an error from the remote rsync. The reason is that the remote
rsync is run as
rsync --server --sender -vvR --files-from=- --from0 .
which conflicts with a check in options.c that rsync must have two
non-option arguments when --files-from is used. I tried again with the
latest nightly
2009 Dec 10
1
Detectar outliers en un gráfico de dispersión
Hola amigos, esta es mi primera duda, espero que no sea demasiado fácil.
Tengo unos datos de dos variables y quiero mostrar recta de regresión
y valor de correlación
serie0 <- c(0.651, 0.712, 0.614, 0.645, 0.559, 0.647, 0.642, 0.534,
0.616, 0.621, 0.623)
serie1 <- c(0.572, 0.641, 0.565, 0.596, 0.518, 0.604, 0.602, 0.501,
0.58, 0.589, 0.596)
data <- cbind(serie0, serie1)
colnames(data)
2024 Feb 26
1
samba 4.19 Windows 11 clients Time sync problem
Hello,
It is debian 11, and it is ntp, as you can see below my ntp.conf.
Ntp service is running fine . Some , not all, W10/11 clients do not sync with the dc (samba 4.19).
What i did on the clients:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
But after some time the wrong time shows up again?
Greetings
Daniel
-----Urspr?ngliche Nachricht-----
Von: Luis Peromarta