Displaying 20 results from an estimated 1100 matches similar to: "Annual cumulative sums from time series"
2007 Jan 08
2
Simple spectral analysis
Hello world,
I am actually trying to transfer a lecture from Statistica to
R and I ran into problems with spectral analysis, I think I
just don't get it 8-(
(The posting from "FFT, frequs, magnitudes, phases" from 2005
did not enlighten me)
As a starter for the students I have a 10year data set of air
temperature with daily values and I try to
get a periodogram where the annual
2004 Aug 24
7
Strange update problem 3.0.5->3.0.6 with XP-Clients
Hello world,
I have a very strange update problem: this night I upgraded
from 3.0.5 to 3.0.6 (debian unstable) and the system broke completely
with very strange errors (I did not change anything to smb.conf)
- win98 users can log in, copy and everything
- xp users can log in, they see the shares but they cannot access
the files (read error in xp). I have tested it with
Xp-Prof SP1 und SP2
2005 Feb 17
4
Getting *types* of arguments?
Hello world,
short question: is there a possibility to get a list of
arguments of a function *with* variable/parameter types?
formals() gives me the names of the parameters, but says
nothing about the parameter type it expects (I know I can always use the
help function).
I would like somthing like
$x: vector or data.frame...
Thanks in advance...
Georg
--
Georg Hoermann, Fachabteilung
2005 Feb 25
2
Teaching R in 40 minutes. What should be included?
If _you_ were asked to give a 40 minute dog and pony show about R for
a group of scientists ranging from physicists to geographers what
would you put in? These people want to know what R can do.
I'm thinking about something like:
A. Overview
B. data structures
C. arithmetic and manipulation
D. reading data
E. linear models using glm
F. graphics
G. programming
H. other tricks like rpart or
2013 Feb 11
3
Ubuntu cran2deb PPA
Dear Michael,
I was looking up the status of the cran2deb effort and notice that you
now have a PPA where new packages are landing and being built for
Ubuntu. It looks like this is still a work in progress, but is already
a fantastic resource for me and I hope it is something that you can
continue to operate.
I'm now installing many of these packages but some things I need are
missing.
2011 Jun 25
1
if you start fifa error message comes
I've installed new fifa and written in the code of the terminal had opened up to play EA Sports intro then comb a new error message in there Standt:
"In the program were difficult manager11.exe gent fault and it must be-beeendet We apologize for this unnanehmlichkeiten.
The cause may be a problem in the program or may fail to run in wine sein.sie www.appdb.winehq.org tips under the
2024 Aug 09
3
If loop
"Or use <<- assignment I think. (I usually return, but return can only
return one object and I think you want two or more"
You can return any number of objects by putting them in a list and
returning the list.
Use of "<<-" is rarely a good idea in R.
-- Bert
On Fri, Aug 9, 2024 at 1:53?AM CALUM POLWART <polc1410 at gmail.com> wrote:
>
> OK. The fact
2011 Mar 10
2
sum of variables in function
Dear R users,
Probably, this is quite a simpe question, but I do not find the proper way
to obtain want I need. To explain the problem, I constructed a simple
example.
Suppose I have the following function:
try1<-function(x){
y<-x[1:2]
z<-x[3:4]
y[1]*(z[1]+z[2])+y[2]*(z[1]+z[2])
}
This function will be part of a for loop. This is what I like to obtain for
every k:
if k=2
2007 Jun 21
1
Using the object of character data type as the name of the slot
Dear all,
I have a character string object:
> chara
[1] "The name of first slot"
and a list object:
> class( try1)
[1] "list"
what I want to do is to use the chara as a slot's name of "try1".
Of course I could do it like:
> try1$"The name of first slot" <- matrix("", 3, 4)
to create a slot of 3x4 matrix with the name
2024 Aug 09
1
If loop
Thanks. Hmm. The loop is doing what it is supposed to do.
> try1<-function(joint12=FALSE,marg1=FALSE,marg2=FALSE,
+??????????????? cond12=FALSE,cond21=FALSE){
+ # ***************************************************
+ # Testing if loop
+ # ***************************************************
+ if(joint12){
+?? {print ("joint12"); cat(joint12,"\n")}
+?? {print
2024 Aug 09
2
If loop
OK. The fact it's in a function is making things clearer.
Are you trying to update the values of an object from within the function,
and have them available outside the function. I don't speak functional
programming articulately enough but basically
v <- 1
funA <- function() {
v <- v+1
}
funA()
cat (v)
# 1
You either return the v from the function so
funB <- function() {
2024 Aug 09
1
If loop
Is something wrong in the initialisation part that we don't see?
joint12 <- marg1 <-F
marg1 <-T
if (joint12) {
print ("joint 12")
cat (joint12)
}
if (marg1) {
print("marg 1")
cat(marg1)
}
Would probably be my diagnostic approach
On Fri, 9 Aug 2024, 04:45 Steven Yen, <styen at ntu.edu.tw> wrote:
> Can someone help me with the if loop below?
2003 Jul 28
5
DVD Drive wont mount
Hi, I am having trouble using my dvd drive in KDE, as it wont mount, using dvd, cd, cdrw. all I get is the error message saying:
Could not mount device.
The reported error was:
cd9660: /dev/acd0: Invalid argument
Has anyone got a solution for this?
Thanks,
Brian
2016 Jan 06
4
Cannot remove symlink with missing target
Hi,
I have started using symbolic links on an SMB share and find that
symbolic links whose target no longer exists cannot be removed on the
client side.
Example, on the SMB client side in an SMB-mounted directory:
1. Create a file and a relative symlink to it:
$ touch a
$ ln -s a b
$ ls -l
total 0
-rw-rw-r--. 1 andi andi 0 Jan 6 14:42 a
lrwxrwxrwx. 1 andi andi 1
2010 Nov 28
6
[LLVMdev] RFC: Exception Handling Proposal II
On Nov 28, 2010, at 1:57 PM, Bill Wendling wrote:
> On Nov 28, 2010, at 2:59 AM, John McCall wrote:
>
>> On Nov 28, 2010, at 2:20 AM, Bill Wendling wrote:
>>
>>> On Nov 27, 2010, at 4:57 PM, John McCall wrote:
>>>
>>>> On Nov 25, 2010, at 3:03 AM, Duncan Sands wrote:
>>>>> I'm pointing out that if the invoke instruction
2004 Oct 14
2
fidelity of generated raster images (R and perl)
Hi:
Goal: use R to turn a matrix of 1's and 0's
into a corresponding image (e.g. png)
of black and white pixels.
Why R: Yes, I can do this more efficiently and precisely
with a perl module like Image::PBM. Been there,
done that many times, etc. (Just humor me.
I'm trying to do this with R for a number of reasons.)
Problem:
2012 Oct 13
1
Question about printing
Hello all,
is it possible to print from a linux box to a printer, shared on a
windows 7 box?
In Windows 7 the Administrator account is deactivated without a password
in default.
Have i to enable the account?
Have i to set a password?
Thanks
2003 Oct 22
4
adjacency matrix
Dear R experts,
I am new to the list and R software. I need to convert arcview file to Winbugs having R has middle package. Got from friends that it is possible following the steps:
1. Converting arcview shapefile to "cgm clear text file"
2. Downloading "convert.r" to into R
2.1 use source("convert.r")
2.2 convert("filename_cgm") without the
2005 Nov 17
8
Point pattern to grid
Dear all,
I'd like to change a point pattern to a grid of cells and use one of the variables as the output.
e.g. The point pattern is of a window of (500*500) and several features such as pH, SoilType etc. I like to divide it into a grid with cell size 5*5, and use the mean of the point values falling inside the cell as the output.
Is there any package in R working with this? Thanks in
2004 Nov 29
3
systemfit - SUR
Hello to everyone,
I have 2 problems and would be very pleased if anyone can help me:
1) When I use the package "systemfit" for SUR regressions, I get two
different variance-covariance matrices when I firstly do the SUR
regression ("The covariance matrix of the residuals used for
estimation") and secondly do the OLS regressions. In the manual for
"systemfit" on page