Re: [R] extracting all different items in a matrix colum or vector

2016-11-15 Thread bgnumis bgnum
Many Thanks Sarah Really I´m going to do it. If you can suggest me one complete and didactic I will be very gratefull. Anyway many thanks for your answer. 2016-11-15 18:56 GMT+01:00 Sarah Goslee : > Your question strongly suggests that you need to reread at least one > introductory guide to R

Re: [R] Project on Course Recommender using R language

2016-11-15 Thread Jeff Newmiller
My recommendation is that you separate your algorithm development from your Web implementation. Once you have the algorithm working you can decide how you will implement it. This forum is inappropriate for both of these subjects... when you need help with coding in R this is a good place to ask

Re: [R] extracting all different items in a matrix colum or vector

2016-11-15 Thread Sarah Goslee
Your question strongly suggests that you need to reread at least one introductory guide to R. But the answer to your specific question is the unique() function. Sarah On Tue, Nov 15, 2016 at 7:33 AM, bgnumis bgnum wrote: > Hi all, > > > >From many time ago, I have return to R, I have a matrix w

[R] Project on Course Recommender using R language

2016-11-15 Thread sampada upasani
Hello, I am a student of Georgia Tech and currently working on a project : Course Recommender using R language. Before moving forward I wanted to clear up things and hence posting this question. Will I be able to build this project using the Shiny App ? (Developing web applications using R). After

[R] extracting all different items in a matrix colum or vector

2016-11-15 Thread bgnumis bgnum
Hi all, >From many time ago, I have return to R, I have a matrix with this values. C(jose, pepe, jose, luis, pepe, raul) I want to "read" this matrix or element and extract all different values, so the output matrix (that I want to download is: c(jose, pepe, luis, raul). There is a function t

[R] [R-pkgs] New Package: largeVis

2016-11-15 Thread Amos Elberg
Dear R users, I’m please to announce the available on CRAN of new package largeVis.(*) largeVis offers three major features: - A fast implementation of the LargeVis algorithm. LargeVis is for visualizing high-dimensional datasets, similar to (and of similar quality to) t-SNE. But,

Re: [R] openxlsx Error: length of rows and cols must be

2016-11-15 Thread Jeff Newmiller
This behavior is a basic limitation of spreadsheets. This R API is (inappropriately) more flexible than the underlying Java API is. You have to apply your formatting with multiple calls to the addStyle function, just as you would interactively in a spreadsheet. -- Sent from my phone. Please ex

[R] openxlsx Error: length of rows and cols must be

2016-11-15 Thread G . Maubach
Hi All, when using -- cut -- number_style <- openxlsx::createStyle( numFmt = "COMMA" ) openxlsx::addStyle( wb = xlsx_workbook, sheet = "Kundenliste", style = number_style, rows = 2:nrow(customer_list), cols = 4:5 ) --cut -- I get the error

Re: [R] [FORGED] Re: [FORGED] How to remove box in Venn plots (Vennerable package, uses grid) - similar to bty="n" in standard plots

2016-11-15 Thread DE LAS HERAS Jose
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] ​Message from Lanzhou University, China. (Help)

2016-11-15 Thread Jue Lin-Ye
​ ​ Dear Mr. Song, S ​​ orry for the late response. ​My response to you, is that, first, y ou are not assuming a linear relationship in your formula, because the argument k of your smooth term s() is not 1. ​Now, ​ I cannot see figure 1, but you can obtain figure 2 from the formula that you desc

Re: [R] unique dates per ID

2016-11-15 Thread jeremiah rounds
library(data.table) setDT(df) setkeyv(df, c("Subject", "dates")) unique(df) #gets what you want. On Mon, Nov 14, 2016 at 11:38 PM, Jim Lemon wrote: > Hi Farnoosh, > Try this: > > for(id in unique(df$Subject)) { > whichsub<-df$Subject==id > if(exists("newdf")) > newdf<-rbind(newdf,df[whichsu