content large_stringlengths 0 6.46M | path large_stringlengths 3 331 | license_type large_stringclasses 2
values | repo_name large_stringlengths 5 125 | language large_stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 4 6.46M | extension large_stringclasses 75
values | text stringlengths 0 6.46M |
|---|---|---|---|---|---|---|---|---|---|
\name{agg_g2}
\alias{agg_g2}
\title{Internal anRpackage objects}
\description{Internal anRpackage objects.}
\details{These are not to be called by the user.}
\keyword{internal} | /man/agg_g2.Rd | no_license | acdelre/MAd | R | false | false | 176 | rd | \name{agg_g2}
\alias{agg_g2}
\title{Internal anRpackage objects}
\description{Internal anRpackage objects.}
\details{These are not to be called by the user.}
\keyword{internal} |
structure(list(url = "https://api.twitter.com/2/users/956624418/mentions?max_results=100&start_time=2021-05-30T14%3A12%3A24.000Z&end_time=2021-06-02T21%3A15%3A24.000Z&tweet.fields=attachments%2Cauthor_id%2Ccontext_annotations%2Cconversation_id%2Ccreated_at%2Centities%2Cgeo%2Cid%2Cin_reply_to_user_id%2Clang%2Cpublic_met... | /tests/testthat/api.twitter.com/2/users/956624418/mentions-d24b15.R | permissive | cjbarrie/academictwitteR | R | false | false | 8,304 | r | structure(list(url = "https://api.twitter.com/2/users/956624418/mentions?max_results=100&start_time=2021-05-30T14%3A12%3A24.000Z&end_time=2021-06-02T21%3A15%3A24.000Z&tweet.fields=attachments%2Cauthor_id%2Ccontext_annotations%2Cconversation_id%2Ccreated_at%2Centities%2Cgeo%2Cid%2Cin_reply_to_user_id%2Clang%2Cpublic_met... |
#Test case 36:
Data_1 <- matrix(c(7,3,5,6,7,8,10,1,
4,8,2,1,3,2,4,5,
1,7,5,5,6,7,8,2,
2,1,4,8,3,5,4,1),byrow=TRUE, nrow=4);
Input = matrix(c(7,5,7,
4,2,3,
1,5,6,
2,4,3), byrow = TRUE, nrow = 4);
Ou... | /2_nsbm_approach/Nsbm.function/tests/Test_case_36.R | no_license | thomaskrupa/thesis | R | false | false | 9,936 | r | #Test case 36:
Data_1 <- matrix(c(7,3,5,6,7,8,10,1,
4,8,2,1,3,2,4,5,
1,7,5,5,6,7,8,2,
2,1,4,8,3,5,4,1),byrow=TRUE, nrow=4);
Input = matrix(c(7,5,7,
4,2,3,
1,5,6,
2,4,3), byrow = TRUE, nrow = 4);
Ou... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preliminary.R
\name{rotdist.sum}
\alias{rotdist.sum}
\alias{rotdist.sum.SO3}
\alias{rotdist.sum.Q4}
\title{Sample distance}
\usage{
rotdist.sum(x, S = genR(0, space = class(x)), method = "extrinsic", p = 1)
\method{rotdist.sum}{SO3}(x, S = i... | /fuzzedpackages/rotations/man/rotdist.sum.Rd | no_license | akhikolla/testpackages | R | false | true | 2,161 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preliminary.R
\name{rotdist.sum}
\alias{rotdist.sum}
\alias{rotdist.sum.SO3}
\alias{rotdist.sum.Q4}
\title{Sample distance}
\usage{
rotdist.sum(x, S = genR(0, space = class(x)), method = "extrinsic", p = 1)
\method{rotdist.sum}{SO3}(x, S = i... |
## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup, message = FALSE---------------------------------------------------
library(anovir)
## ----include = FALSE---------------------------------------------------------... | /inst/doc/the_exponential_distribution.R | no_license | cran/anovir | R | false | false | 2,856 | r | ## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup, message = FALSE---------------------------------------------------
library(anovir)
## ----include = FALSE---------------------------------------------------------... |
## Mechanic - Data
## Mechanic - VMatrix
MechanicCoreBase <- CoreBuilder(ActSkills=c("MultipleOption", "MicroMissileContainer", "MetalArmorFullburst", "MechCarrier",
CommonV("Pirate", "Resistance")),
ActSkillsLv=c(25, 25, 25, 25, 25, 25, 25, ... | /job/Mechanic.R | no_license | MapleStory-Archive/Maplestory_DPM | R | false | false | 37,482 | r | ## Mechanic - Data
## Mechanic - VMatrix
MechanicCoreBase <- CoreBuilder(ActSkills=c("MultipleOption", "MicroMissileContainer", "MetalArmorFullburst", "MechCarrier",
CommonV("Pirate", "Resistance")),
ActSkillsLv=c(25, 25, 25, 25, 25, 25, 25, ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/browser_export.R
\name{export_browser_info}
\alias{export_browser_info}
\title{Export browser information/configuration for dfr-browser}
\usage{
export_browser_info(file, info, overwrite, index)
}
\arguments{
\item{file}{output file name}
\i... | /man/export_browser_info.Rd | permissive | regan008/dfrtopics | R | false | true | 982 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/browser_export.R
\name{export_browser_info}
\alias{export_browser_info}
\title{Export browser information/configuration for dfr-browser}
\usage{
export_browser_info(file, info, overwrite, index)
}
\arguments{
\item{file}{output file name}
\i... |
## Check for source data and unzip if necessary
if (!file.exists("household_power_consumption.txt")) {
if (!file.exists("electricity.zip")) {
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
if(Sys.info()["sysname"] == "Darwin") {
download.file(url, destfile... | /myCode/load.R | no_license | tobiasrist/ExData_Plotting1 | R | false | false | 974 | r | ## Check for source data and unzip if necessary
if (!file.exists("household_power_consumption.txt")) {
if (!file.exists("electricity.zip")) {
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
if(Sys.info()["sysname"] == "Darwin") {
download.file(url, destfile... |
truer = c(0.5645818)
tmpdat = read.csv("dr_ss.csv");
tmpdat$X=NULL;
mean = colMeans(tmpdat)
gformseq = mean
gformseq2 = tmpdat;
gformseqSE = apply(gformseq2, 2, var)^0.5
gformseqVAR = gformseqSE^2
bpgformseq = 100*(gformseq-truer)/gformseqSE
bgformseq = (gformseq-truer)
MSE = bgformseq^2 + gformseqVAR
cbind(bgformseq... | /ML_sims/delta_0.50/n250/sim_analysis.R | no_license | lw499/Stochastic_treatment_paper | R | false | false | 1,478 | r | truer = c(0.5645818)
tmpdat = read.csv("dr_ss.csv");
tmpdat$X=NULL;
mean = colMeans(tmpdat)
gformseq = mean
gformseq2 = tmpdat;
gformseqSE = apply(gformseq2, 2, var)^0.5
gformseqVAR = gformseqSE^2
bpgformseq = 100*(gformseq-truer)/gformseqSE
bgformseq = (gformseq-truer)
MSE = bgformseq^2 + gformseqVAR
cbind(bgformseq... |
# Run extractAnem first to make input file --------------------------------
# Tissue Samples ----------------------------------------------------------
year<-"2015_05"
work <- paste("../../Philippines/Surveys_", year, sep='')
setwd(work)
fileList <- sort(list.files(path='output', pattern = "GPSSurvey.*"), decr... | /test_nest_collections.R | no_license | stuartmichelle/Playground | R | false | false | 6,114 | r | # Run extractAnem first to make input file --------------------------------
# Tissue Samples ----------------------------------------------------------
year<-"2015_05"
work <- paste("../../Philippines/Surveys_", year, sep='')
setwd(work)
fileList <- sort(list.files(path='output', pattern = "GPSSurvey.*"), decr... |
# Clean list so it only contains unique values; keeping the rows with first
#occurrence of any duplicated values.
# c(1, 2, 3, 3, 4, 5, 6, 7, 7, 8) becomes c(1, 2, 3, 4, 5, 6, 7, 8).
#Sample data
sample_name <- c("apple", "banana", "cocoa", "coco.a", "danno", "dann.o", "d.a.nno")
sample_key <- c("APPLE", "BANANA", "C... | /keep_unique_rows.R | permissive | omgitsjessie/datacleaning | R | false | false | 762 | r | # Clean list so it only contains unique values; keeping the rows with first
#occurrence of any duplicated values.
# c(1, 2, 3, 3, 4, 5, 6, 7, 7, 8) becomes c(1, 2, 3, 4, 5, 6, 7, 8).
#Sample data
sample_name <- c("apple", "banana", "cocoa", "coco.a", "danno", "dann.o", "d.a.nno")
sample_key <- c("APPLE", "BANANA", "C... |
install.packages("HSAUR")
data(water,package = "HSAUR")
??water
str(water)
edit(water)
morSouth=water$mortality[water$location=="South"]
morNorth=water$mortality[water$location=="North"]
hardSouth=water$hardness[water$location=="South"]
hardNorth=water$hardness[water$location=="North"]
ks.test(morSouth,morNorth)
ks.t... | /week4/Solutions/task3.R | no_license | natigeorgieva/Applied_Statistics_2021 | R | false | false | 629 | r | install.packages("HSAUR")
data(water,package = "HSAUR")
??water
str(water)
edit(water)
morSouth=water$mortality[water$location=="South"]
morNorth=water$mortality[water$location=="North"]
hardSouth=water$hardness[water$location=="South"]
hardNorth=water$hardness[water$location=="North"]
ks.test(morSouth,morNorth)
ks.t... |
# Regression Model
#Importing Dataset
dataset = read.csv('Position_Salaries.csv')
dataset = dataset[,2:3]
# Splitting dataset into Training set and test set
# install.packages("caTools")
# library(caTools)
# set.seed(123)
# split = sample.split(dataset$Purchased,SplitRatio = 0.8) #put split ratio for training set
# ... | /Part 2 - Regression/Polynomial Regression/Codes/Polynomial_regression_template.r | no_license | poojashri13/Machine-Learning | R | false | false | 1,431 | r | # Regression Model
#Importing Dataset
dataset = read.csv('Position_Salaries.csv')
dataset = dataset[,2:3]
# Splitting dataset into Training set and test set
# install.packages("caTools")
# library(caTools)
# set.seed(123)
# split = sample.split(dataset$Purchased,SplitRatio = 0.8) #put split ratio for training set
# ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getOutputTableNames.R
\name{getOutputTableNames}
\alias{getOutputTableNames}
\title{A getOutputTableNames Function}
\usage{
getOutputTableNames(iProcess)
}
\description{
Function getOutputTableNames.
}
\examples{
getOutputTableNames()
}
| /backend/myrfolder/tests/man/getOutputTableNames.Rd | permissive | StoXProject/StoX | R | false | true | 315 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getOutputTableNames.R
\name{getOutputTableNames}
\alias{getOutputTableNames}
\title{A getOutputTableNames Function}
\usage{
getOutputTableNames(iProcess)
}
\description{
Function getOutputTableNames.
}
\examples{
getOutputTableNames()
}
|
#' oxford_index
#'
#' Computes the oxford index of thermal discomfort.
#'
#' @param t numeric Air temperature in degC.
#' @param rh numeric Relative humidity in percentage.
#' @param wind numeric Windspeed in meters per second.
#' @param pair numeric Air pressure in hPa.
#' @return oxford index
#'
#'
#' @author Istitu... | /R/oxford_index.r | permissive | alfcrisci/rBiometeo | R | false | false | 1,081 | r | #' oxford_index
#'
#' Computes the oxford index of thermal discomfort.
#'
#' @param t numeric Air temperature in degC.
#' @param rh numeric Relative humidity in percentage.
#' @param wind numeric Windspeed in meters per second.
#' @param pair numeric Air pressure in hPa.
#' @return oxford index
#'
#'
#' @author Istitu... |
### load required packages
library(RMariaDB)
library(tidyverse)
library(scales)
### fetch and format data from local database
movies_db <-
dbConnect(
MariaDB(),
user = "root",
password = password,
dbname = "movies",
host = "localhost"
)
horror_director_query <-
"
SELECT * FROM... | /scripts/Best horror directors.R | no_license | loserpoints/Movies | R | false | false | 4,179 | r | ### load required packages
library(RMariaDB)
library(tidyverse)
library(scales)
### fetch and format data from local database
movies_db <-
dbConnect(
MariaDB(),
user = "root",
password = password,
dbname = "movies",
host = "localhost"
)
horror_director_query <-
"
SELECT * FROM... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/anthsrs.R
\docType{data}
\name{anthsrs}
\alias{anthsrs}
\title{Length of Left Middle Finger and Height for an SRS of Size 200}
\format{
Data frame with the following 2 variables:
\describe{
\item{finger}{length of left middle finger (cm)}
... | /man/anthsrs.Rd | no_license | cran/SDaA | R | false | true | 722 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/anthsrs.R
\docType{data}
\name{anthsrs}
\alias{anthsrs}
\title{Length of Left Middle Finger and Height for an SRS of Size 200}
\format{
Data frame with the following 2 variables:
\describe{
\item{finger}{length of left middle finger (cm)}
... |
################################################################################################################
## Obtain table from mySQL databases using Sting's account
################################################################################################################
get_sting_table <- function(databas... | /clinical_data/clinical_data_pipeline_20160610_v1.0.R | no_license | wjdddj/my_R_respository | R | false | false | 47,780 | r | ################################################################################################################
## Obtain table from mySQL databases using Sting's account
################################################################################################################
get_sting_table <- function(databas... |
library(RCIndex)
f = system.file("exampleCode", "static.c", package = "RCIndex")
if(!file.exists(f))
f = "../exampleCode/static.c"
tu = createTU(f)
r = getRoutines(tu)
cur = as(tu, 'CXCursor')
final = cur[[length(cur)]]
getCursorLinkage(final)
# What about the static variable ctr in the routine foo.
var = r$foo@... | /inst/explorations/static.R | no_license | omegahat/RClangSimple | R | false | false | 889 | r | library(RCIndex)
f = system.file("exampleCode", "static.c", package = "RCIndex")
if(!file.exists(f))
f = "../exampleCode/static.c"
tu = createTU(f)
r = getRoutines(tu)
cur = as(tu, 'CXCursor')
final = cur[[length(cur)]]
getCursorLinkage(final)
# What about the static variable ctr in the routine foo.
var = r$foo@... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/roll.R
\name{roll_sum}
\alias{roll_sum}
\title{Rolling Sums}
\usage{
roll_sum(x, width, weights = rep(1, width), min_obs = width,
complete_obs = FALSE, na_restore = FALSE, online = TRUE)
}
\arguments{
\item{x}{matrix or xts object. Rows are... | /man/roll_sum.Rd | no_license | yutannihilation/roll | R | false | true | 1,279 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/roll.R
\name{roll_sum}
\alias{roll_sum}
\title{Rolling Sums}
\usage{
roll_sum(x, width, weights = rep(1, width), min_obs = width,
complete_obs = FALSE, na_restore = FALSE, online = TRUE)
}
\arguments{
\item{x}{matrix or xts object. Rows are... |
n.cases <- 240 # Number of points.
n.vars <- 4 # Number of mutually correlated variables.
set.seed(26) # Make these results reproducible.
eps <- rnorm(n.vars, 0, 1/4) # Make "1/4" smaller to *increase* the correlations.
x <- matrix(rnorm(n.cases * (n.vars+2)... | /3.3.1 Removing Highly Correlated Factors.R | no_license | ahmeduncc/Data-Statistics-and-Data-Mining | R | false | false | 1,282 | r | n.cases <- 240 # Number of points.
n.vars <- 4 # Number of mutually correlated variables.
set.seed(26) # Make these results reproducible.
eps <- rnorm(n.vars, 0, 1/4) # Make "1/4" smaller to *increase* the correlations.
x <- matrix(rnorm(n.cases * (n.vars+2)... |
library(testthat)
library(labChartHRV)
test_check("labChartHRV")
| /tests/testthat.R | permissive | Lightbridge-KS/labChartHRV | R | false | false | 66 | r | library(testthat)
library(labChartHRV)
test_check("labChartHRV")
|
# Copyright 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | /R/plot_annual_means.R | permissive | gravitytrope/fasstr | R | false | false | 6,140 | r | # Copyright 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... |
formatPercent <- function(x, digits = 2, format = "f", ...) {
paste0(formatC(100 * x, format = format, digits = digits, ...), "%")
}
| /common/helper.R | no_license | victorwyee/running-ds | R | false | false | 136 | r |
formatPercent <- function(x, digits = 2, format = "f", ...) {
paste0(formatC(100 * x, format = format, digits = digits, ...), "%")
}
|
testlist <- list(G = NA_real_, Rn = NaN, atmp = NaN, ra = c(NaN, 3.23785921002061e-319, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... | /meteor/inst/testfiles/ET0_PenmanMonteith/libFuzzer_ET0_PenmanMonteith/ET0_PenmanMonteith_valgrind_files/1612736922-test.R | no_license | akhikolla/updatedatatype-list3 | R | false | false | 498 | r | testlist <- list(G = NA_real_, Rn = NaN, atmp = NaN, ra = c(NaN, 3.23785921002061e-319, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... |
install.packages('data.table')
library(janitor)
library(dplyr)
library(stringr)
library(tidyr)
library(assertive)
library(readr)
library(psych)
library(data.table)
library(ggplot2)
library()
#Data set
read_csv("https://raw.githubusercontent.com/safesit23/INT214-Statistics/main/datasets/prog_book.csv")
com_book <- rea... | /assignment/HW04_63130500082/ุ63130500082.R | permissive | dearfy/024-Marvel-Vs-DC-IMDB | R | false | false | 3,237 | r | install.packages('data.table')
library(janitor)
library(dplyr)
library(stringr)
library(tidyr)
library(assertive)
library(readr)
library(psych)
library(data.table)
library(ggplot2)
library()
#Data set
read_csv("https://raw.githubusercontent.com/safesit23/INT214-Statistics/main/datasets/prog_book.csv")
com_book <- rea... |
#' @include internal.R pproto.R Objective-proto.R star_phylogeny.R
NULL
#' Add maximum richness objective
#'
#' Set the objective of a project prioritization [problem()] to
#' maximize the total number of features that are expected to persist, whilst
#' ensuring that the cost of the solution is within a pre-specified ... | /R/add_max_richness_objective.R | no_license | prioritizr/oppr | R | false | false | 9,834 | r | #' @include internal.R pproto.R Objective-proto.R star_phylogeny.R
NULL
#' Add maximum richness objective
#'
#' Set the objective of a project prioritization [problem()] to
#' maximize the total number of features that are expected to persist, whilst
#' ensuring that the cost of the solution is within a pre-specified ... |
#' Source generics.
#'
#' These generics retrieve metadata for a given src.
#'
#' @keywords internal
#' @name backend_src
NULL
#' @name backend_src
#' @export
src_desc <- function(x) UseMethod("src_desc")
#' @name backend_src
#' @export
sql_translate_env <- function(con) UseMethod("sql_translate_env")
#' @name backe... | /R/dbi-s3.r | permissive | lionel-/dbplyr | R | false | false | 8,480 | r | #' Source generics.
#'
#' These generics retrieve metadata for a given src.
#'
#' @keywords internal
#' @name backend_src
NULL
#' @name backend_src
#' @export
src_desc <- function(x) UseMethod("src_desc")
#' @name backend_src
#' @export
sql_translate_env <- function(con) UseMethod("sql_translate_env")
#' @name backe... |
library(plm)
nu1 <- rnorm(1000)
nu2 <- rnorm(1000)
nu3 <- rnorm(1000)
alpha <- rnorm(1000)
zeta <- rnorm(1000)
u11 <- rnorm(1000)
u12 <- rnorm(1000)
u13 <- rnorm(1000)
u21 <- rnorm(1000)
u22 <- rnorm(1000)
u23 <- rnorm(1000)
x11 <- alpha + u11
x12 <- alpha + u12
x13 <- alpha + u13
x21 <- alpha + u21
x22 <- alpha + u22... | /PS1.R | no_license | ykaneko1992/ecnometrics | R | false | false | 1,600 | r | library(plm)
nu1 <- rnorm(1000)
nu2 <- rnorm(1000)
nu3 <- rnorm(1000)
alpha <- rnorm(1000)
zeta <- rnorm(1000)
u11 <- rnorm(1000)
u12 <- rnorm(1000)
u13 <- rnorm(1000)
u21 <- rnorm(1000)
u22 <- rnorm(1000)
u23 <- rnorm(1000)
x11 <- alpha + u11
x12 <- alpha + u12
x13 <- alpha + u13
x21 <- alpha + u21
x22 <- alpha + u22... |
\name{weight_matrix}
\alias{weight_matrix}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Weighted Inner Product
}
\description{
Calculate the weighted inner product of A and B with the weight W. This result is useful in Logistic Regression.
}
\usage{
weight_matrix(A, W, B)
}
%- mayb... | /man/weight_matrix.Rd | no_license | cran/EMSNM | R | false | false | 929 | rd | \name{weight_matrix}
\alias{weight_matrix}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Weighted Inner Product
}
\description{
Calculate the weighted inner product of A and B with the weight W. This result is useful in Logistic Regression.
}
\usage{
weight_matrix(A, W, B)
}
%- mayb... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/makeLandClippedHulls.R
\name{makeLandClippedHulls}
\alias{makeLandClippedHulls}
\title{Creates convex hulls which are clipped to landmasses}
\usage{
makeLandClippedHulls(x)
}
\arguments{
\item{x}{object of class sf, sfc or sfg}
}
\... | /man/makeLandClippedHulls.Rd | permissive | JCur96/sfe | R | false | true | 1,326 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/makeLandClippedHulls.R
\name{makeLandClippedHulls}
\alias{makeLandClippedHulls}
\title{Creates convex hulls which are clipped to landmasses}
\usage{
makeLandClippedHulls(x)
}
\arguments{
\item{x}{object of class sf, sfc or sfg}
}
\... |
##Get and load the data
data <- subset(read.table("household_power_consumption.txt",
header = TRUE,
sep=";",
na.strings = "?"),
as.Date(Date, "%d/%m/%Y") >= "2007-02-01" &
as.Date(Date, "%d/%m/%Y") <= "200... | /plot1.R | no_license | iranoviani/Coursera-John-Hopkins-Exploratory-Data-Analysis | R | false | false | 595 | r | ##Get and load the data
data <- subset(read.table("household_power_consumption.txt",
header = TRUE,
sep=";",
na.strings = "?"),
as.Date(Date, "%d/%m/%Y") >= "2007-02-01" &
as.Date(Date, "%d/%m/%Y") <= "200... |
# dellines --- delete n lines starting at row on the screen
subroutine dellines (row, n)
integer row, n
include SE_COMMON
integer i, delay
character blanks (MAXCOLS)
data blanks / MAXCOLS * ' 'c /
call position_cursor (row, 1)
for (i = 1; i <= n; i += 1) {
select (Term_type)
w... | /swt/src/spc/se.u/source/dellines.r | no_license | arnoldrobbins/gt-swt | R | false | false | 1,713 | r | # dellines --- delete n lines starting at row on the screen
subroutine dellines (row, n)
integer row, n
include SE_COMMON
integer i, delay
character blanks (MAXCOLS)
data blanks / MAXCOLS * ' 'c /
call position_cursor (row, 1)
for (i = 1; i <= n; i += 1) {
select (Term_type)
w... |
#' Cox-Ross-Rubinstein binomial option model
#' @description
#' European option binomial model on a stock without dividends.For academic purpose only.
#' Use fOptions::CRRBinomialTreeOptions for real-life usage.
#' @param S Stock price. `numeric`
#' @param X Strike price. `numeric`
#' @param sigma Implied volatility e.... | /R/CRReuro.R | permissive | risktoollib/RTL | R | false | false | 2,119 | r | #' Cox-Ross-Rubinstein binomial option model
#' @description
#' European option binomial model on a stock without dividends.For academic purpose only.
#' Use fOptions::CRRBinomialTreeOptions for real-life usage.
#' @param S Stock price. `numeric`
#' @param X Strike price. `numeric`
#' @param sigma Implied volatility e.... |
library(dplyr)
library(plyr)
library(reshape2)
#merging train and test data
#train data
x_train<-read.table("C://Users/Tarandeep Kaur/Documents/R/Getting-and-Cleaning-Data-Course-Project/getdata_projectfiles_UCI HAR Dataset/UCI HAR Dataset/train/X_train.txt")
y_train<-read.table("C://Users/Tarandeep Kaur/Documents/R/G... | /run_analysis.R | no_license | tarandeepk1/Getting-and-Cleaning-Data-Course-Project | R | false | false | 2,552 | r | library(dplyr)
library(plyr)
library(reshape2)
#merging train and test data
#train data
x_train<-read.table("C://Users/Tarandeep Kaur/Documents/R/Getting-and-Cleaning-Data-Course-Project/getdata_projectfiles_UCI HAR Dataset/UCI HAR Dataset/train/X_train.txt")
y_train<-read.table("C://Users/Tarandeep Kaur/Documents/R/G... |
library(Bchron)
### Name: Bchronology
### Title: Runs the Compound Poisson-Gamma chronology model of Haslett and
### Parnell (2008)
### Aliases: Bchronology
### ** Examples
## No test:
# Data from Glendalough
data(Glendalough)
# Run in Bchronology - all but first age uses intcal13
GlenOut = Bchronology(ages=Gle... | /data/genthat_extracted_code/Bchron/examples/Bchronology.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 1,086 | r | library(Bchron)
### Name: Bchronology
### Title: Runs the Compound Poisson-Gamma chronology model of Haslett and
### Parnell (2008)
### Aliases: Bchronology
### ** Examples
## No test:
# Data from Glendalough
data(Glendalough)
# Run in Bchronology - all but first age uses intcal13
GlenOut = Bchronology(ages=Gle... |
#' Check reference class values and convert it to a factor if necessary
#'
#' @param c.ref
#' class reference values provided by user
#' @param classnames
#' text with class name in case of logical reference values
#'
#' @export
classmodel.processRefValues <- function(c.ref, classnames = NULL) {
if (is.null(c.ref) ... | /R/classmodel.R | permissive | svkucheryavski/mdatools | R | false | false | 5,811 | r | #' Check reference class values and convert it to a factor if necessary
#'
#' @param c.ref
#' class reference values provided by user
#' @param classnames
#' text with class name in case of logical reference values
#'
#' @export
classmodel.processRefValues <- function(c.ref, classnames = NULL) {
if (is.null(c.ref) ... |
#' Gather time series of streamflow data
#'
#' This function gathers daily average streamgauge data for a group of gauges
#' from USGS NWIS
#'
#' @param start start date in format 'YYYY-MM-DD'
#' @param end end date in format 'YYYY-MM-DD'
#' @param gages list of USGS gauge numbers
#' @return list of:
#' \... | /R/getStreamflow.R | no_license | cran/CityWaterBalance | R | false | false | 1,735 | r | #' Gather time series of streamflow data
#'
#' This function gathers daily average streamgauge data for a group of gauges
#' from USGS NWIS
#'
#' @param start start date in format 'YYYY-MM-DD'
#' @param end end date in format 'YYYY-MM-DD'
#' @param gages list of USGS gauge numbers
#' @return list of:
#' \... |
testlist <- list(scale = 0, shape = 2.0477199434668e-314)
result <- do.call(bama:::rand_igamma,testlist)
str(result) | /bama/inst/testfiles/rand_igamma/AFL_rand_igamma/rand_igamma_valgrind_files/1615926156-test.R | no_license | akhikolla/updatedatatype-list1 | R | false | false | 116 | r | testlist <- list(scale = 0, shape = 2.0477199434668e-314)
result <- do.call(bama:::rand_igamma,testlist)
str(result) |
# Chargement des librairies ----------------------
library(tidyverse)
library(lubridate)
library(readxl)
library(usethis)
# Chargement des tables du COG ------------------------------------------
# https://www.insee.fr/fr/information/2560452
#
# Création des tables suivantes:
# régions : copie de la table régions du co... | /data-raw/raw_data_2021.R | no_license | jengelaere/COGiter | R | false | false | 10,762 | r | # Chargement des librairies ----------------------
library(tidyverse)
library(lubridate)
library(readxl)
library(usethis)
# Chargement des tables du COG ------------------------------------------
# https://www.insee.fr/fr/information/2560452
#
# Création des tables suivantes:
# régions : copie de la table régions du co... |
\name{rescale.by.group}
\alias{rescale.by.group}
\title{
Transform a numeric vector by grouping it according to the values of
the supplied factor and then rescaling within the groups.
}
\description{
The numeric vector is remapped to integers from 0 to max-1, with any
missing values mapped to the midpoint. O... | /rattleM/man/grouper.Rd | no_license | LJanulis/RattleM | R | false | false | 1,269 | rd | \name{rescale.by.group}
\alias{rescale.by.group}
\title{
Transform a numeric vector by grouping it according to the values of
the supplied factor and then rescaling within the groups.
}
\description{
The numeric vector is remapped to integers from 0 to max-1, with any
missing values mapped to the midpoint. O... |
\name{fastAnc}
\alias{fastAnc}
\title{(Reasonably) fast estimation of ML ancestral states}
\usage{
fastAnc(tree, x, vars=FALSE, CI=FALSE, ...)
}
\arguments{
\item{tree}{an object of class \code{"phylo"}.}
\item{x}{a vector of tip values for species; \code{names(x)} should be the species names.}
\item{vars}{a logical... | /man/fastAnc.Rd | no_license | phamasaur/phytools | R | false | false | 2,340 | rd | \name{fastAnc}
\alias{fastAnc}
\title{(Reasonably) fast estimation of ML ancestral states}
\usage{
fastAnc(tree, x, vars=FALSE, CI=FALSE, ...)
}
\arguments{
\item{tree}{an object of class \code{"phylo"}.}
\item{x}{a vector of tip values for species; \code{names(x)} should be the species names.}
\item{vars}{a logical... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting.R
\name{plot1}
\alias{plot1}
\title{Plot 1}
\usage{
plot1(out, ..., residual = FALSE)
}
\arguments{
\item{out}{output of \link{alignME}.}
\item{...}{logical expression used for subsetting the data frames,
e.g. \code{name == "pERK1" ... | /man/plot1.Rd | permissive | dkaschek/blotIt2 | R | false | true | 478 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting.R
\name{plot1}
\alias{plot1}
\title{Plot 1}
\usage{
plot1(out, ..., residual = FALSE)
}
\arguments{
\item{out}{output of \link{alignME}.}
\item{...}{logical expression used for subsetting the data frames,
e.g. \code{name == "pERK1" ... |
#installing the lubridate and tidyverse libraries
if(!require("lubridate")) install.packages("lubridate")
if(!require("tidyverse")) install.packages("tidyverse")
#adding libraries needed
library(tidyverse)
library(lubridate)
library(RColorBrewer)
#importing the annual temperatures of Bangalore from year 1881 to 2019
... | /Projects/Self Study Project/Visualization Warming Stripes/Warming_Stripes_Script.R | no_license | bharatikandakumar/Data-Visualization | R | false | false | 2,160 | r | #installing the lubridate and tidyverse libraries
if(!require("lubridate")) install.packages("lubridate")
if(!require("tidyverse")) install.packages("tidyverse")
#adding libraries needed
library(tidyverse)
library(lubridate)
library(RColorBrewer)
#importing the annual temperatures of Bangalore from year 1881 to 2019
... |
\name{MonophylyData}
\docType{data}
\alias{MonophylyData}
\alias{Ericactree}
\alias{Ericactribes}
\alias{Ericacsubfams}
\title{
Example dataset for the package MonoPhy.
}
\description{
Example dataset for the package MonoPhy. One phylogeny and two custom taxonomy files.
}
\usage{
data(Ericactree)
data(Eri... | /man/MonophylyData.Rd | no_license | cran/MonoPhy | R | false | false | 1,326 | rd | \name{MonophylyData}
\docType{data}
\alias{MonophylyData}
\alias{Ericactree}
\alias{Ericactribes}
\alias{Ericacsubfams}
\title{
Example dataset for the package MonoPhy.
}
\description{
Example dataset for the package MonoPhy. One phylogeny and two custom taxonomy files.
}
\usage{
data(Ericactree)
data(Eri... |
#' Discrete scale.
#'
#' @param x vector of discrete values to scale
#' @param palette aesthetic palette to use
#' @param na.value aesthetic to use for missing values
#' @export
#' @examples
#' with(mtcars, plot(disp, mpg, pch = 20, cex = 3,
#' col = dscale(factor(cyl), brewer_pal())))
dscale <- function(x, palette, ... | /R/scale-discrete.r | no_license | LluisRamon/scales | R | false | false | 1,458 | r | #' Discrete scale.
#'
#' @param x vector of discrete values to scale
#' @param palette aesthetic palette to use
#' @param na.value aesthetic to use for missing values
#' @export
#' @examples
#' with(mtcars, plot(disp, mpg, pch = 20, cex = 3,
#' col = dscale(factor(cyl), brewer_pal())))
dscale <- function(x, palette, ... |
\name{simulate.mclogit}
\alias{simulate.mclogit}
\alias{simulate.mblogit}
\alias{simulate.mmclogit}
\alias{simulate.mmblogit}
\title{
Simulating responses from baseline-category and conditional logit models
}
\description{
The \code{simulate()} methods allow to simulate responses from models
fitted with \code{mcl... | /pkg/man/simulate.Rd | no_license | melff/mclogit | R | false | false | 3,365 | rd | \name{simulate.mclogit}
\alias{simulate.mclogit}
\alias{simulate.mblogit}
\alias{simulate.mmclogit}
\alias{simulate.mmblogit}
\title{
Simulating responses from baseline-category and conditional logit models
}
\description{
The \code{simulate()} methods allow to simulate responses from models
fitted with \code{mcl... |
# set working directory
setwd("C://SAProject")
library(MASS)
library(ggplot2)
library(scales)
library(gridExtra)
library(e1071)
library(caret)
library(modelr)
########################### NAIVE BAYES#########################################################################3
mushroomTrain <- read.csv(file="C:\\SAProjec... | /P3.R | no_license | ashishkhareiitr/projects | R | false | false | 3,069 | r | # set working directory
setwd("C://SAProject")
library(MASS)
library(ggplot2)
library(scales)
library(gridExtra)
library(e1071)
library(caret)
library(modelr)
########################### NAIVE BAYES#########################################################################3
mushroomTrain <- read.csv(file="C:\\SAProjec... |
datafile = file("household_power_consumption.txt")
datatbl <- read.table(text = grep("^[1,2]/2/2007", readLines(datafile), value = TRUE),
col.names = c("Date", "Time", "Global_active_power", "Global_reactive_power",
"Voltage", "Global_intensity",
"Sub_m... | /plot3.R | no_license | rhchohan/ExData_Plotting1 | R | false | false | 1,093 | r | datafile = file("household_power_consumption.txt")
datatbl <- read.table(text = grep("^[1,2]/2/2007", readLines(datafile), value = TRUE),
col.names = c("Date", "Time", "Global_active_power", "Global_reactive_power",
"Voltage", "Global_intensity",
"Sub_m... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/py-classes.R
\name{\%py_class\%}
\alias{\%py_class\%}
\title{Make a python class constructor}
\usage{
spec \%py_class\% body
}
\arguments{
\item{spec}{a bare symbol \code{MyClassName}, or a call \code{MyClassName(SuperClass)}}
\item{body}{an... | /man/grapes-py_class-grapes.Rd | no_license | PawanRamaMali/keras | R | false | true | 1,012 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/py-classes.R
\name{\%py_class\%}
\alias{\%py_class\%}
\title{Make a python class constructor}
\usage{
spec \%py_class\% body
}
\arguments{
\item{spec}{a bare symbol \code{MyClassName}, or a call \code{MyClassName(SuperClass)}}
\item{body}{an... |
# make a app that ahs a slider bar and that takes a headline for the slider bar from the user
#and plots a histogram of random numbers (as many numbers as the input from slider bar)
#ui.R
library(shiny)
fluidPage(
sliderInput("num","choose the number",1,100,20),
plotOutput("hist"),
textInput("text","Enter the... | /shiny2.R | no_license | rshankar86/R-Shiny | R | false | false | 488 | r | # make a app that ahs a slider bar and that takes a headline for the slider bar from the user
#and plots a histogram of random numbers (as many numbers as the input from slider bar)
#ui.R
library(shiny)
fluidPage(
sliderInput("num","choose the number",1,100,20),
plotOutput("hist"),
textInput("text","Enter the... |
#Simulating LI data to check on correlation patterns
#Started DVM Bishop, 25th October 2017
library(Hmisc) #for correlations
##########################################################################
#check how many combinations of possible tasks
#(This is separate from rest of script -just to confirm how many pos... | /simulating correlations for tasks.R | no_license | p1981thompson/laterality_simulations | R | false | false | 4,775 | r | #Simulating LI data to check on correlation patterns
#Started DVM Bishop, 25th October 2017
library(Hmisc) #for correlations
##########################################################################
#check how many combinations of possible tasks
#(This is separate from rest of script -just to confirm how many pos... |
\alias{gtkCellViewNewWithText}
\name{gtkCellViewNewWithText}
\title{gtkCellViewNewWithText}
\description{Creates a new \code{\link{GtkCellView}} widget, adds a \code{\link{GtkCellRendererText}}
to it, and makes its show \code{text}.}
\usage{gtkCellViewNewWithText(text)}
\arguments{\item{\verb{text}}{the text to displa... | /RGtk2/man/gtkCellViewNewWithText.Rd | no_license | lawremi/RGtk2 | R | false | false | 516 | rd | \alias{gtkCellViewNewWithText}
\name{gtkCellViewNewWithText}
\title{gtkCellViewNewWithText}
\description{Creates a new \code{\link{GtkCellView}} widget, adds a \code{\link{GtkCellRendererText}}
to it, and makes its show \code{text}.}
\usage{gtkCellViewNewWithText(text)}
\arguments{\item{\verb{text}}{the text to displa... |
findAllPrices <- function(dir,start=NA,end=NA,
havePrices=F,needToAcquire=F,isSubDir=T) {
isPlotInAdjCloses = FALSE
createDirs(dir,isSubDir=isSubDir)
res <- readSubDirs(dir,isSubDir=isSubDir)
isCacheEnabled <- TRUE
if(isSubDir) {
D1 <- res[[1]]
D2 <- res[[2]]
lab <- res[[3]]
D <-... | /backtesting/scripts/findAllPrices.R | permissive | kenhester/fsi-samples | R | false | false | 913 | r | findAllPrices <- function(dir,start=NA,end=NA,
havePrices=F,needToAcquire=F,isSubDir=T) {
isPlotInAdjCloses = FALSE
createDirs(dir,isSubDir=isSubDir)
res <- readSubDirs(dir,isSubDir=isSubDir)
isCacheEnabled <- TRUE
if(isSubDir) {
D1 <- res[[1]]
D2 <- res[[2]]
lab <- res[[3]]
D <-... |
# Exploratory Data Analysis - Final Course Project Submission
## Plot No. 2 - Have total emissions from PM2.5 decreased in the
## Baltimore City, Maryland (fips == "24510" from 1999 to 2008?
## Use the base plotting system to make a plot answering this
## question.
### Download data files, read data and remove tem... | /plot2.R | no_license | abdisgood/EDA_Final_Course_Project | R | false | false | 1,337 | r | # Exploratory Data Analysis - Final Course Project Submission
## Plot No. 2 - Have total emissions from PM2.5 decreased in the
## Baltimore City, Maryland (fips == "24510" from 1999 to 2008?
## Use the base plotting system to make a plot answering this
## question.
### Download data files, read data and remove tem... |
#' Is x around y?
#' @param x The value to test
#' @param y Value of interest
#' @param eps The threshold
#' @return TRUE if x is in the interval (y - eps, y + eps)
#' @export
#' @examples
#' around(2, 3, 0.5)
#' around(2, 3, 1)
around <- function(x, y, eps){
ifelse(x > y - eps,
ifelse(x < y + eps,
TRUE,
FA... | /R/around.R | no_license | davan690/brotools | R | false | false | 336 | r | #' Is x around y?
#' @param x The value to test
#' @param y Value of interest
#' @param eps The threshold
#' @return TRUE if x is in the interval (y - eps, y + eps)
#' @export
#' @examples
#' around(2, 3, 0.5)
#' around(2, 3, 1)
around <- function(x, y, eps){
ifelse(x > y - eps,
ifelse(x < y + eps,
TRUE,
FA... |
#'strawberries data
#'
#' @docType data
#'
#' @usage data(straw)
#'
#' @format CATA data. A data frame with 6 rows (the number of strawberries) and 1824 columns (the number of consumers (114) * the number of attributes (16)).
#' For each consumer,each attribute and eachb product, there is 1 if the attribute has... | /R/straw.R | no_license | cran/ClustBlock | R | false | false | 653 | r | #'strawberries data
#'
#' @docType data
#'
#' @usage data(straw)
#'
#' @format CATA data. A data frame with 6 rows (the number of strawberries) and 1824 columns (the number of consumers (114) * the number of attributes (16)).
#' For each consumer,each attribute and eachb product, there is 1 if the attribute has... |
#' High-Dimensional Regularized Discriminant Analysis (HDRDA)
#'
#' Given a set of training data, this function builds the HDRDA classifier from
#' Ramey, Stein, and Young (2014). Specially designed for small-sample,
#' high-dimensional data, the HDRDA classifier incorporates dimension reduction
#' and covariance-matri... | /R/hdrda.r | no_license | elephann/sparsediscrim | R | false | false | 18,120 | r | #' High-Dimensional Regularized Discriminant Analysis (HDRDA)
#'
#' Given a set of training data, this function builds the HDRDA classifier from
#' Ramey, Stein, and Young (2014). Specially designed for small-sample,
#' high-dimensional data, the HDRDA classifier incorporates dimension reduction
#' and covariance-matri... |
################################################################################
# title: 'Gscore processing PIPELINE'
# author: "CASTRO DAU Santiago Manuel"
# date: '17 NOV 2109'
# last modified: '19 FEB 2020'
# description:
# 'This pipeline takes the list of human protein coding genes and
# the Gscore data for each... | /data/GISTIC_processed_data/Gscore_precessing_pipeline.R | no_license | Sann5/SCNAs_Proyect | R | false | false | 5,392 | r | ################################################################################
# title: 'Gscore processing PIPELINE'
# author: "CASTRO DAU Santiago Manuel"
# date: '17 NOV 2109'
# last modified: '19 FEB 2020'
# description:
# 'This pipeline takes the list of human protein coding genes and
# the Gscore data for each... |
###########################
# Export rds to json data #
###########################
# pre
rm(list=ls())
graphics.off()
#libraries import
library(M4comp2018)
library(jsonlite)
library(tidyverse)
library(parallel)
library(anytime)
library(xts)
library(zoo)
# Read data
#m4_info_df <- read_csv("M4-info.txt")
# Requir... | /src/data/export_json_data.R | no_license | tm1611/M4-Statistical-Methods | R | false | false | 3,021 | r | ###########################
# Export rds to json data #
###########################
# pre
rm(list=ls())
graphics.off()
#libraries import
library(M4comp2018)
library(jsonlite)
library(tidyverse)
library(parallel)
library(anytime)
library(xts)
library(zoo)
# Read data
#m4_info_df <- read_csv("M4-info.txt")
# Requir... |
# Step 1: Loading and preprocessing the data
# 1. Load the data
data <- read.csv("../activity.csv")
head(data)
# 2. Process/transform the data (if necessary) into a format suitable for your analysis
data$date <- as.Date(data$date, "%Y-%m-%d")
# Step 2: What is mean total number of steps taken per day?
library(dplyr, w... | /Project_1.R | no_license | jk100a/RepData_PeerAssessment1 | R | false | false | 4,391 | r | # Step 1: Loading and preprocessing the data
# 1. Load the data
data <- read.csv("../activity.csv")
head(data)
# 2. Process/transform the data (if necessary) into a format suitable for your analysis
data$date <- as.Date(data$date, "%Y-%m-%d")
# Step 2: What is mean total number of steps taken per day?
library(dplyr, w... |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% 999.NonDocumentedObjects.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{Non-docum... | /man/Non-documented_objects.Rd | no_license | HenrikBengtsson/R.utils | R | false | false | 4,735 | rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% 999.NonDocumentedObjects.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{Non-docum... |
model{
#########################################################
# This is JAGS code to accompany Tredennick et al. 2013 #
#########################################################
#This code, and any updates to it, can also be found on GitHub:
#http://github.com/atredennick/-Git/tree/master/Savanna_Allometry
####... | /Savanna_Allometry/JAGS_HBmodel_SavannaAllometry.R | permissive | atredennick/-Git | R | false | false | 4,911 | r | model{
#########################################################
# This is JAGS code to accompany Tredennick et al. 2013 #
#########################################################
#This code, and any updates to it, can also be found on GitHub:
#http://github.com/atredennick/-Git/tree/master/Savanna_Allometry
####... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/amplify_operations.R
\name{amplify_start_deployment}
\alias{amplify_start_deployment}
\title{Start a deployment for manual deploy apps}
\usage{
amplify_start_deployment(appId, branchName, jobId, sourceUrl)
}
\arguments{
\item{appId}{[required... | /cran/paws.mobile/man/amplify_start_deployment.Rd | permissive | johnnytommy/paws | R | false | true | 985 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/amplify_operations.R
\name{amplify_start_deployment}
\alias{amplify_start_deployment}
\title{Start a deployment for manual deploy apps}
\usage{
amplify_start_deployment(appId, branchName, jobId, sourceUrl)
}
\arguments{
\item{appId}{[required... |
suma <- 0;
for(j in 10:400)
{
suma <- suma + j;
}
print('Suma de todos los numeros del 10 al 400: ');
print(suma);
print('Suma con la función SUM: ');
print(sum(10:400))
| /Actividad9/Punto2.R | no_license | Arias-Valeria/BigData | R | false | false | 175 | r | suma <- 0;
for(j in 10:400)
{
suma <- suma + j;
}
print('Suma de todos los numeros del 10 al 400: ');
print(suma);
print('Suma con la función SUM: ');
print(sum(10:400))
|
new.battleship.frame <- function() {
ret <- expand.grid(r=1:10, c=1:10)
ret$p1.ship <- rep(0,nrow(ret))
ret$p1.view <- rep(0,nrow(ret))
ret$p2.ship <- rep(0,nrow(ret))
ret$p2.view <- rep(0,nrow(ret))
}
| /R/new.battleship.frame.R | permissive | burrm/stemclub.battleship | R | false | false | 219 | r | new.battleship.frame <- function() {
ret <- expand.grid(r=1:10, c=1:10)
ret$p1.ship <- rep(0,nrow(ret))
ret$p1.view <- rep(0,nrow(ret))
ret$p2.ship <- rep(0,nrow(ret))
ret$p2.view <- rep(0,nrow(ret))
}
|
#' Imputation of ordered data by polytomous regression
#'
#' Imputes missing data in a categorical variable using polytomous regression
#' @aliases mice.impute.polr
#' @inheritParams mice.impute.pmm
#' @param nnet.maxit Tuning parameter for \code{nnet()}.
#' @param nnet.trace Tuning parameter for \code{nnet()}.
#' @par... | /R/mice.impute.polr.R | no_license | carpenitoThomas/mice | R | false | false | 4,560 | r | #' Imputation of ordered data by polytomous regression
#'
#' Imputes missing data in a categorical variable using polytomous regression
#' @aliases mice.impute.polr
#' @inheritParams mice.impute.pmm
#' @param nnet.maxit Tuning parameter for \code{nnet()}.
#' @param nnet.trace Tuning parameter for \code{nnet()}.
#' @par... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/show_config.R
\name{edit_config}
\alias{edit_config}
\title{Edit the default configuration file}
\usage{
edit_config(path = get_config())
}
\arguments{
\item{path}{A string giving the path to a configuration file. \code{NULL} defaults
to \cod... | /man/edit_config.Rd | permissive | 2DegreesInvesting/r2dii.utils | R | false | true | 867 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/show_config.R
\name{edit_config}
\alias{edit_config}
\title{Edit the default configuration file}
\usage{
edit_config(path = get_config())
}
\arguments{
\item{path}{A string giving the path to a configuration file. \code{NULL} defaults
to \cod... |
#' Twitter followers network
#'
#' Create a network of Twitter followers from a list of accounts
#'
#' @param x A list of screen names from whom the followers and following will be retreive
#' @param token A variable containing the twitter API credentials. If you used automatic_setup, you can put "twitter_token"
#' @pa... | /R/get_followers_network.R | no_license | epmrio/TwitterFollowersNetwork | R | false | false | 8,796 | r | #' Twitter followers network
#'
#' Create a network of Twitter followers from a list of accounts
#'
#' @param x A list of screen names from whom the followers and following will be retreive
#' @param token A variable containing the twitter API credentials. If you used automatic_setup, you can put "twitter_token"
#' @pa... |
##Processing XNAT-DATABASE-CHART into TIDY - DATA - FORM
##according to H. Wickhams "Tidy Data" framework
## mother function of all XNAT Tidy processing (XNAT_Tidy) which needs an input
## csv-file (converted from excel file into csv with ; as seperators) and an output
## name for saving the final dataframe into .R an... | /XNAT_Tidy_25062015.R | no_license | JosephKuchlingCharite/CSV_XNAT_Rcodes | R | false | false | 4,385 | r | ##Processing XNAT-DATABASE-CHART into TIDY - DATA - FORM
##according to H. Wickhams "Tidy Data" framework
## mother function of all XNAT Tidy processing (XNAT_Tidy) which needs an input
## csv-file (converted from excel file into csv with ; as seperators) and an output
## name for saving the final dataframe into .R an... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataDoc.R
\docType{data}
\name{NonlinearDFAsim}
\alias{NonlinearDFAsim}
\title{Simulated multi-subject time series based on a dynamic factor analysis model with nonlinear relations at the latent level}
\format{A data frame with 3000 row... | /man/NonlinearDFAsim.Rd | no_license | cran/dynr | R | false | true | 1,590 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataDoc.R
\docType{data}
\name{NonlinearDFAsim}
\alias{NonlinearDFAsim}
\title{Simulated multi-subject time series based on a dynamic factor analysis model with nonlinear relations at the latent level}
\format{A data frame with 3000 row... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kernel_Cubic.R
\docType{class}
\name{Cubic}
\alias{Cubic}
\title{Cubic Kernel R6 class}
\format{
\code{\link{R6Class}} object.
}
\value{
Object of \code{\link{R6Class}} with methods for fitting GP model.
}
\description{
Cubic Ker... | /man/Cubic.Rd | no_license | cran/GauPro | R | false | true | 7,642 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kernel_Cubic.R
\docType{class}
\name{Cubic}
\alias{Cubic}
\title{Cubic Kernel R6 class}
\format{
\code{\link{R6Class}} object.
}
\value{
Object of \code{\link{R6Class}} with methods for fitting GP model.
}
\description{
Cubic Ker... |
# -----------------------------------------------------------------------------
# ReverseTranslateAlgn
# 2020/05/13
# Ryan D. Crawford
# -----------------------------------------------------------------------------
#' Reverse Translate Alignment
#' @description
#' This function reads in a concatenated gene alignme... | /R/ReverseTranslateAlgn.R | no_license | wangdi2014/cognac | R | false | false | 2,964 | r | # -----------------------------------------------------------------------------
# ReverseTranslateAlgn
# 2020/05/13
# Ryan D. Crawford
# -----------------------------------------------------------------------------
#' Reverse Translate Alignment
#' @description
#' This function reads in a concatenated gene alignme... |
# - ----------------------------------------------------------------------- - #
# -
# -
# -
# - ----------------------------------------------------------------------- - #
#' @param level What administrative level to be used in the map c("county",
#' "municipality")
#' @param map Search path to .shp file ... | /R/sweden.R | no_license | maillot-jaune/playr | R | false | false | 710 | r | # - ----------------------------------------------------------------------- - #
# -
# -
# -
# - ----------------------------------------------------------------------- - #
#' @param level What administrative level to be used in the map c("county",
#' "municipality")
#' @param map Search path to .shp file ... |
#### Preamble ####
# Purpose: The dataset about all the divisions of the politicians in the data folder, and want to fix the classes and fill downwards and save it in outputs.
# Author: Rohan Alexander
# Email: rohan.alexander@anu.edu.au
# Last updated: 10 August 2018
# Prerequisites: You need to have the dataset of po... | /scripts/run_0_misc_helpers/clean_politicians_by_divisions.R | no_license | RohanAlexander/hansard | R | false | false | 1,338 | r | #### Preamble ####
# Purpose: The dataset about all the divisions of the politicians in the data folder, and want to fix the classes and fill downwards and save it in outputs.
# Author: Rohan Alexander
# Email: rohan.alexander@anu.edu.au
# Last updated: 10 August 2018
# Prerequisites: You need to have the dataset of po... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/profile.R
\name{profile.glmmTMB}
\alias{profile.glmmTMB}
\alias{confint.profile.glmmTMB}
\title{Compute likelihood profiles for a fitted model}
\usage{
\method{profile}{glmmTMB}(
fitted,
parm = NULL,
level_max = 0.99,
npts = 8,
step... | /glmmTMB/man/profile.glmmTMB.Rd | no_license | rfinger/glmmTMB | R | false | true | 3,349 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/profile.R
\name{profile.glmmTMB}
\alias{profile.glmmTMB}
\alias{confint.profile.glmmTMB}
\title{Compute likelihood profiles for a fitted model}
\usage{
\method{profile}{glmmTMB}(
fitted,
parm = NULL,
level_max = 0.99,
npts = 8,
step... |
library(tabulizer)
library(dplyr)
# Location of WARN notice pdf file
# location <- 'http://www.edd.ca.gov/jobs_and_training/warn/WARN-Report-for-7-1-2016-to-10-25-2016.pdf'
location = "~/model_data/warn_report.pdf"
# Extract the table
out <- extract_tables(location)
final <- do.call(rbind, out[-length(out)])
# table... | /Rfile/201802/0218_extract_table_from_pdf.R | no_license | yuanqingye/interestingR | R | false | false | 1,164 | r | library(tabulizer)
library(dplyr)
# Location of WARN notice pdf file
# location <- 'http://www.edd.ca.gov/jobs_and_training/warn/WARN-Report-for-7-1-2016-to-10-25-2016.pdf'
location = "~/model_data/warn_report.pdf"
# Extract the table
out <- extract_tables(location)
final <- do.call(rbind, out[-length(out)])
# table... |
#' A colorblind-friendly palette
#' @description The character vector of colorblind-friendly palette
#' @docType data
#' @usage data(cbp)
#' @format the length of a vector, eight.
#' @keywords datasets
#' @examples # Confirm color code.
#' data(cbp)
#' barplot(setNames(rep(1,8), cbp),
#' border = cbp, col=cbp, yaxt="n... | /R/cbp.R | permissive | shkonishi/rskodat | R | false | false | 338 | r | #' A colorblind-friendly palette
#' @description The character vector of colorblind-friendly palette
#' @docType data
#' @usage data(cbp)
#' @format the length of a vector, eight.
#' @keywords datasets
#' @examples # Confirm color code.
#' data(cbp)
#' barplot(setNames(rep(1,8), cbp),
#' border = cbp, col=cbp, yaxt="n... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\name{pkgconfig}
\alias{pkgconfig}
\title{Compiler arguments for using Rhdf5lib}
\usage{
pkgconfig(opt = c("PKG_CXX_LIBS", "PKG_C_LIBS", "PKG_CXX_HL_LIBS",
"PKG_C_HL_LIBS"))
}
\arguments{
\item{opt}{A scalar character from the list of... | /man/pkgconfig.Rd | no_license | RGLab/Rhdf5lib | R | false | true | 900 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\name{pkgconfig}
\alias{pkgconfig}
\title{Compiler arguments for using Rhdf5lib}
\usage{
pkgconfig(opt = c("PKG_CXX_LIBS", "PKG_C_LIBS", "PKG_CXX_HL_LIBS",
"PKG_C_HL_LIBS"))
}
\arguments{
\item{opt}{A scalar character from the list of... |
library("shiny")
function(input, output, session) {
output$plot1 <- renderPlot({
plot(head(iris,input$irisnum))
})
# Generate an HTML table view of the data
output$table <- renderTable({
data.frame(x=head(iris,input$irisnum))
})
}
| /server.R | no_license | hanvan/homework11 | R | false | false | 264 | r | library("shiny")
function(input, output, session) {
output$plot1 <- renderPlot({
plot(head(iris,input$irisnum))
})
# Generate an HTML table view of the data
output$table <- renderTable({
data.frame(x=head(iris,input$irisnum))
})
}
|
library("ggplot2")
library("Seurat")
library("ggpubr")
dir <- "PATH/PGC_enhancer_priming"
#Load complete UMI count matrix and define cell stages
Expression <- read.csv(paste0(dir,"/scRNAseq/UMI_counts.csv"), row.names = 1)
ESC <- Expression[,c(grep(".1", names(Expression)))]
SL <- Expression[,c(grep(".7", names(Expr... | /scRNAseq/DE_PGCLC_genes.R | no_license | ToreBle/PGC_enhancer_priming | R | false | false | 5,628 | r | library("ggplot2")
library("Seurat")
library("ggpubr")
dir <- "PATH/PGC_enhancer_priming"
#Load complete UMI count matrix and define cell stages
Expression <- read.csv(paste0(dir,"/scRNAseq/UMI_counts.csv"), row.names = 1)
ESC <- Expression[,c(grep(".1", names(Expression)))]
SL <- Expression[,c(grep(".7", names(Expr... |
############################# LSTM Model ##################################################
## Function LSTM.test.training
## Parameters:
## list: data input
## epochs: number of epochs
## units: number of units within the cell
library(keras)
library(yardstick)
library(dplyr)
LSTM.test.training<-function(list,epo... | /LSTM Model.R | no_license | oordenesg/deep_learning_research_project | R | false | false | 5,378 | r |
############################# LSTM Model ##################################################
## Function LSTM.test.training
## Parameters:
## list: data input
## epochs: number of epochs
## units: number of units within the cell
library(keras)
library(yardstick)
library(dplyr)
LSTM.test.training<-function(list,epo... |
setStage("removeBaseline", "Remove baseline noise", "cpSample")
setProtocol("median", "Median",
representation(mzrad = "numeric", scanrad = "numeric"),
removeBaseline.median, "removeBaseline")
setProtocol("rbe", "Robust Baseline Estimation",
representation(span = "numeric", runs = ... | /R/removeBaseline-pipes.R | no_license | tengfei/chromatoplots | R | false | false | 397 | r | setStage("removeBaseline", "Remove baseline noise", "cpSample")
setProtocol("median", "Median",
representation(mzrad = "numeric", scanrad = "numeric"),
removeBaseline.median, "removeBaseline")
setProtocol("rbe", "Robust Baseline Estimation",
representation(span = "numeric", runs = ... |
library(miceadds)
### Name: datlist2mids
### Title: Converting a List of Multiply Imputed Data Sets into a 'mids'
### Object
### Aliases: datalist2mids datlist2mids
### Keywords: mids mice utility function
### ** Examples
#############################################################################
# EXAMPLE 1: I... | /data/genthat_extracted_code/miceadds/examples/datalist2mids.Rd.R | no_license | surayaaramli/typeRrh | R | false | false | 2,369 | r | library(miceadds)
### Name: datlist2mids
### Title: Converting a List of Multiply Imputed Data Sets into a 'mids'
### Object
### Aliases: datalist2mids datlist2mids
### Keywords: mids mice utility function
### ** Examples
#############################################################################
# EXAMPLE 1: I... |
#
gen.aruma.wge<-function(n,phi=0,theta=0,d=0,s=0,lambda=0,vara=1, plot=TRUE,sn=0)
{
#
# n is the realization length (x(t), t=1, ..., n NOTE: The generated model is based on zero # mean. To generate a # realization
# with mean mu=10, for example, simply compute y(t)=x(t)+10
# phi is a vector of AR pa... | /R/gen.aruma.wge.R | no_license | cran/tswge | R | false | false | 4,101 | r |
#
gen.aruma.wge<-function(n,phi=0,theta=0,d=0,s=0,lambda=0,vara=1, plot=TRUE,sn=0)
{
#
# n is the realization length (x(t), t=1, ..., n NOTE: The generated model is based on zero # mean. To generate a # realization
# with mean mu=10, for example, simply compute y(t)=x(t)+10
# phi is a vector of AR pa... |
######
#Load utilities data
utilities.df <- read.csv(file="utilities.csv", header = TRUE)
summary(utilities.df)
#Do a scatter plot Fuel Cost vs. Sales
plot(utilities.df$Fuel_Cost ~ utilities.df$Sales, xlab ="Sales", ylab = "Fuel_Cost")
text(utilities.df$Sales+0.1, utilities.df$Fuel_Cost+0.1, labels = utilitie... | /Cluster in class.R | no_license | wenbinhuang9/data-mining-examples | R | false | false | 4,831 | r | ######
#Load utilities data
utilities.df <- read.csv(file="utilities.csv", header = TRUE)
summary(utilities.df)
#Do a scatter plot Fuel Cost vs. Sales
plot(utilities.df$Fuel_Cost ~ utilities.df$Sales, xlab ="Sales", ylab = "Fuel_Cost")
text(utilities.df$Sales+0.1, utilities.df$Fuel_Cost+0.1, labels = utilitie... |
library(tidyverse)
library(sf)
library(lubridate)
library(stars)
# library(raster)
| /pseudo_path.r | no_license | rgzn/resistance | R | false | false | 84 | r | library(tidyverse)
library(sf)
library(lubridate)
library(stars)
# library(raster)
|
library(data.table)
library(dplyr)
#read datasets
# prevax<-fread("output/input_prevax.csv.gz")
# vax<-fread("output/input_vax.csv.gz")
# unvax<-fread("output/input_unvax.csv.gz")
#after preprocessing data
prevax<-readr::read_rds("output/input_prevax.rds")
vax<-readr::read_rds("output/input_vax.rds")
unvax<-readr::... | /analysis/descriptives/intitial_input_counts.R | permissive | opensafely/post-covid-neurodegenerative | R | false | false | 1,213 | r | library(data.table)
library(dplyr)
#read datasets
# prevax<-fread("output/input_prevax.csv.gz")
# vax<-fread("output/input_vax.csv.gz")
# unvax<-fread("output/input_unvax.csv.gz")
#after preprocessing data
prevax<-readr::read_rds("output/input_prevax.rds")
vax<-readr::read_rds("output/input_vax.rds")
unvax<-readr::... |
# First script used to model repBias with demBias, undecideds using JAGS
# demBias modeled with t-distribution, center determined by pollster + year (with interactions)
# repBias modeled with ANCOVA response to demBias and undecideds
#
# Notes by Jake 8/10/20
# Let us predict rebBias with demBias.
source("DBDA2E-u... | /RScripts/Archive/2020/August2020-RepBiasModeling.R | no_license | jrpriceUPS/UPS-election-forecasting | R | false | false | 15,219 | r | # First script used to model repBias with demBias, undecideds using JAGS
# demBias modeled with t-distribution, center determined by pollster + year (with interactions)
# repBias modeled with ANCOVA response to demBias and undecideds
#
# Notes by Jake 8/10/20
# Let us predict rebBias with demBias.
source("DBDA2E-u... |
#' @title Intelligently choose the correct color palette
#' @description Picks between 3 different color palettes based on number of
#' categories to visualize. For <13 categories, uses Set1, Paired, & Set3
#' from RColorBrewer. For More than 12 categories, builds a HCL color
#' space-based palette.
#' @param n N... | /R/dygraphs.R | no_license | wikimedia/wikimedia-discovery-polloi | R | false | false | 5,938 | r | #' @title Intelligently choose the correct color palette
#' @description Picks between 3 different color palettes based on number of
#' categories to visualize. For <13 categories, uses Set1, Paired, & Set3
#' from RColorBrewer. For More than 12 categories, builds a HCL color
#' space-based palette.
#' @param n N... |
########################################################
### LOAD THE DATA
########################################################
loadData <- function() {
#Read the 5 first lines, to guess the class of each column
dataTmp <- read.table("household_power_consumption.txt",
header=... | /plot3.R | no_license | victorm-gonzalez/ExData_Plotting1 | R | false | false | 1,914 | r | ########################################################
### LOAD THE DATA
########################################################
loadData <- function() {
#Read the 5 first lines, to guess the class of each column
dataTmp <- read.table("household_power_consumption.txt",
header=... |
library(tidyverse)
library(FishLife)
library(spasm)
library(ggridges)
library(gganimate)
library(raster)
#library(rgl)
#library(surrogate)
library(landscapetools)
source('~/GitHub/spasm_azores/R/find_L_az.R')
source('R/sim_fishery_az.R')
source('R/plot-spasm_az.R')
source('R/get_traits_az.R')
source('R/create_fish_az.... | /mpa_scen_wrapper.R | permissive | lennon-thomas/spasm_azores | R | false | false | 6,175 | r | library(tidyverse)
library(FishLife)
library(spasm)
library(ggridges)
library(gganimate)
library(raster)
#library(rgl)
#library(surrogate)
library(landscapetools)
source('~/GitHub/spasm_azores/R/find_L_az.R')
source('R/sim_fishery_az.R')
source('R/plot-spasm_az.R')
source('R/get_traits_az.R')
source('R/create_fish_az.... |
.onLoad = function(libname, pkgname) { return(invisible()) }
.onUnload = function(libpath){
clean_up_all(); set_prompt()
return(invisible())}
set_prompt = function(){
if(get_conn_info("status.ok"))
options(prompt = paste0("db:", get_conn_info("dbname"), "> "))
else
options(prompt = "> ")}
#' Convert ... | /R/utils.R | no_license | keittlab/rpg | R | false | false | 6,584 | r | .onLoad = function(libname, pkgname) { return(invisible()) }
.onUnload = function(libpath){
clean_up_all(); set_prompt()
return(invisible())}
set_prompt = function(){
if(get_conn_info("status.ok"))
options(prompt = paste0("db:", get_conn_info("dbname"), "> "))
else
options(prompt = "> ")}
#' Convert ... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Alpha_Testing_Function.R
\name{ctq}
\alias{ctq}
\title{Calculate Quantiles}
\usage{
ctq(x, fftile)
}
\arguments{
\item{x}{vector to quantiled}
\item{fftile}{integer number of fractiles to use in spliting data}
}
\value{
retval
}
\description... | /man/ctq.Rd | no_license | twood886/TWUtils | R | false | true | 401 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Alpha_Testing_Function.R
\name{ctq}
\alias{ctq}
\title{Calculate Quantiles}
\usage{
ctq(x, fftile)
}
\arguments{
\item{x}{vector to quantiled}
\item{fftile}{integer number of fractiles to use in spliting data}
}
\value{
retval
}
\description... |
## Put comments here that give an overall description of what your
## functions do
## These functions create a object that stores a numeric matrix and cache's its inverse.
## Write a short comment describing this function
## This function creates a special matrix
makeCacheMatrix <- function(x = matrix()) {
minv <- NU... | /cachematrix.R | no_license | alineriquetti/ProgrammingAssignment2 | R | false | false | 1,366 | r | ## Put comments here that give an overall description of what your
## functions do
## These functions create a object that stores a numeric matrix and cache's its inverse.
## Write a short comment describing this function
## This function creates a special matrix
makeCacheMatrix <- function(x = matrix()) {
minv <- NU... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ordiplot.gllvm.R
\name{ordiplot.gllvm}
\alias{ordiplot.gllvm}
\alias{ordiplot}
\title{Plot latent variables from gllvm model}
\usage{
\method{ordiplot}{gllvm}(object, biplot = FALSE, ind.spp = NULL,
alpha = 0.5, main = NULL, which.lvs = c(1... | /man/ordiplot.gllvm.Rd | no_license | pbotter42/gllvm-1 | R | false | true | 2,999 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ordiplot.gllvm.R
\name{ordiplot.gllvm}
\alias{ordiplot.gllvm}
\alias{ordiplot}
\title{Plot latent variables from gllvm model}
\usage{
\method{ordiplot}{gllvm}(object, biplot = FALSE, ind.spp = NULL,
alpha = 0.5, main = NULL, which.lvs = c(1... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FitModels.R
\name{FitModels}
\alias{FitModels}
\title{Fit regression model to performance data}
\usage{
FitModels(X, Nmodels, model.order = 3, model.type = c("linear", "quantile",
"lasso", "ridge"), Yij.norm, ...)
}
\arguments{
\item{X}{dat... | /man/FitModels.Rd | no_license | fcampelo/MetaTuner | R | false | true | 1,237 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FitModels.R
\name{FitModels}
\alias{FitModels}
\title{Fit regression model to performance data}
\usage{
FitModels(X, Nmodels, model.order = 3, model.type = c("linear", "quantile",
"lasso", "ridge"), Yij.norm, ...)
}
\arguments{
\item{X}{dat... |
# Compute dot product
a <- readRDS("a.rds")
b <- readRDS("b.rds")
saveRDS( sum( a*b ), "result.rds" ) | /R/condor-dot-product.R | permissive | sverchkov/metabolite-and-protein-network-from-knockouts | R | false | false | 101 | r | # Compute dot product
a <- readRDS("a.rds")
b <- readRDS("b.rds")
saveRDS( sum( a*b ), "result.rds" ) |
library(dplyr)
ee_gis <- read.csv("C:/Users/wenjing.xu/Google Drive/STUDENTS/SPUR_Fall2019/SPUR-Panther-Fall2019/Analysis/ExtractioInProcess/ALLPTS_Arc_EE_organized.csv")
gis <- read.csv("C:/Users/wenjing.xu/Google Drive/STUDENTS/SPUR_Fall2019/SPUR-Panther-Fall2019/Analysis/ExtractioInProcess/All_Pts_w_GIS_organize... | /0Combine_gis_EE.R | no_license | wx-ecology/FLPanther | R | false | false | 1,249 | r | library(dplyr)
ee_gis <- read.csv("C:/Users/wenjing.xu/Google Drive/STUDENTS/SPUR_Fall2019/SPUR-Panther-Fall2019/Analysis/ExtractioInProcess/ALLPTS_Arc_EE_organized.csv")
gis <- read.csv("C:/Users/wenjing.xu/Google Drive/STUDENTS/SPUR_Fall2019/SPUR-Panther-Fall2019/Analysis/ExtractioInProcess/All_Pts_w_GIS_organize... |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/practice.R
\docType{import}
\name{reexports}
\alias{reexports}
\alias{here}
\title{Objects exported from other packages}
\keyword{internal}
\description{
These objects are imported from other packages. Follow the links
below to see their docu... | /man/reexports.Rd | no_license | jameslairdsmith/stenor | R | false | true | 387 | rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/practice.R
\docType{import}
\name{reexports}
\alias{reexports}
\alias{here}
\title{Objects exported from other packages}
\keyword{internal}
\description{
These objects are imported from other packages. Follow the links
below to see their docu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.