Displaying 20 results from an estimated 1247 matches for "d3".
Did you mean:
3d
2008 Jun 03
3
How to solve a non-linear system of equations using R
...omments would be greatly appreciated.
Thanks in advance,
Jorge
# ------------------------------
# Constants
# ------------------------------
l=1
m=0.4795
s=0.4795
# ------------------------------
# Functions to estimate f_i-k_i
# ------------------------------
f1=function(d){
d1=d[1]
d2=d[2]
d3=d[3]
d4=d[4]
res=2*d1+2*sqrt(2)*d1*d2+2*sqrt(3)*d2*d3+4*d3*d4-l*m*(1+d1^2+d2^2+d3^2+d4^2)
res
}
f2=function(d){
d1=d[1]
d2=d[2]
d3=d[3]
d4=d[4]
res=2*sqrt(2)*d2+2*d1^2+2*sqrt(6)*d1*d3+4*d2^2+4*sqrt(3)*d2*d4+6*d3^2+8*d4^2-l*(m^2+m^3*s^(-1))*(1+d1^2+d2^2+d3^2+d4^2)
res
}
f3=function(d){
d1=d[1]
d2=...
2009 Feb 22
2
how to recover a list structure
...f" list elements as shown in the following:
> names(coef.abs.sorted[1:10])
[1] "d6.d6(0)" "d5.d5(2)" "d5.d5(0)" "d4.d4(2)" "d5.d5(1)" "d4.d4(1)" "d4.d4(6)" "d4.d4(5)" "d4.d4(3)"
[10] "d3.d3(12)"
I wonder if there exists a high level command to set to zero respectively the coefficients in list "coef":
- Level=6, Oscillation-Number=0
- Level=5, Oscillation-Number=0,1,2
- Level=4, Oscillation-Number=1,2,3,5.6
- Level=3, Oscillation-Number=12
> coef
$d1
d1...
2017 Oct 30
2
Problems in communication with Mustek PowerMust 1060 LCD
...2] - ProductID: 5161
2.004532 [D2] - Manufacturer: unknown
2.004541 [D2] - Product: unknown
2.004550 [D2] - Serial Number: unknown
2.004558 [D2] - Bus: 001
2.004567 [D2] - Device release number: 0002
2.004575 [D2] Trying to match device
2.004619 [D2] Device matches
2.004648 [D3] nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
2.004679 [D2] Skipping megatec protocol...
2.004689 [D2] Trying mustek protocol...
2.731556 [D3] send: QS
2.737382 [D3] read: (229.7 231.6 229.7 023 50.1 27.5 --.- 00001001
2.737456 [D2] blazer_status: non numerical val...
2017 Nov 11
0
Problems in communication with Mustek PowerMust 1060 LCD
...nufacturer: unknown
> 2.004541 [D2] - Product: unknown
> 2.004550 [D2] - Serial Number: unknown
> 2.004558 [D2] - Bus: 001
> 2.004567 [D2] - Device release number: 0002
> 2.004575 [D2] Trying to match device
> 2.004619 [D2] Device matches
> 2.004648 [D3] nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
> 2.004679 [D2] Skipping megatec protocol...
> 2.004689 [D2] Trying mustek protocol...
> 2.731556 [D3] send: QS
> 2.737382 [D3] read: (229.7 231.6 229.7 023 50.1 27.5 --.- 00001001
> 2.737456 [D2] bl...
2015 Oct 27
3
pregunta
...abía una manera muy fácil de determinar la media de una variable (en esta caso Gain) por grupos, en este caso (Diet). ?Como se puede hacer ahora?
Diet Gain
1 d1 270
2 d1 300
3 d1 280
4 d1 280
5 d1 270
6 d2 290
7 d2 250
8 d2 280
9 d2 290
10 d2 280
11 d3 290
12 d3 340
13 d3 330
14 d3 300
15 d3 300
Saludos
José
[[alternative HTML version deleted]]
2016 Apr 21
3
[RFC] Using D3 in LNT?
...n working on further improving the perf profile view in LNT that James added recently.
I've got a series of patches ready that reconstruct the control flow graph from the perf profiles, which helps a lot in quickly finding the codegen differences that cause performance deltas.
I've used the D3 javascript library (https://d3js.org/) to implement the visualization.
My question is if there is any objection to add D3 to LNT?
I think D3 will allow us to produce nicer and/or more informative charts and visualizations in the future.
I've attached an example screenshot of the control flow...
2015 Oct 27
2
pregunta
Otras variantes con y sin paquetes adicionales...
> sapply(split(datIn$Gain, as.factor(datIn$Diet)), mean)
d1 d2 d3
280 278 312
> by(datIn$Gain, datIn$Diet, mean)
datIn$Diet: d1
[1] 280
--------------------------------------------------------------
datIn$Diet: d2
[1] 278
--------------------------------------------------------------
datIn$Diet: d3
[1] 312
>
> library(dplyr)
> summarise(group_by(datIn...
2015 Oct 28
2
pregunta
...100
> From: cof en qualityexcellence.es
> To: jbetancourt en iscmc.cmw.sld.cu
> CC: r-help-es en r-project.org
> Subject: Re: [R-es] pregunta
>
> Otras variantes con y sin paquetes adicionales...
>
> > sapply(split(datIn$Gain, as.factor(datIn$Diet)), mean)
> d1 d2 d3
> 280 278 312
> > by(datIn$Gain, datIn$Diet, mean)
> datIn$Diet: d1
> [1] 280
> --------------------------------------------------------------
> datIn$Diet: d2
> [1] 278
> --------------------------------------------------------------
> datIn$Diet: d3
> [1] 312
>...
2008 Jun 21
1
question on rgl.surface
...i.e. the 3-d equivalent of the normal 2-d
coordinate axes we are all familiar with. The examples for rgl.surface
are a bit more complex than what I need and I am having trouble
understanding them.
Here is the code if I come up with, but which obviously doesn't work.
require(rgl)
set.seed(123)
d3.mat <- matrix(runif(30, min = -5, max = 5), ncol = 3, nrow = 10)
open3d()
plot3d(x = d3.mat, type = "s", col = "blue", size = 0.33, xlab ="x",
ylab = "y", zlab = "z")
x <- 0
y <- 0
z <- matrix(c(floor(min(d3.mat[,1])),ceiling(max(d3.mat[...
2007 Jan 24
1
Date variable
Dear R users,
I did following with a date variable
library(date)
date = "03/11/05"
date = as.Date(date, format="%m/%d/%y")
date
[1] "2005-03-11"
s = vector(length=3)
s[1] = date
s[1]
[1] 12853
But here I got s[1] as 12853. But this is not that I want. I need s[1] as original date.
Can anyone tell me where is the mistake?
Thanks and
2016 Apr 21
2
[RFC] Using D3 in LNT?
> On 21 Apr 2016, at 17:15, Chris Matthews <chris.matthews at apple.com> wrote:
>
> I love D3. This is a great idea. Maybe we can finally kill flot!
>
> We are going to have to start using the html data attributes more; but that is a good thing IMO.
>
> D3 would greatly simply some of our CSS/templates too. I am regularly surprised how hard it is to make a cell turn colors...
2011 Jan 15
2
Rounding variables in a data frame
Hi All
I am trying to use the round function on some columns of a dataframe while
leaving others unchanged. I wish to specify those columns to leave
unchanged.
My attempt is below - here, I would like the column d3 to be left but
columns d1, d2 and d4 to be rounded to 0 decimal places. I would welcome any
suggestions for a nicer way of doing this.
d1= rnorm(10,10)
d2= rnorm(10,6)
d3= rnorm(10,2)
d4= rnorm(10,-4)
d = data.frame(d1,d2,d3,d4)
x= NULL
for (i in 1:ncol(d)){
if (colnames(d)[i] =="d3"...
2016 Dec 27
0
Proper attribution in Authors@R for the d3.js library by Mike Bostock
I have a couple of packages that use the d3.js library developed (and copyrighted) by Mike Bostock. One package uses it extensively, another only for one function. I use R to piece together parts files containing JavaScript that I have written, which use d3.js functions and eventually the d3 library is called from a temporary web page.
To...
2017 Oct 03
2
About LLVM Pass dependency
Hello
I am working on pass which has dependency on multiple passes. Say
D1,D2,D3
I used
INITIALIZE_PASS_BEGIN
INITIALIZE_PASS_DEPENDENCY(D1)
INITIALIZE_PASS_DEPENDENCY(D2)
INITIALIZE_PASS_DEPENDENCY(D3)
INITIALIZE_PASS_END.
While running it through opt tool it, I had to specify this D1,D2,D3 pass
names
to get this pass executed before my pass.
Is there way, to let llvm pass ma...
2011 Apr 21
1
Help with matching rows
...Please excuse my akwardness as I a new to R and computers, but would kindly
appreciate help.
{
a <- sample (1:10,100,replace=T )
b <-sample(10:20,100,replace=T)
c <- sample(20:30,100,replace=T)
d <- sample(30:40,100,replace=T)
e <- sample(40:50,100,replace=T)
}
d1 <- a
d2 <- b
d3 <-c
d4 <- d
d5 <- e
data.frame(d1,d2,d3,d4,d5)
dd <- data.frame(d1,d2,d3,d4,d5)
dd
sd(d1)
summary(d1)
sd(d2)
summary(d2)
sd(d3)
summary(d3)
sd(d4)
summary(d4)
sd(d5)
summary(d5)
I am a beginner to R and am trying to learn statistical
probability. I have started Dr. Levine and Dr Kerns...
2007 Apr 20
0
problem mounting one of the zfs file system during boot
...ject to license terms.
Hardware watchdog enabled
Hostname: chrysek
/kernel/drv/sparcv9/zpool symbol avl_add multiply defined
/kernel/drv/sparcv9/zpool symbol assfail3 multiply defined
WARNING: kstat_create(''unix'', 0, ''dmu_buf_impl_t''): namespace collision
mypool2/d3 uncorrectable error
checking ufs filesystems
/dev/rdsk/c1t0d0s7: is logging.
When my system is booting it does complain about mypool2/d3
mypool2/d3 uncorrectable error
but when system boots and I do
[11:31:01] root at chrysek: /root > mount /d/d3
[11:31:06] root at chrysek: /root > df -k /d...
2023 Mar 24
1
Question on EATON UPS
...0.958372 [D2] - Device: unknown
>
> 0.958391 [D2] - Device release number: 0001
>
> 0.958432 [D2] Trying to match device
>
> 0.958475 [D2] match_function_subdriver (non-SHUT mode):
> matching a device...
>
> 0.958505 [D3] match_function_regex: matching a device...
>
> 0.958605 [D2] Device matches
>
> 0.958636 [D2] Reading first configuration descriptor
>
> 0.958682 [D3] libusb_kernel_driver_active() returned 1 (driver
> active)
>
> 0.958715 [D2]...
2009 Aug 19
2
Contrasts within ANOVA frame (Repost)
...to do some contrasts within ANOVA. I searched the archive and
found a clue posted by Steffen Katzner
( http://tolstoy.newcastle.edu.au/R/help/06/01/19385.html)
I have three levels for a factor names "StdLot" and want to make three
comparisons, 1 vs 2, 1 vs 3 and 2 vs 3.
First,
contrasts(d3$StdLot,3)<-matrix(c(1,-1, 0,0,1,-1,1,0,-1),3,3) #d3 is the
data set. set up the contrast matrix
Second,
aov(Bkg~StdLot,na.rm=T,data=d3,contrasts=contrasts(d3$StdLot))->mod.aov
#ANOVA,
Finally,
summary(mod.aov,split=list(StdLot=list('1 vs 2'=1,'2 vs 3'=2,'1 vs 3'=3)...
2012 Mar 20
0
Re: xHCI not waking up from D3 after S3 Resume on Ivybridge
On Mar 19, 2012, at 6:11 PM, Sarah Sharp wrote:
> On Mon, Mar 19, 2012 at 05:05:47PM -0400, Tom Goetz wrote:
>> On Mar 19, 2012, at 12:45 PM, Tom Goetz wrote:
>>> On Mar 19, 2012, at 9:32 AM, Tom Goetz wrote:
>>> I''ve just found that if the xHCI is in D3, has a USB device plugged in, and is not waking up, it will wake up when another device in D3 wakes up. Here''s the steps I followed:
>>>
>>> 1. S3 suspend
>>> 2. S3 Resume
>>> 3. set xHCI power policy to "auto"
>>> 4. xHCI goes into D...
2008 Dec 10
2
missing argument
Dear list,
I have a question and I'm going to give an example of my problem
f<- function(d1, d2, d3)
{
d<- d1*d2/d3
return(d)
}
v1<- 1
v2<- 2
If I try
f(v1, v2, v3)
Error in f(v1, v2, v3) : object "v3" not found
I obviously got the above error message.
I would like to add something to my function to allow me to get a certain
value (say zero)
if one of the arguments is not pro...