R Data Frame

Data is displayed in the format of the table in the R data frame. There are different data types inside the R data frames. The character can be the first column, second and third can be numeric or logical. However, each column must have the same type of data. Following are some R data frame … Read more

JSON File in R

JSON file in R is stored as an R list. JSON stands for JavaScript Object Notation. The JSON file is consists of the data as text in a human-readable format. Install rjson Package You can install the R JSON package with the following command in the R console. Input Data Create a JSON file by … Read more

XML File in R

XML is also a markup language that stands for extensible markup language like HTML. Which contains markups tags. You read the XML file in R by installing the XML package. This package can be installed using the following command. Creating XML file Create an XML file by copying the below data into a text editor … Read more

Data Reshaping in R

The data reshaping in R is the name of changing the data organized in rows and columns. Data processing is done by taking the input as a data frame. It is the easiest method to extract data from the rows and columns of the data frame, but here is a problem when you want a … Read more

PHP Multidimensional Array

The array of arrays in PHP is  known as a multidimensional array. The array’s elements can all be arrays, and they can also contain additional sub-arrays. It enables the storage of tabular data in an array. PHP multidimensional arrays can be expressed as a matrix, with row * column. PHP Multidimensional Array Definition

PHP Numeric Array

PHP Numeric Array is an array in which numbers, strings, and any other object can be stored, but their indexes will be represented by numbers. Each element of the array is represented by an index number that begins with 0. PHP Numeric Array Definition There are two ways of defining PHP numeric array: 1. 2. … Read more

PHP Array

PHP array is a data structure that contains one or more related types of values in a single value. For example if you want to store 500 names then instead of defining different variable for each name its easy to define an array of 500 length. Multiple values can be stored in an array within … Read more

PHP Regular Expressions

Regular expressions are nothing more than a string of characters in a particular order. Regular Expressions (“regex” or “RegExp”) are specifically designed text strings that are used to find patterns in text. To generate complex expressions, regular expressions use arithmetic operators like (+,-,). They may assist you with activities such as validating email addresses and … Read more

PHP Session

A session is a frame of communication between two mediums. PHP sessions are used to temporarily store and transmit information from one page to another (until the user close the website). Problem:  The HTTP address does not keep state, So the web server has no idea who you are or what you do. Solution: Session variables … Read more

PHP Form Methods

For uploading data some PHP Form Methods are used such as Get or Post. These methods are written as value of method attribute and specifies the HTTP method to be used when submitting the form data. Both GET and POST are treated as $_GET and $_POST. These are superglobals, which means that they are always … Read more