Displaying 20 results from an estimated 140 matches for "2.000".
Did you mean:
2.0.0
1999 May 06
0
matrix weirdness
I am using R on unix version 63.0
I am doing an image plot of the following data file:
================================
lag1 lag2 cif2d
0.000 0.000 NaN
0.000 1.000 0.500000
0.000 2.000 0.489831
0.000 3.000 0.492986
0.000 4.000 0.493409
0.000 5.000 0.492727
0.000 6.000 0.494485
1.000 0.000 0.500000
1.000 1.000 NaN
1.000 2.000 0.495098
1.000 3.000 0.489831
1.000 4.000 0.492986
1.000 5.000
2001 Feb 28
1
print()
Hi, I've two questions. Please help me. Thanks!
--- Question (1) ---
When I type: print("School Name")
the output is: [1] "School Name"
How to get rid of the '[1]' and the double quotes ""
and make the output like this: School Name
--- Question (2) ---
I got the following output by typing "summary(data)".
dstuser dstmethod
2005 May 31
1
apply the function "factor" to multiple columns
I have a case where I would like to change multiple columns containing
numbers to factors. I can change each column one at a time as in:
TEMP.FACT$EXPOS01<-factor(TEMP.FACT$EXPOS01,levels=c(1,2,3),labels=c("No
ne","Low Impact","MedHigh Imp"))
TEMP.FACT$EXPOS02<-factor(TEMP.FACT$EXPOS02,levels=c(1,2,3),labels=c("No
ne","Low
2007 Aug 22
3
tackle memory insufficiency for large dataset using save() & load()??
Hello List, i have been agonizing over this for days, any reply would be greatly appreciated!
Situation:___________________________________
My original dataset is a .csv dataset (w/ 2M records) with 4 variables:
job_id (Primary key, won't be used for analysis, just used for join tables),
sector_id (categorical variable, for 19 industry sectors),
sqft (con't variable for square
2020 Sep 21
2
Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"
Hello everyone,
I am using *mlogit* to analyse my choice experiment data. I have *3
alternatives* for each individual and for each individual I have *9
questions*. I have a response from *516 individuals*. So it is a panel of
9*516 observations. I have arranged the data in long format (it contains
100 columns indicating different variables and identifiers).
In mlogit I tried the following
2005 May 31
2
Why does "summary" show number of NAs as non-integer?
Example:
> set.seed(19)
> summary( c(NA, runif(10,1,100), NaN) )
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
7.771 24.850 43.040 43.940 63.540 83.830 2.000
Why isn't the number of NA's just "2" instead of the "2.000" shown above?
efg
2006 Dec 14
5
Nicely formatted tables
If I use latex(summary(X)) where X is a data frame with four
variables I get something like
Rainfall Education Popden Nonwhite
Min. :10.00 Min. : 9.00 Min. :1441 Min. : 0.80
1st Qu.:32.75 1st Qu.:10.40 1st Qu.:3104 1st Qu.: 4.95
Median :38.00 Median :11.05 Median :3567 Median :10.40
Mean :37.37 Mean :10.97 Mean :3866
2004 Jan 27
2
Probability for ANOVA
Hi all!
I have 4 treatments on 5 animals
Treat1 Treat2 Treat3 Treat4
Animal1 36 37 35 39
Animal2 33 34 36 37
Animal3 37 35 33 38
Animal4 34 36 34 35
Animal5 35 36 33 36
I use an Anova and i try to verify calcul
So i retrieve:
DF SS
2012 Apr 25
1
recommended way to group function calls in Sweave
Dear all
When using Sweave, I'm always hitting the same bump: I want to group
repetitive calls in a function, but I want both the results and the
function calls in the printed output. Let me explain myself.
Consider the following computation in an Sweave document:
summary(iris[,1:2])
cor(iris[,1:2])
When using these two calls directly, I obtain the following output:
> summary(iris[,1:2])
2023 Feb 20
1
service(imap-login): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument macOS
I fixed the issue with Dovecot not starting on macOS Ventura by adding this to 10-master.conf:
service log {
vsz_limit = 0
}
But now when I try to login via Imap on port 143 I get the same error for imap-login:
Feb 20 15:55:41 imap-login: Error: Feb 20 15:55:41 service(imap-login): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument
Feb 20 15:55:41 imap-login: Fatal: master:
2011 Jun 24
2
SQL Changing Data Type
Passing in two dates to a sql statement (sqldf). Is returning a factor. Tried
setting back to a Date via as.Date, but get an error the error: character
string is not in a standard unambiguous format. Any thoughts appreciated.
Code/Results listed below:
> summary(df.possible.combos)
Date Hour
Min. :2011-03-01 Min. : 0.00
1st Qu.:2011-03-23 1st Qu.: 5.75
2009 Sep 29
1
Summary
My data is called xc and has more than 15 variables.
When I used summary(xc) it gave me the detail description of each
variable.
Summary(xc)
Y1 x1 x2
x3 ..
Min. :0.0000 Min. : 1.000 Min. : 1.000 Min. : 1.000
1st Qu. :0.0000 1st Qu.: 1.000 1st Qu.: 1.000 1st Qu.: 2.000
Median :1.0000 Median : 1.000
2013 Jul 30
1
Ayuda
Hola colegas:
He estado usando R Studo para obtener unos reportes que espero me ayuden a
comprender un ejemplo que estoy tomando de la red.
Usando sink("Tabla.txt") , al pedir summay(n), obtengo:
sr tl
1 : 1 1: 4
10 : 1 2:13
18 : 1 3:10
30 : 1 4: 4
47 : 1 7: 9
67 : 1
(Other):34
d
Min. : 1.000
1st Qu.: 2.000
Median : 5.000
2009 Nov 23
2
non-intuitive behaviour after type conversion
Deal list,
I have a data frame (birth) with mixed variables (numeric and
alphanumeric). One variable "t1stvisit" was originally coded as
numeric with values 1,2, and 3. After attaching the data frame, this
is what I see when I use str(t1stvisit)
$ t1stvisit: int 1 1 1 1 1 1 1 1 2 2 ...
This is as expected.
I then convert t1stvisit to a factor and to avoid creating a second
2004 Nov 29
6
Citation
Hello!
I would like to know how do I citate R?
I have used it during my Master thesis but I don’t know how to citate
during the text and on the references.
I’ve looked for it on the web page but only found how to citate the FAQ.
Thank you in advance.
Tatiana Fernandes
Universidade Estadual do Norte Fluminense
Laboratório de Ciências Ambientais - CBB
Av. Alberto Lamego, 2.000 - Campos dos
2009 Aug 01
1
about the summary(cph.object)
Could someone explain the summary(cph.object)?
The example is in the help file of cph.
n <- 1000
set.seed(731)
age <- 50 + 12*rnorm(n)
label(age) <- "Age"
sex <- factor(sample(c('Male','Female'), n,
rep=TRUE, prob=c(.6, .4)))
cens <- 15*runif(n)
h <- .02*exp(.04*(age-50)+.8*(sex=='Female'))
dt <- -log(runif(n))/h
label(dt)
2012 Jun 13
1
How to calculate the statistcs for extracted region?
I have a binary file(a) with size of (360 720 )for the globe.I wrote the code
given below to read and extract an area (south america)from that file. when
I use summary for the whole file I got:
summary(a, na.rm=FALSE)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
0.00 1.00 3.00 4.15 7.00 20.00 200083 .
But when I used summary for the region(b) which I extracted, I got
2007 May 29
2
trouble understanding why ...=="NaN" isn't true
I have the following data:
> dataset[2,"Sample.227"]
[1] NaN
1558 Levels: -0.000 -0.001 -0.002 -0.003 -0.004 -0.005 -0.006 -0.007 -0.008-
0.009 ... 2.000
However, I'm not sure why this expression is coming back as FALSE:
> dataset[2,"Sample.227"]=="NaN"
[1] FALSE
Similarly:
> dataset[2,"Sample.227"]==NaN
[1] NA
It seems that since
2006 Jan 30
1
weights argument in the lmer function in lme4
I suspect the weights argument is not having any effect.
Package: Matrix
Version: 0.995-2
Date: 2006-01-19
Beginning with this:
Browse[1]> resp.lmer <- lmer(SensSSC ~ Block + Season + (1 | Plot) + (1 | Ma) + (1 | Pa) +
+ (1 | MaPa), weights = SensSSC.N, data = xx)
I group the output into a table with my ran.eff function and get this:
2009 Dec 19
3
DROP and KEEP statements in R
What is equivalent to DROP or KEEP statements of SAS in R?
--
This message was sent on behalf of sarjinder at yahoo.com at openSubscriber.com
http://www.opensubscriber.com/messages/r-help at r-project.org/topic.html