Displaying 20 results from an estimated 10000 matches similar to: ""argument is missing, with no default" OR "replacement has length zero""
2012 Nov 29
1
Error 0ps.factor: level sets of factors are different
I have two data sets: "new" and "combo". Within both data set, each row
pertains to a unique individual. The "combo" data set is a subset of the
"new" data set, meaning that all individuals within "combo" are within "new"
but not all individuals within "new" are within "combo". Thus, nrow(new) >
nrow(combo).
Each
2008 Nov 21
1
question about shapiro.test()
Hi all!
I tried to perform Shapiro-Wilk test for my sample of 243 values.
> Us
[1] -10.4 -13.1 -12.2 38.1 -18.8 -13.3 -11.7 29.3 49.7 6.8 12.7 16.3
[13] 5.8 -0.7 -29.4 4.1 38.8 -1.4 8.8 15.6 32.9 -5.3 19.1 35.8
[25] 4.0 -1.5 0.6 -4.2 -10.0 -4.0 1.1 48.9 -21.0 -5.3 5.8 -10.8
[37] 21.9 8.2 -3.2 -3.9 -2.3 12.6 -4.7 -8.0 11.8 27.4 -9.5 -20.8
[49]
2010 Jun 01
1
arrange data
Hi r-users,
I have a data below but I would like to rearrange my data so that it will be in the following format: year, month, day, rain. I also would like the data to be arranged so that it will be continues for example year 1939 it will go from january 1 to december 31 and continue with year 1940 from january 1st to 31st December and so on. What I have now is all january for all the years
2013 Feb 15
3
datos climáticos cambio de formato
Hola!!
tengo un data.frame donde cada fila corresponde a un año y cada columna a
un mes (De enero a diciembre)
> head(valT)
V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13
1941 18.0 16.3 15.2 10.1 8.1 8.3 8.8 9.2 7.9 12.2 11.9 14.6
1942 17.2 15.9 13.6 11.6 8.7 6.2 6.4 7.2 9.7 12.0 14.1 16.7
1943 17.6 17.3 13.5 12.5 10.5 7.0 8.2 7.9 -999.9 -999.9
2010 Apr 16
2
managing data and removing lines
Hi,
I am very new to R and I've been trying to work through the R book to gain a
better idea of the code (which is also completely new to me).
Initially I imputed my data from a text file and that seemed to work ok, but
I'm trying to examine linear relationships between gdist and gair, gdist and
gsub, m6dist and m6air, etc.
This didn't work and I think it might have something to do
2008 May 24
2
Importing data in text file into R
Dear all,
I am quite new to R; facing certain problems:
Say, I have a text file( named as "try"):
Year C1 C2 C3 C4 C5 C6
Y1 3.5 13.8 9.5 6.8 0.4 24.2
Y2 3.8 13.9 9.9 7.6 0.7 12.8
Y3 4.5 14.5 14.2 9.2 0.6 14.5
Y4 5.9 16.2 24.6 12.7 0.2 24.3
Y5 7.2 20.4 40.6 18.2 0.8 28.2
Y6 5.9 18.6 37.4 14.5 0.3 36.9
Y7 8.0 16.1 88.6 24.1 0.1 34.6
Y8 13.6 21.1 56.3 19.0 0.7 33.3
I wish to import the
2007 Jul 18
2
Subsetting Enigma: More rows after dataframe[-list,]?
Hello again,
I'm trying to purge the indexes in i.delete from frame and end up with more
rows!? Please be so kind and let me know where I screw this up ...
Joh
> i.delete
[1] 40 45 165 212 253 270 280 287 301 352 421 433 463 467
487
[16] 517 537 542 573 594 596 612 614 621 635 650 696 699 707
732
[31] 738 776 826 891 892 936 937 935 940 976
2003 Jul 15
7
Excel can do what R can't?????
Hi there
I thought this would be of particular interest to people using 'optim'
functions and perhaps people involved with R development.
I've been beaten down by R trying to get it to perform an optimization on a
mass-balance model. I've written the same program in excel, and using the
'solver' function, it comes up with an answer for my variables (p, ACT,
which
2011 Aug 24
2
handy tip against unhelpful "Could not intern from pson" error
Not sure if people are already aware of this, but it might save
someone some time in the future. I''ve been tracking down the following
error today, it''s rather unhelpful in telling you where the problem is
in your manifests:
# puppetd --test
info: Retrieving plugin
err: Could not retrieve catalog from remote server: Could not intern
from pson: Could not convert from pson: Could
2005 May 12
2
tempsum
hi,
i'd like to calculate a temperatursum, adding the value of each element.
let's say the data looks like this:
x<-c(1,2,3,4,5)
what i want to do, is ploting not the sum in the end but all the
subresults, too,
so my vector holds:
x[i]
[1]
1,3,6,10,15
here is what i tried, which seems to be right to me, bu doesn't work out:
x<-c(1,2,3,4,5)
i<-1
j<-1
2013 Nov 27
1
inflate zlib compressed data using base R or CRAN package?
Hello,
I have a binary file type that includes a zlib compressed data block (ie
not gzip). Is anyone aware of a way using base R or a CRAN package to
decompress this kind of data (from disk or memory). So far I have found
Rcompression::decompress on omegahat, but I would prefer to keep
dependencies on CRAN (or bioconductor). I am also trying to avoid
writing yet another C level interface to
2007 Aug 09
2
Systematically biased count data regression model
Dear all,
I am attempting to explain patterns of arthropod family richness
(count data) using a regression model. It seems to be able to do a
pretty good job as an explanatory model (i.e. demonstrating
relationships between dependent and independent variables), but it has
systematic problems as a predictive model: It is biased high at low
observed values of family richness and biased low at
2004 May 12
1
Musical interruptions
Whilst on a call, I'm getting the following...
-- Started music on hold, class 'default', on SIP/phone3-a7d5
-- Playing 'pbx-transfer' (language 'en')
-- Unable to find extension '#' in context 'default'
-- Playing 'pbx-invalid' (language 'en')
ie - without anyone pushing keys - I hear the music on Hold - as does
the
2006 Mar 02
1
Curious subsetting behavior
I have a simple vector, called tmp that I want to subset based on another
vector called vec. Everything works as expected except for below where the
subsetting returns something other than the original data. Any ideas?
> vec <- c(1,2,3,4,5,59,60,27,32,21)
> tmp
[1] 1.0 1.1 2.0 2.1 2.2 3.0 3.1 4.0 5.0 5.1 6.0 7.0 8.0 8.1
9.0
[16] 9.1 9.2 10.0 10.1 11.0 12.0 13.0 14.0
2011 Apr 11
2
Plotting a quadratic line on top of an xy scatterplot
Dear Listserv,
Here is my latest in a series of simple-seeming questions that dog me.
Consider the following data:
x <- read.table(textConnection("temperature probability
0.11 9.4
0 2.3
0.38 8.7
0.43 9.2
0.6 15.6
0.47 8.7
0.09 12.8
0.11 9.4
0.01 7.7
0.83 8
0.65 9.3
0.05 7.4
0.34 10.1
0.02 4.8
0.07 9.1
0.6 15.6
0.01 8.4
0.9 9.6
0.83 8
0.12 8.4
0.01 8
0 5
0.11 9.7
0.41 7.4
0.05 9.4
0.09
2003 May 22
1
Macintosh OS 9.2 and SMB Networks
Some use Dave (http://www.thursby.com/products/dave.html) or DoubleTalk
(http://www.connectix.com/products/dt.html). However, we use Netatalk
(http://netatalk.sourceforge.net/) successfully to share the Unix/Samba file
system with our Mac clients. Is there any reason you can't use Netatalk?
Khanh Tran
Network Operations
Sarah Lawrence College
-----Original Message-----
From: Corey Hart
2012 Jul 06
4
differences between survival models between STATA and R
Dear Community,
I have been using two types of survival programs to analyse a data set.
The first one is an R function called aftreg. The second one an STATA
function called streg.
Both of them include the same analyisis with a weibull distribution. Yet,
results are very different.
Shouldn't the results be the same?
Kind regards,
J
--
View this message in context:
2008 Jul 29
1
Howto Draw Bimodal Gamma Curve with User Supplied Parameters
Hi,
Suppose I have the following vector (data points):
> x
[1] 36.0 57.3 73.3 92.0 300.4 80.9 19.8 31.4 85.8 44.9 24.6 48.0
[13] 28.0 38.3 85.2 103.6 154.4 128.5 38.3 72.4 122.7 123.1 41.8 21.7
[25] 143.6 120.2 46.6 29.2 44.8 25.0 57.3 96.4 29.4 62.9 66.4 30.0
[37] 24.1 14.8 56.6 102.4 117.5 90.4 37.2 79.6 27.8 17.1 26.6 16.3
[49] 41.4 48.9 24.1
2005 Feb 20
1
Mandrake & CAPI
All,
I have been trying to get CAPI4Linux working on my machine and being
frank am failing miserably! I am looking for any help available, I am
real newbie (so please be gentle) and choose to run Mandrake 9.2 as it
appears quite friendly (or so I thought!).
I have been following the guidance found at
http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI for the
AVM card (actually I
2005 Oct 13
1
ocfs2 and Suse 9.2
I'm having some problems with ocfs2 and Suse 9.2. The
documentation for ocfs2 says it comes with Suse 9.2. I've installed
Suse and used YAST to get to SP2.
# SPident -vv
Summary (using 612 packages)
Product/ServicePack conflict match update
(shipped)
SLES-9-x86_64 0 0% 293 47.9% 44 (1597
18.3%)
SLES-9-x86_64-SP1 0 0% 110