search for: rad

Displaying 20 results from an estimated 306 matches for "rad".

Did you mean: read
2010 Jul 19
5
par("uin") ?
...oesn't exist in current R. I'm guessing that, in the function below, ux, uy can be defined from par("usr") and par("pin"), but maybe someone remembers what par("uin") was supposed to refer to. brace <- function (x1 = 0, y1 = 0, x2 = 0, y2 = 1, right = TRUE, rad = 0.2) { uin <- par("uin") ux <- uin[1] uy <- uin[2] dx <- x2 - x1 dy <- y2 - y1 alpha <- atan(ux * dx, uy * dy) scale <- sqrt((ux * dx)^2 + (uy * dy)^2) if (scale > 5 * rad) rad <- rad/scale qcirc <- cbind(cos((0:1...
2007 Apr 25
2
assigning two conditions to grep()
Hi, i have a problem in assigning 2 conditions to grep() , my data look like this: DA 24 N7 Rad= 3.4 20 Sac= 0.93 Acc= 4.76 DA 24 N7 Rad= 3.4 14 Sac= 0.65 Acc= 3.33 DA 24 N7 Rad= 3.4 3 Sac= 0.14 Acc= 0.71 DA 24 N7 Rad= 3.4 11 Sac= 0.51 Acc= 2.62 DG 23 N7 Rad= 3.4 8 Sac= 0.37 Acc= 1.91 DG 23 N7 Rad= 3.4 5 Sac= 0.23 Acc= 1.19 DG 23 N7 Rad= 3.4 0 Sac= 0.00 Acc= 0.00 DG 23 N7 Rad= 3.4 3 Sac=...
2011 Feb 02
1
update not working
R-help, I'm using the "update" command for a multiple regression model and it is just not working: > update(model1, . ~ . – temp:wind:rad,data=ozone.pollution) Error: unexpected input in "model2<-update(model1, . ~ . –" > summary(model1) Call: lm(formula = ozone ~ temp * wind * rad + I(rad^2) + I(temp^2) + I(wind^2), data = ozone.pollution) Residuals: Min 1Q Median 3Q Max -38.894 -11.205 -2....
2010 Jun 18
4
Drawing sample from a circle
Hi, I would like to draw 10 uniformly distributed sample points from a circle with redius one and centered at (0,0). Is there any R function to do that?   Thanks, [[alternative HTML version deleted]]
2005 Oct 04
2
newbie questions - looping through hierarchial datafille
...calculate mean dbh in each plot data dbh set datafile; by inventory stratum_no plot_no tree_no leader_no if first.leader_no then output; proc summary data = diameter; by inventory stratum plot tree; var diameter; output out = mean mean=; run; A BENALLA_1 X 1 10 YE=1985 P 1 20.25 slope=14 SPP:P.RAD T 1 25 L 0 28.5 21.3528 F 0 21.3528 SFNSW_DIC:P F 21.3528 100 SFNSW_DIC:P T 2 25 L 0 32 23.1 F 0 6.5 SFNSW_DIC:A F 6.5 23.1 SFNSW_DIC:C F 23.1 100 SFNSW_DIC:C T 3 25 L 0 39.5 22.2407 F 0 4.7 SFNSW_DIC:A F 4.7 6.7 SFNSW_DIC:C P 2 20.25 slope=13 SPP:P.RAD T 1 25 L 0 38 22.1474 F 0 1 SFNSW_DIC:G F 1 2...
2013 Mar 05
2
Function completely locks up my computer if the input is too big
...machine with 4 mb RAM. In the meantime I suppose I'll write a loop to do this function piece-wise for larger data and see if that helps. Script is attached and appended below. Thanks Ben Caldwell #compass to polar coordinates compass2polar <- function(x) {-x+90} #degrees (polar) to radians Deg2Rad <- function(x) {(x*pi)/180} # radians to degrees Rad2Deg <- function (rad) (rad/pi)*180 # polar to cartesian coordinates - assumes degrees those from a compass. output is a list, x & y of equal length Pol2Car <- function(distance,deg) { rad <- Deg2Rad(compass2...
2005 Jul 06
3
asterisk perl radiusclient
hello how to solve these errors /var/lib/asterisk/agi-bin/agi-rad-auth.pl line 10 use Asterisk::AGI; vi /etc/asterisk/extensions.conf exten => _X.,1,agi,agi-rad-auth.pl|Routing=SIP&AuthorizeBy=SIP vi /etc/asterisk/modules.conf load => res_agi.so <---------------errors------------------------> *CLI> Can't locate Asterisk/AGI.pm in @INC...
2003 Jul 21
4
anyone with X100P & Callerid working outside US ?
I'm just curious if anyone has the X100P & Callerid receiving working outside US. Replies are appreciated. Also if it's not working for you in a certain coutry you can respond too. regards Martin
2006 May 23
1
shapes in rgl
...on of a forest model results using "lollipops". Its just a bit of fun, but as many of the trees are pines I would like to depict their crowns as cones. If there is a solution I need it to work under windows. Here is the example. library(rgl) library(misc3d) Trees3d<-function(x,y,z,rad,cols="lightgreen"){ rgl.bg(color="white") rgl.spheres(x,(z-rad),-y,rad,col=cols,alpha=1) x<-rep(x,each=3) y<-rep(y,each=3) z<-rep(z-rad*2,each=3) a<-seq(3,length(x),by=3) y[a]<-NA x[a]<-NA z[a]<-NA a<-seq(1,length(x),by=3) z[a]<-0...
2005 Feb 25
0
Asterisk with PortaOne Radius client- problem in accounting script with OH323
Dear all, I have installed asterisk 1.0.5 on redhat 9 I have installed also, asterisk-oh323 0.6.5 module (successfully compiled and installed) Now When I am trying to get asterisk communicate with a Radius (in my case: it's the VoiceMaster Radius) I was able to do the following: After installing all recommended to download and install radius client for asterisk (http://www.voip-info.org/tiki-index.php?page=PortaOne+Radius+auth ), but without applying the patches because I wasn't able to...
2006 Mar 27
1
Rad Rails IDE
Hi, Doe''s any one know how to configure RAD Rails to show only the methods of the current object and not all the rails methods? Sharon. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060327/fc4d5d8e/attachment.html
2012 Nov 12
1
reshape
Hi, I have a R output that looks as follow: Rad:0 Rad1:2 Rad3:3 I want to make a new matrix that looks like : sample size is 2400 Variable    n11  n12 Rad            0     2400-0=2400 Rad1          2       2400-2 Rad3  3      2400-3   Thanks a lot for your time and help:) Best,Farnoosh Sheikhi [[alternative HTML version deleted]]
2006 Feb 21
4
TDMoIP and Asterisk
RAD appear to have bucketloads of products which bridge between various interfaces (E1, BRI, POTS) and their own TDMoIP protocol. The attractive thing about them for me is their availability in Australia. The voip wiki says not much about it (http://www.voip-info.org/wiki/view/TDMoIP), and certainly n...
2006 Mar 30
1
misdn timeout?
...out, but it's way to short for the called to pick up the phone. If the destination phone is picked up, then everything is allright and the connection stays open for as long as none of the phones get hung up... P[ 1] I IND :SETUP oad:010618115711 dad: P[ 1] --> mode:NT cause:16 ocause:16 rad: P[ 1] --> info_dad: onumplan:2 dnumplan: rnumplan: P[ 1] --> channel:0 caps:Speech pi:0 keypad: P[ 1] --> Bearer: Speech P[ 1] --> Codec: Alaw P[ 0] --> * NEW CHANNEL dad: oad:010618115711 P[ 1] read_config: Getting Config P[ 1] config_jb: Called P[ 1] --> * CallGrp: Picku...
2006 Nov 05
1
asterisk DTMF detection
...elp. Telecom: (No DTMF) Connected to Asterisk 1.2.13 currently running on PROHOST100 (pid = 4481) Verbosity is at least 3 -- Remote UNIX connection P[ 4] set_channel: bc->channel:0 channel:1 P[ 4] I IND :SETUP oad: dad:9298 pid:3 state:none P[ 4] --> channel:1 mode:TE cause:16 ocause:16 rad: cad: P[ 4] --> info_dad: onumplan: dnumplan:0 rnumplan: cpnnumplan:0 P[ 4] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 P[ 4] --> Bearer: Audio 3.1k P[ 4] --> Codec: Alaw P[ 0] --> * NEW CHANNEL dad:9298 oad: P[ 4] --> CTON: Unknown P[ 4] EXPORT_PID: pid:3 P[ 4] -...
2006 Mar 15
4
New RadRails tutorial using AWDWR book
...java framework with some special characteristics) but I am so impressed with RoR that I am porting over many applications. In order to "dive into Rails", of course the second thing to do was get myself an IDE, and since I''ve been using Eclipse for the past two years or so, well, RadRails <http://www.radrails.org/> was a natural. I have found this great environment to make a great Ruby on Rails even greater and more appealing. Following the old, (somewhat unfair, to teachers, anyway) adage "them that know, do; ... the others, teach", I have documented my diving...
2009 Jun 04
0
Dropping terms from regression w/ poly()
Hello r-help, I'm fitting a model with lm() and using the orthogonal polynomials from poly() as my basis: dat <- read.csv("ConsolidatedData.csv", header=TRUE) attach(dat) nrows <- 1925 Rad <- poly(Radius, 2) ntheta <- 14 Theta <- poly(T.Angle..deg., ntheta) nbeta <- 4 Beta <- poly(B.Beta..deg., nbeta) model.1 <- lm( Measurement ~ Block + Rad + Theta + Beta + Rad:Theta + Rad:Beta + Theta:Beta) Which works splendidly, and for my data set shows that the...
1998 Jul 12
1
Rad Hat installation by newbie
First attempt was unsuccessful... -------------- next part -------------- An embedded message was scrubbed... From: Evan Panagiotopoulos <panagiot@frontiernet.net> Subject: Rad Hat installation by newbie Date: Fri, 10 Jul 1998 22:22:09 -0400 Size: 2011 Url: http://lists.samba.org/archive/samba/attachments/19980712/8a69f3c0/attachment.eml -------------- next part -------------- A non-text attachment was scrubbed... Name: vcard.vcf Type: text/x-vcard Size: 295 bytes Desc: C...
2007 Dec 11
0
rspec and rad-rails
Quick announcement: I wrote a small enhancement to TestUnitRunner.rb to allow RadRails to run both Test::Unit cases and RSpec examples in the fancy pants GUI runner. Chris will be merging it in with future releases of RadRails, and we''re going to work on getting the integration better (some limitations with the Java GUI component are preventing fuller integration). Mo...
2009 Oct 22
2
carefulwrite: write() returned error: Broken pipe
Dear, I am getting this in CLI on release candidate version of Asterisk. Any ideas, or points where to look? -- Launched AGI Script /var/lib/asterisk/agi-bin/rad-auth.agi [Oct 22 18:21:45] ERROR[9853]: utils.c:1126 ast_carefulwrite: write() returned error: Broken pipe -- <SIP/916-fc001968>AGI Script rad-auth.agi completed, returning 0 Best regards, Josip -------------- next part -------------- An HTML attachment was scrubbed... URL: htt...