Displaying 20 results from an estimated 183 matches for "2.50".
Did you mean:
2.0
2007 Oct 03
2
Error in lm.fit(
I am using R.2.4.1 on Windows XP 5.1 (SP 2).
I have the following line in my R code.
Analysis=anova(lm(PM ~ x))
It works the first 60 or so times it is called but
then I get the following error message.
Error in lm.fit(x, y, offset = offset, singular.ok =
singular.ok, ...) : 0 (non-NA) cases
In order to examine the input, I preceeded the call
with the following.
print(PM)
print(x)
This gave
2012 Nov 25
1
Multiple Range Means Test
Hello,
My boss wants me to do a Duncan's test, which is under the agricolae
package. Unfortunately I am not versed enough in R to run my data. I
have 7 subspecies of deer mouse for which I have 23 measurements which
are my variables of interest. I have run an ANOVA for each of the set
of subspecies and variables, my data look like this:
subspecies WMF
1 rowleyi 2.50
2 rowleyi 2.30
2009 Aug 27
5
Transform data for repeated measures
I have a dataset that I'm trying to rearrange for a repeated measures analysis:
It looks like:
patient basefev1 fev11h fev12h fev13h fev14h fev15h fev16h fev17h fev18h drug
201 2.46 2.68 2.76 2.50 2.30 2.14 2.40 2.33 2.20 a
202 3.50 3.95 3.65 2.93 2.53 3.04 3.37 3.14 2.62 a
203 1.96 2.28 2.34 2.29 2.43 2.06 2.18 2.28 2.29 a
2019 May 30
1
Possible bug in formatC
I do not know if this is a bug or a case of improper documentation. The
documentation for formatC() implies that the difference between the options
format="f" and format="g" is that with "g", scientific format is sometimes
used. There is another difference between them that is not mentioned in the
documentation. drop0trailing=FALSE is ignored when format is set to
2012 Aug 18
3
Row means of matrix.
Hi all,
I'm just having trouble getting row means of a matrix which
contain zero.
For example.
m=matrix(c(1:4, c(0, 0, 0, 0), c(1, 0, 1, 1)), nc=4, byrow=TRUE)
I want to be able to calculate means for non-zero elements for each row.
## what i have is this
apply((m[apply(m != 0, MARGIN=1, any),]), 1, mean)
## which returns
[1] 2.50 0.75
### what i want to get returned is this
2008 May 09
3
Query: how to add quotes when importing a txt file
Dear R users,
I have a txt file of the form
10092007 24.62 24.31 24.90
11092007 19.20 23.17 22.10
13092007 24.71 27.33 23.10
14092007 27.33 27.90 24.10
15092007 28.22 28.55 24.30
16092007 28.53 29.24 27.40
17092007 24.19 30.64 26.80
18092007 22.60 20.62 28.40
19092007 8.89 1.70 14.70
20092007 21.27 2.92 17.30
21092007 22.38 24.72 8.80
22092007 23.94 24.73 20.40
23092007 25.33 25.12 22.60
2011 Oct 25
2
Extracting dataframe rows containing NAs in one column
Hi,
I am working on a data set which looks like this:
> head(temp)
Day Month Year PW ROW
1 1 1 1959 NA 6.40
2 2 1 1959 6.65 6.35
3 3 1 1959 2.50 3.60
4 4 1 1959 0.60 2.25
5 5 1 1959 0.85 0.30
6 6 1 1959 0.00 2.20
I am trying to extract all the rows containing NA. I can extrat all the rows
without NAs in column 4 using
>
2003 Jun 05
1
kmeans (again)
Regarding a previous question concerning the kmeans function I've tried the
same example and I also get a strange result (at least according to what is
said in the help of the function kmeans). Apparently, the function is
disregarding the initial cluster centers one gives it. According to the help
of the function:
centers: Either the number of clusters or a set of initial cluster
2003 Mar 14
1
Formatting significant digits with trailing zeros
I need a function like signif(), but returns the rounded values as
character strings, formatted with trailing zeros where appropriate.
If anyone has one, I would sure appreciate a copy.
Thanks
-Don
Details:
signif() rounds a number to a specified number of significant digits,
for example:
> x <- c(2.503,2.477,0.1204)
> signif(x[1],3)
[1] 2.5
> signif(x[2],3)
[1] 2.48
2011 Jan 23
2
Problem with combined two data frame.
Dear All.
I have some problem with combined two data frame.
....
I have first data frame ..
GPAX THAI MATH SCINCE SOCIAL HEALT ART CAREER LANGUAGE
1227 2.99 3.32 2.50 2.64 3.05 3.60 3.72 3.57 2.62
1704 2.81 2.56 2.48 2.86 3.22 3.19 3.55 3.20 2.51
617 2.18 1.90 1.97 2.06 2.38 3.50 3.54 2.33 1.70
876 2.82 3.14 2.73 2.46 2.71 3.11 3.04 3.24 2.90
2006 Mar 17
1
nlme predict with se?
I am trying to make predictions with se's using a nlme (kew11.nlme
below). I get an error indicating levels for a factor are not allowed.
I have searched and read Rnews, MEMSS, MASS, R-Help, and other lists
in Spanish where I found questions similar to mine but not solution.
I do not really care about the method used. Any suggestions to obtain
predictions with se's from an nlme
1999 Jun 09
2
summary gives inaccurate data
Hi,
using R64.1 the summary function for simple statistics of a vector gives
inaccurate
results for the maximum.
Example:
summary(c(123456,1,2,3))
gives :
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.00 1.75 2.50 30870.00 30870.00 123500.00
The Max value ist wrong in a mathematical sense. I've tried with S-Plus,
it gives the same result,
but this seems
2018 Dec 17
1
Unnecessary apostrophe in English base::summary() NA count output?
Hello, this is quite a minor issue but as summary() is in all likelihood
one of the most widely used functions in R I decided to email this list.
When producing a count of missing values, summary() in English generates an
unnecessary and grammatically incorrect apostrophe (NA's rather than NAs)
in its table header. For example:
> summary(c(1,2,NA,3,4,NA))
Min. 1st Qu. Median Mean
2008 Jul 01
2
Fitting a curve to data
Hi
I have a set of data like this:
*Time of Day* *Pct of Daily Volume* 9:45 7.50% 10 6.25% 10:15 4.45%
10:30 4.80% 10:45 4.45% 11:00 4.20% 11:15 2.50% 11:30 2.30% 11:45 2.25%
12:00 2.45% 12:15 2.60% 12:30 2.00% 12:45 2.05% 13:00 2.40% 13:15 1.90%
13:30 3.10% 13:45 2.90% 14:00 2.80% 14:15 2.50% 14:30 3.40% 14:45 4.40%
15:00 5.40% 15:15 4.00% 15:30 4.70% 15:45 6.20% 16:00 8.50%
I want to fit
2013 Jun 15
0
Calculate days with R
Hi,
May be this helps:
dat1<- read.table(text="
pbnr??????? dat? dep? dys? sop? ago? mis age female
1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75? 35????? 1
2 10023 1994-05-25 0.75 1.00 0.50 0.50 0.75? 35????? 1
3 10028 1994-02-01 2.00 1.75 3.00 0.50 1.50? 42????? 1
4 10028 1999-01-15 1.25 0.75 2.25 0.50 0.25? 42????? 1
5 10053 1994-03-16 2.50 0.75 1.25 0.50 1.25? 22????? 1
6 10053
2013 Jun 15
2
quick Help needed
Hi,
i am new to this forum and not sure how it works,
I am trying to do deskriptive descripe my data in terms of gender:
head(scltotal)
pbnr dat dep dys sop ago mis age female messpunkt2
messpunkt1 tage eintrittsjahr
1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75 35 1 8817
8817 0 1994
2 10023 1994-05-25 0.75 1.00 0.50 0.50 0.75 35 1 8910
8817
2012 Feb 17
1
basic help: graph multivariate analysis.
Hey guys, I'd really appreciate any help.
I have a multivariate analysis done, the output of which is:
> GraphData <-read.table("eigen.coa")
> GraphData
V1 V2 V3 V4
1 1 0.371970 0.8552 0.8552
2 2 0.061785 0.1420 0.9972
3 3 0.001211 0.0028 1.0000
4 4 0.000000 0.0000 1.0000
> summary(GraphData)
V1 V2 V3
2017 Sep 05
2
lightdm dependency
On a CentOS 7 system I'm trying to install lightdm.
Yum says it requires "glib2(x86-64) >= 2.50.3".
glib2 2.46 is installed but I have not found a
2.50 version. Have I overlooked it in some repo?
--
Jon H. LaBadie jcu at labadie.us
11226 South Shore Rd. (703) 787-0688 (H)
Reston, VA 20190 (703) 935-6720 (C)
2007 Apr 25
2
A very simple question
Hi all,
I just loaded R 2.50. I want this version to bring the objects from the
previous version. How do I do that?
Thanks
David
2001 Sep 27
2
openssh-2.9.9p2, AC_SYS_LARGEFILE, SCO, and HPUX
openssh-2.9.9p2/configure.in says:
# Disabled until it works on SCO and HPUX
#AC_SYS_LARGEFILE
As an autoconf maintainer I'd like to fix this. Can you please
explain what's broken on SCO and HPUX?
I'm puzzled by the comment, as AC_SYS_LARGEFILE is a feature
introduced in autoconf 2.50, whereas openssh-2.9.9p2/configure was
built with autoconf 2.13.
Anyway, some older GNU