# Ritika

## MYSQL: CREATE A DATABASE

A database is a defined collection of logical, meaningful data, for example, a database of employees to store the name, addresses, employee numbers, and other relevant records of employee information.  In this article, we will be discussing about creating databases in MYSQL, particularly the following topics:– MYSQL CREATE DATABASE – SYNTAX and EXAMPLE MYSQL CREATE …

## MYSQL: UNION – tutorial with examples

We can use the UNION clause in MYSQL when we want to combine the results from multiple select queries and display the combined result in the output. In this article we will be discussing below topics, MYSQL: UNION QUERY SYNTAX MYSQL: UNION QUERY EXAMPLE MYSQL: UNION RESTRICTIONS MYSQL: UNION DISTINCT MYSQL: UNION ALL MYSQL: UNION …

## Creating Empty Matrix in R

Many times, we need an empty matrix and want to fill it later as per our requirement. Below are a few examples to achieve the same.In this article, we will be looking into creating an empty matrix in R and in the final section we will see how to verify if an object is a …

## Creating a Matrix in R

A matrix, as we all know, is a rectangular array arranged in rows and columns. In terms of programming language, matrix is a collection of data-elements arranged in a two-dimensional rectangular form. In this article, we will know all about creating matrices in R, and we will be using different methods here to help you …

## R: Create vector of zeros

Vector of zeros is sometimes required to initialize a vector with values or neutralize it after performing a few operations. In this article, we will be creating a vector of zeros using different ways. using integer() function using numeric() function using rep() function R : Create a vector of zeros using integer () function The …

## R: Find the index of an element in the vector ( 4 ways )

Often, we have a requirement to find out the index of the first occurrence of an element in the vector so that some operations can be performed on the same. There are many ways to do the same in R; we will go through a few of them.

## R: Create empty vectors and add new items to it

Empty vectors in R are the vectors of length zero. We often need to create empty vectors in a program so that elements can be added later as and when required. While there are several ways to do the same, we will be talking about few of them.

## Creating Vectors in R Programming (6 ways)

Vectors are fundamental data structures in R with logical, integer, double, character, and raw data types. Vectors are somewhat similar to what is arrays in C. In this article, we will be learning how to create vectors in R using some primary ways: using c() function. using ‘:’ using rep() function using vector() function using …

## R: Set working directory

In this article, we will be setting up a working directory in R using different techniques and will also verify if that has been set correctly.

## Java : Creating HashMap by associating multiple values with same Key

In this article we will discuss how to create a HashMap with multiple values associated with same Key in Java.

Scroll to Top