similar to: Help with use of rep function in R

Displaying 20 results from an estimated 1100 matches similar to: "Help with use of rep function in R"

2009 Sep 09
2
Help with data containing date
Hello Everyone,I think this is a very simple problem, I have been struggling with it for a few days now. I have a 10-year daily data in the following format. Date A B C D E 1978-10-22 18 20.64 0.0 0.176 -1.76 1978-10-23 15 17.06 0.4 0.147 2.52 1978-10-24 3 7.588 0.0 0.068 -6.86 1978-10-25 9 11.491 0.0 0.102
2009 Sep 17
3
Help with date specification
Hi everyone,I have a data daily data (x) for 10 years starting from 04-01-1995 to 03-31-2005. I was able to get the yearly sum for the ten years using aggregate(x, years, sum). But this gave me the yearly sum for 1995 (Apr- Dec); 1996 (Jan-Dec) ---------2005 (Jan-Mar). But I want to get the aggregates for Apr-1995 to Mar 1996, Apr 1996- mar 1997 and so on. your help will be higly appreciated.
2009 Dec 07
2
Filtering a zoo object based on index of another object
Hello everybody, I have two datasets, observed and predicted. Since my observed dataset is not in regular intervals, I need to filter my predicted dataset based on the measurement date of my observed data. Here, is an example similar to what I have library(chron);library(zoo) DATE<- seq(as.Date("2009-01-01"), as.Date("2009-05-01"), by = 1) mydat<- rnorm(length(DATE),
2010 Jun 04
2
Help with iteration using while loop
Hello everyone, I am trying to use while loop to iterate a function until convergence. But I am having problem when I try to use a fixed number of iterations. Say I want to use maximum iteration of 150. If the value don't converge within maximum iteration, show warning of no convergence. Currently I don't have non- convergence problem so I think my code works fine. But in future I may
2009 Oct 07
1
Formatting outputs:(chronological object)
Hello everyone, I have a data generated in a way similar to the following library(chron);library(zoo) date<- seq(as.Date("1990-01-01"),, as.Date("2000-12-31"), by = 1) obs<- zoo(rnorm(length(date), mean = 10, sd = 2.5), order.by = date) monthly<- function(date) as.Date(as.yearmon(Date)) result<- data.frame ( Date = obs = aggregate(obs, monthly, sum)) Now, I want
2010 Jun 14
1
avoid row/column indexing in capture.output
Hi everyone, This might be a very petty thing but Its not working for me. I want to export an output to a txt file but without indexing. Here is what I have tried to do outfile<- function(Time, var.names, output) { var.names = c(names(para)) for(i in 1: ncol(output)){ cat(length(var.names), '\n') cat("A", "S", "C", "I", '\n')
2009 Oct 27
1
option to control the spac between columns in data frame
Hello, I have a question regarding a way to control the appreance of output exported by R when I use capture.output( x, file = "Directory/file.txt") , I get a text file which when I paste to a word file looks like the first table below. The following table has its clumns spaced closely so when I paste it to a word file it looks continuous. Is there any option in R to make the outputs
2010 Apr 26
1
finite difference scheme for 2D differential equations
Hello everyone, I am trying to solve 2D differential equations using finite difference scheme in R. I have been able to work with the equations with only one spatial dimensions but I want to extend it to the two dimensional problem. For example i can simulate one dimensional diffusion using a code like the following. But I want to write a similar code for,say, a two dimensional diffusion
2023 Jul 21
1
Adding SRV records to zone
Hi Sagar, Are you getting a particular error? Because the same method should work just fine in NSD. Simply open the corresponding zone file (as configured in nsd.conf) and put that line in there. Best regards, Jeroen Koekkoek On Fri, 2023-07-21 at 09:14 +0200, Sagar Acharya via nsd-users wrote: > How do I add SRV record to my zone file? > > Eg. In pdns I have > >
2023 Jul 21
1
Adding SRV records to zone
I'm asking that what is the proper method to add SRV records. I read the documentation but I couldn't find anything around it. If you can perhaps add something which specifies how each and every type of record is to be written on documentation, that would be very useful. Thanking you Sagar Acharya https://humaaraartha.in 21 Jul 2023, 18:46 by jeroen at nlnetlabs.nl: > Hi Sagar,
2017 Sep 20
0
how many hosts could be down in a 12x(4+2) distributed dispersed volume?
Hi Mauro Tridici, >From the information provided it appears like you have placed 2 bricks of a subvolume on one host. Please confirm. The number of hosts that could go down without losing access to data can be derived based on the brick configuration/distribution. Please let us know the brick distribution plan. Regards, Sunil kumar Acharya Senior Software Engineer Red Hat
2023 Jul 21
1
Adding SRV records to zone
How do I add SRV record to my zone file? Eg. In pdns I have _xmpp-client._tcp.example.com.? ?3600? ? ?IN? ? ?SRV? ? ? 0 5 5222 example.com Thanking you Sagar Acharya https://humaaraartha.in P.S. Please cc me, I'm not subscribed to this list.?
2011 Jul 14
1
Error: "non-numeric argument to binary operator"
Hi I am posting in the topic related to the "non-numeric argument to binary operator" as I got similar problem while running the netcdf code. I have attached the file with this post. It is a climate data from NOAA site. The code follows as: library(survival) library(RNetCDF) library(ncdf) setwd("c:/projects/netcdfcsfiles") Conn42 =
2023 Nov 25
1
Announcing Gluster release 11.1
Great news! Best Regards,Strahil Nikolov? On Fri, Nov 24, 2023 at 3:32, Shwetha Acharya<sacharya at redhat.com> wrote: The Gluster community is pleased to?announce?the release of Gluster11.1? Packages available at [1]. Release notes for the release can be found at [2]. Highlights of Release:? -??Fix upgrade issue by reverting posix change related to storage.reserve value -??Fix
2023 Nov 27
1
Announcing Gluster release 11.1
I am getting this errors: Err:10 https://download.gluster.org/pub/gluster/glusterfs/LATEST/Debian/bookworm/amd64/apt bookworm/main amd64 glusterfs-server amd64 11.1-1 Error reading from server - read (5: Input/output error) [IP: 8.43.85.185 443] Fetched 35.9 kB in 36s (1,006 B/s) E: Failed to fetch
2009 Sep 11
2
rsync deleted all my important docs...
How is rsync supposed to behave when I give the --delete-excluded? Recently I lost several of my important documents because of a corrupted file system on the source. Here are some logs, * Rsync gets an IO error on one of the folders, -- rsync: readlink_stat("/mnt/raid-backup/Documents/Finance") failed: Input/output error (5) -- * It starts deleting all my financial documents, --
2023 Oct 10
0
Updated invitation: Gluster Community Meeting @ Tue Oct 10, 2023 2:30pm - 3:30pm (IST) (gluster-users@gluster.org)
This event has been updated Changed: description Gluster Community Meeting Tuesday Oct 10, 2023 ? 2:30pm ? 3:30pm India Standard Time - Kolkata Location Bridge: meet.google.com/cpu-eiue-hvk https://www.google.com/maps/search/Bridge:++meet.google.com%2Fcpu-eiue-hvk?hl=en Join with Google Meet https://meet.google.com/cpu-eiue-hvk?hs=224 Join by phone (US) +1 574-400-8405 PIN: 291845177
2023 Apr 11
0
Updated invitation: Gluster Community Meeting @ Tue Apr 11, 2023 2:30pm - 3:30pm (IST) (gluster-users@gluster.org)
This event has been updated Changed: description Gluster Community Meeting Tuesday Apr 11, 2023 ? 2:30pm ? 3:30pm India Standard Time - Kolkata Location Bridge: meet.google.com/cpu-eiue-hvk https://www.google.com/maps/search/Bridge:++meet.google.com%2Fcpu-eiue-hvk?hl=en Join with Google Meet https://meet.google.com/cpu-eiue-hvk?hs=224 Join by phone (US) +1 574-400-8405 PIN: 291845177
2023 May 09
0
Updated invitation: Gluster Community Meeting @ Tue May 9, 2023 2:30pm - 3:30pm (IST) (gluster-users@gluster.org)
This event has been updated Changed: description Gluster Community Meeting Tuesday May 9, 2023 ? 2:30pm ? 3:30pm India Standard Time - Kolkata Location Bridge: meet.google.com/cpu-eiue-hvk https://www.google.com/maps/search/Bridge:++meet.google.com%2Fcpu-eiue-hvk?hl=en Join with Google Meet https://meet.google.com/cpu-eiue-hvk?hs=224 Join by phone (US) +1 574-400-8405 PIN: 291845177
2023 Jan 11
0
Updated invitation: Gluster Community Meeting @ Wed Jan 11, 2023 2:30pm - 3:30pm (IST) (gluster-users@gluster.org)
This event has been updated Changed: description Gluster Community Meeting Wednesday Jan 11, 2023 ? 2:30pm ? 3:30pm India Standard Time - Kolkata Location Bridge: meet.google.com/cpu-eiue-hvk https://www.google.com/maps/search/Bridge:++meet.google.com%2Fcpu-eiue-hvk?hl=en Join with Google Meet https://meet.google.com/cpu-eiue-hvk?hs=224 Join by phone (US) +1 574-400-8405 PIN: 291845177