Displaying 20 results from an estimated 52 matches for "0.250".
Did you mean:
0.25
1998 Apr 27
1
R-beta: vectors in dataframe?
I have a file:
x y z
0.025 0.025 1.65775
0.025 0.050 1.62602
0.025 0.075 1.63683
0.025 0.100 1.91847
0.025 0.125 2.00913
0.025 0.150 1.82222
0.025 0.175 1.70901
0.025 0.200 1.39759
0.025 0.225 1.39089
0.025 0.250 1.04762
If I read the file like this:
data<-read.table("file.dat")
How do I access the vectors x,y,z that are inside the dataframe data? I
studied Venables and
2012 Jul 02
1
How to get prediction for a variable in WinBUGS?
Dear all,I am a new user of WinBUGS and need your help. After running the following code, I got parameters of beta0 through beta4 (stats, density), but I don't know how to get the prediction of the last value of h, the variable I set to NA and want to model it using the following code.Does anyone can given me a hint? Any advice would be greatly appreciated.Best
2011 Mar 12
3
betareg help
Dear R users,
I'm trying to do betareg on my dataset.
Dependent variable is not normally distributed and is proportion (of condom
use (0,1)).
But I'm having problems:
gyl<-betareg(cond ~ alcoh + drug, data=results)
Error in optim(par = start, fn = loglikfun, gr = gradfun, method = method, :
initial value in 'vmmin' is not finite
Why is R returning me error in optim()?
What
2007 Mar 18
1
HELP...Running data
We are two french students and we have a problem concerning an exercize.
We don't know how to resolve it.
It would be fantastic if someone can help us.
Thanks.
Description:
This study examined how the metabolic cost of locomotion varied
with speed, stride frequency and body mass. Cost was determined
by measuring oxygen consumption (?vo2?), analyzing the oxygen
content in air inhaled and
2001 Dec 27
3
reshape error in 1.4 (PR#1231)
Full_Name: Kevin Wright
Version: 1.4
OS: Windows 95
Submission from: (NULL) (170.54.59.160)
Note: This was the 1.4 build for Windows that Brian Ripley made available.
The first example in the help for reshape doesn't work for me. When I cut and
paste, this is what happens:
> data(Indometh,package="nls")
> summary(Indometh)
Subject time conc
2007 Jul 10
1
exces return by mktcap decile for each year
I have a data frame, lets call it dat,
with 3 columns ( mc, yr, ret) which represent market
cap, year, and return. mc is a factor, mc, and ret are
real numbers.
I want to add a column to the data calculated as
follows.
For each year, I want to split the data by mc decile,
then calculate the mean ret within that mc decile, and
finally subtract that year's decile mean from the raw
return. Then
2013 Mar 14
3
column and line graphs in R
Hi all,
I would love to plot my data with R. I have abundance and frequency of fungal
taxonomic data that should be plotted in the same graph. In Microsoft Excel
is that possible but the graphic result is, as always, very poor. Is there
a function that may let me plot these data in R?
I have a matrix made of two columns, on is the relative abundance and the
other is the relative frequency for
2017 Nov 15
2
ks.test() with 2 samples vs. 1 sample an distr. function
Dear all,
I have a question concerning the ks.test() function. I tryed to calculate the example given on the German wikipedia page.
xi <- c(9.41,9.92,11.55,11.6,11.73,12,12.06,13.3)
I get the right results when I calculate: ks.test(xi,pnorm,11,1)
Now the question: shouldn't I obtain the same or a very similar result if I commpare the sample and a calculated sample from the distribution?
2010 Sep 20
2
interpreting one-way anova tables
Hi, I am trying to reconcile anova table in R (summary(lm)) with individual t.test.
datafilename="http://personality-project.org/R/datasets/R.appendix1.data"
data.ex1=read.table(datafilename,header=T) #read the data into a table
summary(lm(Alertness~Dosage,data=data.ex1))
gives:
Call:
lm(formula = Alertness ~ Dosage, data = data.ex1)
Residuals:
Min 1Q Median 3Q Max
2008 Apr 11
4
Format regression result summary
Hello to the whole group.
I am a newbie to R, but I got my way through and think it is a lot easier to
handle than other software packages (far less clicks necessary).
However, I have a problem with respect to the summary of regression results.
The summary function gives sth like:
Residuals:
Min 1Q Median 3Q Max
-0.46743 -0.09772 0.01810 0.11175 0.42252
2010 Jan 30
1
Sweave - have Sexpr print 3 digits when the last is 0
Hi,
I want 3 digits printed even if the last one is zero with \Sexpr{}
For example:
> ghg.06[12]
[1] 0.2501008
I want: 0.250
What I've tried:
\Sexpr{round(ghg.06[12],3)}
0.25
\Sexpr{format(ghg.06[12])} % set options(digits=3) in earlier rnw chunk
0.25
\Sexpr{round(ghg.06[12],4} %but I want 3 not 4 digits
0.2501
Thanks in advance.
Elizabeth Stanny
epstanny at gmail.com
2003 Dec 15
1
Can't see Samba server from Windows
I cannot see my Linux box running Samba to print or access files. The
output of "smbclient -U% -L localhost" seems to indicate I should see
one share and one printer: (the ...0.250 ip address is for my DSL
connection, the ...0.2 is for my LAN)
added interface ip=192.168.0.250 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
2008 May 21
1
xlab at top in xyplot()
Dear R-helpers,
(1) How do I add a 'top' label symmetric with the 'bottom' label' in:
axis.td <-
function(side, ...)
{
ylim <- current.panel.limits()$ylim
switch(side,
bottom = {
panel.axis(side = side, outside = TRUE, rot = 0,
at = 1:3, labels = c(2.0, 3.5, 5.0))
},
2006 Mar 15
2
Regarding aov Error()
The following dummy data frame has factor Q (with 2 levels) nesting
factor P (with levels p1 and p2 nested under q1, and p3 and p4 nested
under q2), but both crossing the random variate s, which has 8
levels. The dependent measure is dv.
> # The data frame:
> testnest
dv s P Q
1 1 s1 p1 q1
2 2 s2 p1 q1
3 1 s3 p1 q1
4 2 s4 p1 q1
5 1 s5 p1 q1
6 3 s6 p1 q1
7 3 s7
2024 Aug 02
2
grep
Good Morning. Below I like statement like
j<-grep(".r\\b",colnames(mydata),value=TRUE); j
with the \\b option which I read long time ago which Ive found useful.
Are there more or these options, other than ? grep? Thanks.
dstat is just my own descriptive routine.
> x
?[1] "age"????????? "sleep"??????? "primary"????? "middle"
?[5]
2017 Nov 15
0
ks.test() with 2 samples vs. 1 sample an distr. function
In the first example you are performing a one-sample test against a continuous cumulative distribution (in this case a normal distribution). In the second case you are performing a two-sample test. You drew your values for x non-randomly by specifying fixed intervals along a normal distribution, but ks.test() just sees that you have provided two samples, not one sample and values along a
2013 Nov 28
1
Relative Cumulative Frequency of Event Occurence
Hi,
My objective is to calculate "Relative (Cumulative) Frequency of Event
Occurrence" - something as follows:
Sample.Number 1st.Fly 2nd.Fly Did.E.occur? Relative.Cum.Frequency.of.E
1 G B No 0.000
2 B B Yes 0.500
3 B G No 0.333
4 G B No 0.250
5 G G Yes 0.400
6 G B No 0.333
7 B B Yes 0.429
8 G G Yes 0.500
9 G B No 0.444
10 B B Yes 0.500
Please refer to the code below:
2000 Jan 11
1
a +1 shift overlaying lines/points on a boxplot (PR#398)
Full_Name: Adrian Custer
Version: 0.90.0
OS: Linux on Thinkpad (pentium) and desktop (K6)
Submission from: (NULL) (128.32.251.234)
When I create a boxplot, and then try to overlay a lowess fit or just the
points,
the points do not appear in the highest level and the lowess curve does not
reach
the highest level. However, if I add one to each of the models, the problem is
solved.
I tried this
2006 Feb 02
1
the meaning of the B-spline coefficients
Dear all,
I'm trying to figure out the exact meaning of the B-spline
coefficients generated by the R command bs(). After reading a
lot of things, I still have no clue...
Here's my data.
> test
time f0
1 1 94.76328
2 2 102.47954
3 3 105.01234
4 4 107.21387
5 5 108.63279
6 6 109.54507
7 7 113.87931
8 8 118.21356
9 9 121.08652
10
2012 Jul 23
3
How to do the same thing for all levels of a column?
Dear all,
I am a R beginner, and I am looking for a way to do the same thing for all
levels of a column in a table.
Basically, I have a bunch of protein sequences composed of different amino
acid residues, and each residue is represented by an uppercase letter. I
want to calculate the ratio of different amino acid residues at each
position of the proteins. Here is an example table:
Proteins