similar to: Newbie question : selecting subset of a Matrix

Displaying 20 results from an estimated 2000 matches similar to: "Newbie question : selecting subset of a Matrix"

2011 Apr 10
1
Help with basic loop
The loop is correct, you just need to make sure that your result is computed and stored as the n-th element that is returned by the loop. Pick up any manual of R, and looping will be explained there. Also, I would recommend that you draw a random number for every iteration of the loop. Defining the random vectors outside the loop make sense to me only if they are the same length as n.
2007 Feb 05
0
simple rights question
Dear all, I got the following situation, a share called "Bureaus", with the follwong subdirs: /Bureaus/A /Bureaus/B /Bureaus/C etc. where A,B,C.. are the bureau names under all the bureau names are directories: A/Task1 A/Task2 A/Task3 A/Archive For all the bureau names. Groups: everyone is a member of "Domain Users", and that's always the primary group. And, a group
2007 Feb 08
0
simple right question
Dear all, I got the following situation, a share called "Bureaus", with the follwong subdirs: /Bureaus/A /Bureaus/B /Bureaus/C etc. where A,B,C.. are the bureau names under all the bureau names are directories: A/Task1 A/Task2 A/Task3 A/Archive For all the bureau names. I've got groups, a groups, everyone is a member of "Domain Users", and that's also always the
2012 May 09
3
R exercises - too confusing for me.
Hi! I tried everything to avoid asking somebody but I have absolutely no clue how to solve this tasks. I'll be really glad if someone could explain that to me... 1. http://r.789695.n4.nabble.com/file/n4619850/task1.gif Well, the first part is of course no problem but I have really trouble with the tasks i) and ii). just don't know how to write the function and why I should use
2007 Dec 30
1
ReOrdering Wx::TreeCtrl Items
Given the following hash: #... @project_list = { ''Contract0'' => nil, ''Contract1'' => { ''Project1'' => nil, ''Project2'' => nil, ''Project3'' => { ''task1'' =>
2009 Jan 25
1
Multiple lattice plots on a page: aligning x-axes vertically
Dear R-help, I am creating a two lattice plots (a densityplot() and xyplot()) that have the same x-axes and then 'printing' them onto the same page, one above the other (see end of email for an example to generate the graph). With different labels on the y-axis for each plot the left spacing is different, and the x-axes don't align vertically. Although I can manually modify the
2003 Nov 04
2
help with nomogram function
I have fitted a logistic regression model > failed.lr2$call lrm(formula = failed ~ Age + task2 + Age:task2, data = time.long, na.action = na.omit) using the Design package functions and would like to generate a nomogram from this model. the datadist information is generated and stored in > ddist time.long$Age time.long$task2 Low:effect 45
2018 Apr 22
3
Gantt Chart Using Plotrix
Hi Sarah Thank you very much for your pointers. Is there a way to specify the date string as POSIXct when reading in? I have tried the following (very inelegant way) and still have no luck. --- Begin Code --- # 1st read in the spreadsheet with stringsAsFactors set to FALSE > abc <- read.csv("gntr1.csv", header=TRUE, stringsAsFactors=FALSE) > abc code tasks.labels
2020 May 31
0
[PATCH v3] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
From: Jia He <justin.he at arm.com> Date: Sat, 30 May 2020 09:38:28 +0800 > When client on the host tries to connect(SOCK_STREAM, O_NONBLOCK) to the > server on the guest, there will be a panic on a ThunderX2 (armv8a server): ... > The race condition is as follows: > Task1 Task2 > ===== ===== > __sock_release
2018 Apr 23
0
Gantt Chart Using Plotrix
Hi, Your attempt didn't work because you didn't do what I suggested, which was make sure that your data frame matched the example given in the help for gantt.chart. Here's what you have: > str(cdfg) 'data.frame': 3 obs. of 3 variables: $ c1d1: Factor w/ 3 levels "task 1","task 3",..: 1 3 2 $ c2d1: POSIXct, format: "2018-04-01"
2020 May 29
0
[PATCH] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
Hi Jia, thanks for the patch! I have some comments. On Fri, May 29, 2020 at 09:31:23PM +0800, Jia He wrote: > When client tries to connect(SOCK_STREAM) the server in the guest with NONBLOCK > mode, there will be a panic on a ThunderX2 (armv8a server): > [ 463.718844][ T5040] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 > [ 463.718848][ T5040]
2020 May 29
0
[PATCH v2] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
On Fri, May 29, 2020 at 11:21:02PM +0800, Jia He wrote: > When client tries to connect(SOCK_STREAM) the server in the guest with > NONBLOCK mode, there will be a panic on a ThunderX2 (armv8a server): > [ 463.718844][ T5040] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 > [ 463.718848][ T5040] Mem abort info: > [ 463.718849][ T5040] ESR =
2004 Jun 27
3
memdisk: DOS as a PreOS
Hello! Is it possible to load a virtual DOS Floppy with memdisk to do a few things (e.g. scan for viruses, copy a hard disk image from the network to the local disk) and continue booting from the local hard disk without a reboot? Cheers Alex
2006 Mar 09
4
sort-weirdness - active record issue?
I''m selecting data into a controller and sorting it. The code (in the controller) looks like this: def index @assignments = [] tasks = Task.find(:all, :conditions => ["person_id = ? and actual_end_date is null", session[:user].id.to_s ]) issues = Issue.find(:all, :conditions => ["person_id = ? and status <>
2018 Apr 22
0
Gantt Chart Using Plotrix
Hi, The help file for gantt.chart states that dates must be in POSIXct format, and the example shows how to do that. There's no reason that I can see that you can't use a data frame as input to gantt.chart, but you need to be very careful that your data frame matches the correct format. I bet also that your character fields were imported as factors, because you didn't specify not to.
2020 Nov 03
3
Your opinion: What's the best VM for Samba DC's
Hi all, I know this isn't strictly Samba related, but I have a fileserver and want to install some VM software on it so I can build a new Samba DC on there and still keep the fileserver running. In your experience, what's the best VM to install? Are there any which wok better or worse with Samba? Does it make any difference? I'm running Ubuntu 20.04.1 Thanks!
2018 Apr 22
2
Gantt Chart Using Plotrix
>From the help file for plotrix: " ... x - a list of task labels, start/end times and task priorities as returned by get.gantt.info ..." So I try to create an object that will contain this information. abc <- read.csv("gntr1a.csv") # The above csv file was generated from MS .xlsx file containing the tasks and corresponding dates > abc code tasks.labels
2005 Nov 24
4
write.csv
hallo, i have a problem by writing a csv file the first colum is filled with index numbers from 1 to n. i have to unique two csv files once a week while one file is always the same. can anybody tell me, how to write the dataset into a csv file without the first row of the indexnumbers. x[,-1] does not wok as it eliminates the first "interesting" colum. col.names is not accepted by r
2009 Jul 10
2
ifmem.c32
Hello, This module can be used to select the files to boot according to the memory size: http://hg.slitaz.org/wok/raw-file/d5f670b08670/syslinux/stuff/extra/ifmem.c Usage: kernel ifmem.c32 append SizeInKB LabelLarge [SizeInKB LabelMedium]... LabelTiny Slitaz webboot (http://boot.slitaz.org/) uses it in the main configuration files: http://mirror.slitaz.org/pxe/pxelinux.cfg/default -pascal
2013 Apr 11
2
[PATCH 2/2] Btrfs: use a lock to protect incompat/compat flag of the super block
The following case will make the incompat/compat flag of the super block be recovered. Task1 |Task2 flags = btrfs_super_incompat_flags(); | |flags = btrfs_super_incompat_flags(); flags |= new_flag1; | |flags |= new_flag2; btrfs_set_super_incompat_flags(flags); | |btrfs_set_super_incompat_flags(flags); the new_flag1 is recovered. In order to avoid this problem, we