Sony's blog http://sony.staff.ipb.ac.id just try to write it on.... Mon, 05 Dec 2016 03:19:40 +0000 en-US hourly 1 http://wordpress.org/?v=4.3.1 R – ‘gsub’ function http://sony.staff.ipb.ac.id/2016/12/05/r-gsub-function/ http://sony.staff.ipb.ac.id/2016/12/05/r-gsub-function/#comments Mon, 05 Dec 2016 03:16:20 +0000 http://sony.staff.ipb.ac.id/?p=259 gsub() function replaces all matches of a string. gsub() can also be used for Regular Expression. gsub(pattern, replacement, x, ignore.case = FALSE, perl = FALSE, fixed = FALSE, useBytes = FALSE) Example: eliminate space x <- "R Tutorial" gsub(" ","",x) [1] "RTutorial" Additional information about gsub() function: http://www.endmemo.com/program/R/gsub.php

The post R – ‘gsub’ function appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2016/12/05/r-gsub-function/feed/ 0
R – Drop Columns Data Frame http://sony.staff.ipb.ac.id/2013/12/13/r-drop-columns-data-frame/ http://sony.staff.ipb.ac.id/2013/12/13/r-drop-columns-data-frame/#comments Fri, 13 Dec 2013 02:54:48 +0000 http://sony.staff.ipb.ac.id/?p=245 Here is example to delete data frame columns using R. DF <- data.frame( x=1:10, y=10:1, z=rep(5,10), a=11:20 ) drops <- c("x","z") DF[,!(names(DF) %in% drops)]   http://stackoverflow.com

The post R – Drop Columns Data Frame appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2013/12/13/r-drop-columns-data-frame/feed/ 0
How To Upgrade Your BlackBerry OS Software 2010 Version http://sony.staff.ipb.ac.id/2012/01/02/how-to-upgrade-your-blackberry-os-software-2010-version/ http://sony.staff.ipb.ac.id/2012/01/02/how-to-upgrade-your-blackberry-os-software-2010-version/#comments Mon, 02 Jan 2012 04:50:44 +0000 http://sony.staff.ipb.ac.id/?p=220 Since Simon first published How To Upgrade Your BlackBerry OS, there have been a ton of updates and questions from BlackBerry Cool readers, so I thought it would be good to republish with new tips and put everything on a single page. What you’ll need Desktop Manager (free 200-300 MB download) Handheld software (free 100+ MB […]

The post How To Upgrade Your BlackBerry OS Software 2010 Version appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2012/01/02/how-to-upgrade-your-blackberry-os-software-2010-version/feed/ 0
Abstract Class in Java http://sony.staff.ipb.ac.id/2011/06/09/abstract-class-in-java/ http://sony.staff.ipb.ac.id/2011/06/09/abstract-class-in-java/#comments Thu, 09 Jun 2011 01:22:45 +0000 http://sony.staff.ipb.ac.id/?p=117 Java Abstract classes are used to declare common characteristics of subclasses. An abstract class cannot be instantiated. It can only be used as a superclass for other classes that extend the abstract class. Abstract classes are declared with the abstract keyword. Abstract classes are used to provide a template or design for concrete subclasses down […]

The post Abstract Class in Java appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2011/06/09/abstract-class-in-java/feed/ 0
Yahoo! Mail Beta ke Yahoo! Mail Classic http://sony.staff.ipb.ac.id/2011/05/06/yahoo-mail-beta-ke-yahoo-mail-classic/ http://sony.staff.ipb.ac.id/2011/05/06/yahoo-mail-beta-ke-yahoo-mail-classic/#comments Fri, 06 May 2011 07:44:35 +0000 http://sony.staff.ipb.ac.id/?p=112 Menu di pojok kiri atas, Help > Return to Original Mail.

The post Yahoo! Mail Beta ke Yahoo! Mail Classic appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2011/05/06/yahoo-mail-beta-ke-yahoo-mail-classic/feed/ 0
User Interface Design http://sony.staff.ipb.ac.id/2011/05/05/user-interface-design/ http://sony.staff.ipb.ac.id/2011/05/05/user-interface-design/#comments Thu, 05 May 2011 14:33:27 +0000 http://sony.staff.ipb.ac.id/?p=109 The Golden rule These golden rules actually form the basis for a set of user interface design principles that guide this important software design activity. 1 Place the User in control Most interface constraints and restriction that are imposed by a designer are intended to simplify the mode of interaction. The designer might introduce constraints […]

The post User Interface Design appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2011/05/05/user-interface-design/feed/ 0
Developing a Structure Chart http://sony.staff.ipb.ac.id/2011/04/30/developing-a-structure-chart/ http://sony.staff.ipb.ac.id/2011/04/30/developing-a-structure-chart/#comments Sat, 30 Apr 2011 09:44:00 +0000 http://sony.staff.ipb.ac.id/?p=107 Two approaches that can be used to develop a Structure Chart are Transaction Analysis and Transform Analysis (Satzinger 2007). Transaction analysis Uses system flow chart and event table inputs Upper-level modules developed first Identifies each transaction supported by program Transform analysis Uses DFD fragments for inputs Computer program “transforms” inputs into outputs Charts have input, […]

The post Developing a Structure Chart appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2011/04/30/developing-a-structure-chart/feed/ 0
Java – How to read input from console http://sony.staff.ipb.ac.id/2011/04/30/java-how-to-read-input-from-console/ http://sony.staff.ipb.ac.id/2011/04/30/java-how-to-read-input-from-console/#comments Sat, 30 Apr 2011 01:07:02 +0000 http://sony.staff.ipb.ac.id/?p=105 JDK 5.0 provides a feature to read input from console. Java.util,Scanner is used for this purpose. This code read a String and an Integer from the console and stores them in the variables. import java.util.Scanner; public class InputExp { public static void main(String[] args) { String name; int age; Scanner in = new Scanner(System.in); // […]

The post Java – How to read input from console appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2011/04/30/java-how-to-read-input-from-console/feed/ 0
CPP – Set decimal precision http://sony.staff.ipb.ac.id/2011/04/28/cpp-set-decimal-precision/ http://sony.staff.ipb.ac.id/2011/04/28/cpp-set-decimal-precision/#comments Thu, 28 Apr 2011 15:26:24 +0000 http://sony.staff.ipb.ac.id/?p=100 // setprecision example #include <iostream> #include <iomanip> using namespace std; int main () { double f =3.14159; cout << setprecision (5) << f << endl;   //3.1416 cout << setprecision (9) << f << endl;   //3.14159 cout << fixed; cout << setprecision (5) << f << endl;   //3.14159 cout << setprecision (9) << f << endl;   […]

The post CPP – Set decimal precision appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2011/04/28/cpp-set-decimal-precision/feed/ 0
Java – Features Removed from C and C++ http://sony.staff.ipb.ac.id/2011/04/26/java-features-removed-from-c-and-c/ http://sony.staff.ipb.ac.id/2011/04/26/java-features-removed-from-c-and-c/#comments Tue, 26 Apr 2011 05:51:20 +0000 http://sony.staff.ipb.ac.id/?p=96 This section discusses features removed from C and C++ in the evolution of Java.The first step was to eliminate redundancy from C and C++. In many ways, the C language evolved into a collection of overlapping features, providing too many ways to say the same thing, while in many cases not providing needed features. C++, in […]

The post Java – Features Removed from C and C++ appeared first on Sony's blog.

]]>
http://sony.staff.ipb.ac.id/2011/04/26/java-features-removed-from-c-and-c/feed/ 0