Displaying 19 results from an estimated 19 matches for "sfun".
Did you mean:
fun
2011 Feb 08
1
help on stepfunction
Dear members,
I would like a help for extracting the values from a step function
(stepfun).
>From help(stepfun) we have the following example:
Y0<-c(1.,2.,4.,3.)
y0<-c(1.,2.,3.,4.)
sfun<-stepfun(1:3,y0,f=0)
plot(sfun)
Now, suppose instead I was given the object (*sfun*, say) from which I
wanted to extract the values generated by the function *stepfun*. More
precisely, I want to know how to get the X and Y (generated by the function
*sfun*) that are used in the graph (plot(sfun...
2002 Jun 11
2
Puzzled by what Rprof is telling me
...time did not
decrease.
I don't understand how that could be, and would appreciate any suggestions.
Thanks
-Don
Details, unfortunately lengthy, are here:
The snippet of code I'm profiling is given below. 'inmat' is a
numeric matrix with 128347 rows; I need to apply a function, sfun(),
to each of 4191 subsets of rows, indexed by indat$grpi. sfun() is
fairly complex, and requires information from all of the columns of
inmat, so simple uses of, for example, aggregate() don't do the job.
Rprof('Rpf3n')
for (i in unique(indat$grpi)) {
ssnew[i,] <- sfun(inmat[i...
2010 May 10
0
step function
Hi All
I need some help with plotting a step function, currently I'm using
sfun <- stepfun(c(1, 2, 5,10, 20), c(0, 11, 22, 33, 44, 0), f=0)
plot(sfun, pch=NA, main="", xlim=c(1,20))
which I working fine, but my data is in the following format:
Min Max Value
1 2 11
2 5 22
510 33
10 20 44
1. To save time, is there a way to directly plot the above data as it is
(w...
2011 Oct 05
2
aggregate function with a dataframe for both "x" and "by"
I have 2 dataframes. "mydata" contains numerical data. "mybys" contains
information on the "group" each row of the data is in. I wish to aggregate
each column in mydata using the corresponding column in mybys.
Please see the example below. What is a more elegant or "better" way to
accomplish this task?
Thanks!
mydata =
2011 Feb 10
2
Repeaded sampling
Hi all,
I have a dataset. Each time I want to sample N(i) elements from it and I want to repeated sampling M times. N(i) is varied from time to time. For example,
dataset = 1:50;
a = list();
M = 1000;
I want to do something like
for(i in 1:M)
{
a[[i]] = sample(dataset,
2011 Mar 10
3
Fw: random sampling steps in R with replacement
Please note is with replacement
From: taby gathoni <tabieg@yahoo.com>
To: R help <r-help@r-project.org>
Sent: Thursday, March 10, 2011 11:53 AM
Subject: [R] random sampling steps in R
Dear all,
Could someone assist me in random sampling steps/code in R? I have a main sample of 42 males and 165 females and I want to come up with about 1000 samples of 20 males and 20 females from
2002 Aug 06
3
hard to believe speed difference
...ble prob2 = Statistics.normalCdf(right) -
Statistics.normalCdf(left);
while(true)
{
harvest = mean + ran_obj.nextGaussian()*sd;
if(harvest>lower && harvest<upper) break;
}
harvest = Sfun.nearestInteger(harvest);
left = (harvest - .5 - mean)/sd;
right = (harvest + .5 - mean)/sd;
double prob1 = Statistics.normalCdf(right) -
Statistics.normalCdf(left);
prob = prob1/prob2;
}...
2014 Feb 17
0
[REGRESSION] ACPI / nouveau: replace open-coded _DSM code with helper functions
...23.547348] nouveau [ VBIOS][0000:04:00.0] checking ACPI for image...
[ 23.568444] asus_wmi: ASUS WMI generic driver loaded
[ 23.868084] ppdev: user-space parallel port driver
[ 23.891268] asus_wmi: Initialization: 0x0
[ 23.891700] asus_wmi: BIOS WMI version: 0.6
[ 23.892578] asus_wmi: SFUN value: 0x0
[ 24.203132] nouveau [ VBIOS][0000:04:00.0] ... appears to be valid
[ 24.203148] nouveau [ VBIOS][0000:04:00.0] using image from ACPI
2019 Feb 19
2
[Bug 109681] New: Nvidia GT710 => nouveau + wayland + swayWM => crash when use acceleration (open Firefox)
https://bugs.freedesktop.org/show_bug.cgi?id=109681
Bug ID: 109681
Summary: Nvidia GT710 => nouveau + wayland + swayWM => crash
when use acceleration (open Firefox)
Product: Mesa
Version: 18.3
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: critical
2013 Dec 02
3
no-amd-iommu-perdev-intremap + no-intremap = BOOM with Xen 4.4 (no-intremap by itself OK).
...rget Swap.
[ 12.992606] asus_wmi: ASUS WMI generic driver loaded
[ OK ] Found device OCZ-AGILITY4.
Starting File System Check on /dev/disk/by-uuid/36ed...bcc39058642c...
[ 12.996441] asus_wmi: Initialization: 0x0
[ 12.996480] asus_wmi: BIOS WMI version: 0.9
[ 12.996550] asus_wmi: SFUN value: 0x0
[ 12.997368] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input8
[ OK ] Reached target Sound Card.
[ 13.000433] asus_wmi: Disabling ACPI video driver
[ 13.001747] systemd-udevd[292]: renamed network interface eth0 to p4p1
systemd-fsck[432]: /dev/sda1: recovering...
2016 Jul 06
2
Help with nouveau driver
...6.003678] asus_wmi: ASUS WMI
> generic driver loaded
> Jul 4 18:11:15 localhost kernel: [ 46.075537] asus_wmi:
> Initialization: 0x0
> Jul 4 18:11:15 localhost kernel: [ 46.075550] asus_wmi: BIOS WMI
> version: 0.9
> Jul 4 18:11:15 localhost kernel: [ 46.075569] asus_wmi: SFUN value: 0x0
> Jul 4 18:11:15 localhost kernel: [ 46.075729] input: Eee PC WMI
> hotkeys as /devices/platform/eeepc-wmi/input/input9
> Jul 4 18:11:15 localhost kernel: [ 46.076292] asus_wmi: Disabling
> ACPI video driver
> Jul 4 18:11:15 localhost kernel: [ 46.420259] AVX2 ver...
2016 Jul 05
2
Help with nouveau driver
Hi, I am having problems with the nouveau driver from Debian.
Can I get help here?
Cheers
2016 Jul 06
0
Help with nouveau driver
...:11:15 localhost kernel: [ 46.003678] asus_wmi: ASUS WMI
generic driver loaded
Jul 4 18:11:15 localhost kernel: [ 46.075537] asus_wmi:
Initialization: 0x0
Jul 4 18:11:15 localhost kernel: [ 46.075550] asus_wmi: BIOS WMI
version: 0.9
Jul 4 18:11:15 localhost kernel: [ 46.075569] asus_wmi: SFUN value: 0x0
Jul 4 18:11:15 localhost kernel: [ 46.075729] input: Eee PC WMI
hotkeys as /devices/platform/eeepc-wmi/input/input9
Jul 4 18:11:15 localhost kernel: [ 46.076292] asus_wmi: Disabling
ACPI video driver
Jul 4 18:11:15 localhost kernel: [ 46.420259] AVX2 version of
gcm_enc/dec engag...
2016 Jul 07
0
Help with nouveau driver
...WMI
>> generic driver loaded
>> Jul 4 18:11:15 localhost kernel: [ 46.075537] asus_wmi:
>> Initialization: 0x0
>> Jul 4 18:11:15 localhost kernel: [ 46.075550] asus_wmi: BIOS WMI
>> version: 0.9
>> Jul 4 18:11:15 localhost kernel: [ 46.075569] asus_wmi: SFUN value: 0x0
>> Jul 4 18:11:15 localhost kernel: [ 46.075729] input: Eee PC WMI
>> hotkeys as /devices/platform/eeepc-wmi/input/input9
>> Jul 4 18:11:15 localhost kernel: [ 46.076292] asus_wmi: Disabling
>> ACPI video driver
>> Jul 4 18:11:15 localhost kernel: [...
2016 Jul 07
0
Help with nouveau driver
...4 18:11:15 localhost kernel: [ 46.075537] asus_wmi:
>>>>> Initialization: 0x0
>>>>> Jul 4 18:11:15 localhost kernel: [ 46.075550] asus_wmi: BIOS WMI
>>>>> version: 0.9
>>>>> Jul 4 18:11:15 localhost kernel: [ 46.075569] asus_wmi: SFUN value: 0x0
>>>>> Jul 4 18:11:15 localhost kernel: [ 46.075729] input: Eee PC WMI
>>>>> hotkeys as /devices/platform/eeepc-wmi/input/input9
>>>>> Jul 4 18:11:15 localhost kernel: [ 46.076292] asus_wmi: Disabling
>>>>> ACPI video drive...
2013 Dec 02
3
Assertion ''l1e_get_pfn(MAPCACHE_L1ENT(hashent->idx)) == hashent->mfn'' failed at domain_page.c:203
...(check in 2 mounts)
[ OK ] Started File System Check on /dev/disk/by-uuid/36edb...5-bcc39058642c.
Mounting /home...
[ 14.065454] asus_wmi: ASUS WMI generic driver loaded
[ 14.075222] asus_wmi: Initialization: 0x0
[ 14.075322] asus_wmi: BIOS WMI version: 0.9
[ 14.075483] asus_wmi: SFUN value: 0x0
[ 14.076285] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input9
[ 14.096905] asus_wmi: Disabling ACPI video driver
[ 14.098486] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 14.098502] SELinux: initialized (dev sdb2, type ext4), uses...
2013 Sep 05
4
Bug#721946: xen-hypervisor-4.1-amd64: dom0_mem cannot exceed some value
...acturer
Sep 5 13:52:39 pcale kernel: [ 9.487124] powernow-k8: 0 : pstate 0 (3400 MHz)
Sep 5 13:52:39 pcale kernel: [ 9.520770] asus_wmi: Initialization: 0x0
Sep 5 13:52:39 pcale kernel: [ 9.520797] asus_wmi: BIOS WMI version: 0.9
Sep 5 13:52:39 pcale kernel: [ 9.520857] asus_wmi: SFUN value: 0x0
Sep 5 13:52:39 pcale kernel: [ 9.521207] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input5
Sep 5 13:52:39 pcale kernel: [ 9.664526] [drm] radeon kernel modesetting enabled.
Sep 5 13:52:39 pcale kernel: [ 9.664608] xen: registering gsi 18 triggering 0 polar...
2016 Jul 07
4
Help with nouveau driver
...c driver loaded
>>> Jul 4 18:11:15 localhost kernel: [ 46.075537] asus_wmi:
>>> Initialization: 0x0
>>> Jul 4 18:11:15 localhost kernel: [ 46.075550] asus_wmi: BIOS WMI
>>> version: 0.9
>>> Jul 4 18:11:15 localhost kernel: [ 46.075569] asus_wmi: SFUN value: 0x0
>>> Jul 4 18:11:15 localhost kernel: [ 46.075729] input: Eee PC WMI
>>> hotkeys as /devices/platform/eeepc-wmi/input/input9
>>> Jul 4 18:11:15 localhost kernel: [ 46.076292] asus_wmi: Disabling
>>> ACPI video driver
>>> Jul 4 18:11:15 l...
2014 Jul 22
0
Bug#755753: xen-hypervisor-4.1-amd64: xen crashes at random
.....
Jul 16 12:54:41 placka kernel: [ 6.638021] asus_wmi: ASUS WMI generic driver loaded
Jul 16 12:54:41 placka kernel: [ 6.640660] asus_wmi: Initialization: 0x0
Jul 16 12:54:41 placka kernel: [ 6.640741] asus_wmi: BIOS WMI version: 0.9
Jul 16 12:54:41 placka kernel: [ 6.640886] asus_wmi: SFUN value: 0x0
Jul 16 12:54:41 placka kernel: [ 6.641885] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input5
Jul 16 12:54:41 placka kernel: [ 6.747132] cfg80211: Calling CRDA to update world regulatory domain
Jul 16 12:54:41 placka kernel: [ 6.757689] [drm] radeon defaulting...