similar to: indexing from 0

Displaying 20 results from an estimated 20000 matches similar to: "indexing from 0"

2006 Jun 27
1
rotate text using mtext
Hello, I wish to write a label to the right-hand side of a plot (side=4) using mtext, with the text facing inwards - that is, rotated 180 degrees from the default orientation. How might I do this? (I've tried experimenting with las but no luck.) Thanks, Rashmi Rashmi Mathur Master's Candidate Fisheries Science and Management Research Group School of Resource and Environmental
2006 Aug 13
5
split a y-axis to show data on different scales
Hello, How do I split a y-axis to plot data on different scales? Eg: x <- 1:10 y <- c(-0.01,0.79,0.74,0.55,-0.67,0.32,-0.47,-0.05,723,759) plot(x,y) I'd like to show these data on the same plot, but the way it's written, all contrast in the first 8 data points is lost. Can R split a y-axis for me? Thanks, Rashmi Rashmi Mathur Master's Candidate Fisheries Science and
2004 Jan 02
1
Issues with SMBFS
Hi, I am using samba version 2.2.3 on a Red Hat Linux machine with kernel version 2.4.18. When I use smbfs to map a Windows share, I cannot list all the files in the directory. ls -l does not return anything and ls returns some files not all. Can you please let me know what the issue might be or how I should go about troubleshooting this? Thanks in Advance. Rashmi
2009 Apr 11
2
transfer function model of time series
I need code to solve the example with attached data. Rashmi -------------- next part -------------- A non-text attachment was scrubbed... Name: final.pdf Type: application/pdf Size: 58608 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090410/735c2903/attachment-0002.pdf> -------------- next part -------------- An embedded and charset-unspecified text was
2011 Feb 15
1
S4 problems
Hello everybody [R-2.12.1] I am having difficulty dealing with Oarray objects. I have a generic function, call it foo(), and I wish to define a method for Oarray objects. I do not have or want a method for regular arrays [actually, I want to coerce to an Oarray, and give a warning]. But setMethod() does not behave as desired, giving an error message when I try to define a method for Oarray
2004 Mar 31
11
Zero Index Origin?
I'm very new to R and utterly blown away by not only the language but the unbelievable set of packages and the documentation and the documentation standards and... I was an early APL user and never lost my love for it and in R I find most of the essential things I loved about APL except for one thing. At this early stage of my learning I can't yet determine if there is a way to
2006 Jul 04
4
IMPORTING FILE FROM EXCEL
Hi I am a beginner with R. I have been trying to import a tab delimited excel file but i get the following error message > file.show('C:\Documents and Settings\stats\Desktop\SUMI\plasma2.txt') Warning message: file.show(): file 'C:Documents and SettingsstatsDesktopSUMIplasma2.txt' does not exist I have understood the programming part but i cannot go ahead unless i have
2024 Apr 21
1
x[0]: Can '0' be made an allowed index in R?
https://cran.r-project.org/package=index0 On Sun, Apr 21, 2024, 3:56 AM Hans W <hwborchers at gmail.com> wrote: > As we all know, in R indices for vectors start with 1, i.e, x[0] is not a > correct expression. Some algorithms, e.g. in graph theory or combinatorics, > are much easier to formulate and code if 0 is an allowed index pointing to > the first element of the vector.
2024 Apr 21
1
x[0]: Can '0' be made an allowed index in R?
Also https://cran.r-project.org/package=Oarray (which is older and hence possibly more stable) On 2024-04-21 3:55 a.m., Hans W wrote: > As we all know, in R indices for vectors start with 1, i.e, x[0] is not a > correct expression. Some algorithms, e.g. in graph theory or combinatorics, > are much easier to formulate and code if 0 is an allowed index pointing to > the first element
2024 Apr 23
1
x[0]: Can '0' be made an allowed index in R?
Doesn't sound like you got the point. x[-1] normally removes the first element. With 0-based indices, this cannot work. - pd > On 22 Apr 2024, at 17:31 , Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > > You could have negative indices. There are two ways to do this. > 1) provide a large offset. > Offset <- 30 > for (i in -29 to 120) { print(df[i+Offset])} >
2024 Apr 23
2
x[0]: Can '0' be made an allowed index in R?
Hello Peter, Unless I too misunderstand your point, negative indices for removal do work with the Oarray package (though -0 doesn't work to remove the 0th element, since -0 == 0 -- perhaps what you meant): > library(Oarray) > v <- Oarray(1:10, offset=0) > v [0,] [1,] [2,] [3,] [4,] [5,] [6,] [7,] [8,] [9,] 1 2 3 4 5 6 7 8 9 10 > dim(v)
2011 Mar 09
7
[Opinion Request] SIP phones that work well with Asterisk
Hi, Would you recommend some standalone SIP phones that work well with Asterisk? Personal experience preferred. Thanks, -- Raj
2024 Apr 23
1
x[0]: Can '0' be made an allowed index in R?
I think it might be fair to say that the discussion is becoming a tad wider than whether you want your data structures indexed starting from 0 or 1. Programming languages have added functionality to do many things on top of the simple concept of accessing or changing the nth element one at a time. If someone wants to make a parallel way to handle things, it may work for some uses but not others
2008 Jul 23
0
google translator - error - page is auto refreshing
hi to all, this is rashmi, from mumbai asp.net developer .. we are developing website name: www.discareuropa.com this has to develop in 2 language English & Español we have converted english to Español..through google translator and html pages are working fine.. Problem:- if we use server side control..then we are getting problem 1st Translator language from English to Español, you
2010 Dec 22
1
matrix indexing in 'for' loop?
Hi, I am having trouble with matrices. I have 2 matrices as given below, and I am interested in using these matrices inside "for" loops used to calculate correlations. I am creating a list with the names of the matrices assuming this list could be indexed inside the 'for' loop to retrieve the matrix values. But, as expected the code throws out an error. Can someone suggest a
2017 Jul 19
3
Integration of Google Speech API V2
Hi Marcelo, Thanks for replying, I do not know what this branch is. Could you please let me know. Also, I enabled google cloud speech API only from the console. Do I need more API enabled? On Wed, Jul 19, 2017 at 3:41 PM, Marcelo Terres <mhterres at gmail.com> wrote: > Did you already tried the cloud_api branch? > > Regards, > > Marcelo H. Terres <mhterres at
2017 Jul 19
4
Integration of Google Speech API V2
Hi Jonathan Thanks ! That would indeed be wonderful, at this point I really do not care whether I need to use Python or Lua or JS. I was following http://zaf.github.io/asterisk-speech-recog/ but hit a road end with (for the lack of sane word ) copulating Google's Key On Wed, Jul 19, 2017 at 2:28 PM, Jonathan H <lardconcepts at gmail.com> wrote: > Yes! But I can only tell you if
2006 Feb 23
9
Balancing multiple connections and NAT
Hi, I have a client connected to the ''net through 3 ISP''s. Have set up a Linux box to do routing and load sharing for the 3 connections. A fourth interface is connected to the LAN with private IP addresses. Am using iptables to SNAT traffic to the appropriate IP depending on the interface the packet gets routed onto. The setup looks something like this: Interface IP
2006 Aug 18
5
Handle limit in filter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I''ve written a minimal sort of Perl module that dynamically creates and destroys traffic control rules for specific IPs. I''m currently using it for a user bandwidth control application at a client site. The module essentially gets Ethernet device(s), IP address and in/out speeds as input and dynamically creates classes, queues
2017 Jul 19
4
Integration of Google Speech API V2
Hi, I'm trying to integrate Google cloud speech recognition v2 in it. I can get the audio recorded, have created Service key and API key but whenever I try to access it, I just get 403 access denied. I am at my wits end here. Has anybody tried it ? were you successful ? Could you please guide me how to do it ? I'll be grateful to you if this works ! -- Warm Regds. MathuRahul